W scan: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
m (add link and minor description improvement)
m (minor fixes)
Line 1: Line 1:
{{lowercase|w_scan}}
{{lowercase|w_scan}}


"w_scan" is a small command line utility used to perform [[Frequency scan]]s for DVB and ATSC transmissions. It may create directly channels.conf files as well as creating initial tuning data for [[Scan|scan]] which is contained in the [[LinuxTV dvb-apps]].
"w_scan" is a small command line utility used to perform [[Frequency scan|frequency scan]]s for DVB and ATSC transmissions. It is capable of directly creating channels.conf files as well as initial tuning data for [[Scan|scan]] which is contained in the [[LinuxTV dvb-apps]].


==Obtaining w_scan==
==Obtaining w_scan==

Revision as of 03:21, 20 April 2009

"w_scan" is a small command line utility used to perform frequency scans for DVB and ATSC transmissions. It is capable of directly creating channels.conf files as well as initial tuning data for scan which is contained in the LinuxTV dvb-apps.

Obtaining w_scan

You can get w_scan here.

Documentation

w_scan doesn't have a man page. However, if you run it with the -h parameter, the output provides a summary of its command line options.

w_scan [options...] >> channels.conf

If you try to use w_scan you should at least specify two parameters: frontend type and output format.
If not specified w_scan defaults to do a scan for European terrestrial DVB-T with output format VDR channels.conf.

Parameter Description
-f Type

Frontend Type
a = ATSC (North America, cable and terrestrial)
c = DVB-C (Europe, cable)
t = DVB-T (Europe, terrestrial = default)
NOTE: ATSC support needs w_scan >= 20080815

-A Type

ATSC Type (ignored for DVB-C and DVB-T)
1 = VSB ("Over-the-Air)"
2 = QAM annex B ("cable TV")
3 = both of them

-X

czap/tzap/xine channels.conf

-x

"initial tuning data" for Scan

-k

channels.dvb for Kaffeine

Experts or experienced users may use some of the other options, but this is not recommended.

Note: w_scan searches /dev/dvb/adapterX/frontendY for DVB/ATSC cards matching to option "-f", therefore specifying the adapter "-a XX" is not recommended.

Examples

NOTE: ATSC support needs w_scan >= 20080815

Scanning ATSC VSB (North America, Over-the-Air)

$ w_scan -fa -A1 -X

Scanning ATSC QAM annex B (North America, digital cable TV)

$ w_scan -fa -A2 -X

Scanning DVB-T (Europe, Over-the-Air)

$ w_scan -ft -X

Scanning DVB-C (Europe, digital cable TV)

$ w_scan -fc -X

Generating dvbscan tuning data

Exactly as above, just specify output format dvbscan with "-x":

$ w_scan -f <FRONTEND_TYPE> -x >cc-Ttttt

If you choose to create an initial scan file (and you know the name of your local transmitter or cable provider), you can send the resulting file to the dvb mailing list after checking that it hasn't already been posted or added to the scan directory in the dvb-apps repository.

External Links