W scan: Difference between revisions
(w_scan link was broken. Use the one obtained from http://www.vdr-wiki.de/wiki/index.php/W_scan) |
(obsolescence notice && hint to successor. Also update link to last version.) |
||
Line 1: | Line 1: | ||
{{lowercase|w_scan}} |
{{lowercase|w_scan}} |
||
''w_scan'' is a small command line utility used to perform [[Frequency scan|frequency scan]]s for [[DVB]] and [[ATSC]] transmissions. It is not included in [[LinuxTV dvb-apps]], but complements the two [[Frequency scan|frequency scanning]] utilities available through [[LinuxTV dvb-apps]], [[Dvbscan|dvbscan]] and [[Scan|scan]]. |
''w_scan'' is a small command line utility used to perform [[Frequency scan|frequency scan]]s for [[DVB]] and [[ATSC]] transmissions. It is not included in [[LinuxTV dvb-apps]], but complements the two [[Frequency scan|frequency scanning]] utilities available through [[LinuxTV dvb-apps]], [[Dvbscan|dvbscan]] and [[Scan|scan]]. It is meanwhile replaced by the newer tool ''w_scan_cpp'' with similar syntax. |
||
''w_scan'' is capable of directly creating channels.conf files as well as initial tuning data for [[Scan|scan]]. |
''w_scan'' is capable of directly creating channels.conf files as well as initial tuning data for [[Scan|scan]]. |
||
==Obtaining w_scan== |
==Obtaining w_scan== |
||
''w_scan'' can be obtained [https://www.gen2vdr.de/wirbel/ |
The last ''w_scan'' version can be still obtained [https://www.gen2vdr.de/wirbel/w_scan_cpp/index2.html here]. There will be no further updates. |
||
==Documentation== |
==Documentation== |
||
Line 129: | Line 129: | ||
==Also See== |
==Also See== |
||
* [[Frequency_scan#Comparison_of_DVB_frequency_scanning_commandline_utilities|Comparison of the scanning utilities]]. |
* [[Frequency_scan#Comparison_of_DVB_frequency_scanning_commandline_utilities|Comparison of the scanning utilities]]. |
||
* man w_scan |
* [https://www.mankier.com/1/w_scan man w_scan] |
||
* [[scan]] |
* [[scan]] |
||
* [[dvbscan]] |
* [[dvbscan]] |
||
==External Links== |
==External Links== |
||
* [https://www.gen2vdr.de/wirbel/ |
* [https://www.gen2vdr.de/wirbel/w_scan_cpp/index2.html w_scan_cpp Homepage, including old w_scan download (de)] |
||
[[Category:Apps & Utilities]] |
[[Category:Apps & Utilities]] |
Revision as of 08:31, 1 April 2021
w_scan is a small command line utility used to perform frequency scans for DVB and ATSC transmissions. It is not included in LinuxTV dvb-apps, but complements the two frequency scanning utilities available through LinuxTV dvb-apps, dvbscan and scan. It is meanwhile replaced by the newer tool w_scan_cpp with similar syntax.
w_scan is capable of directly creating channels.conf files as well as initial tuning data for scan.
Obtaining w_scan
The last w_scan version can be still obtained here. There will be no further updates.
Documentation
Detailed information can be found in the w_scan man page (i.e. from a console, run man w_scan
). Additionally, running w_scan with the -h parameter will produce an output that provides a summary of it's main command line options.
w_scan [options...] >> channels.conf
In general, when using w_scan you should at least specify three parameters: frontend type, country/satellite and output format. The following table summarizes the basic command line essentials for using w_scan.
Parameter | Argument | Description & Options |
---|---|---|
Frontend Type | -fType |
a = ATSC (North America, cable and terrestrial) NOTE:
|
ATSC Type | -AType |
(ignored for DVB-C and DVB-T) |
Country ID | -cID |
(mandatory for ATSC, DVB-C, DVB-T/T2) |
Satellite ID | -sID |
(mandatory for DVB-S/S2) |
Output Format | -Format |
X = czap/tzap/xine channels.conf |
VDR version | -oN |
2 = vdr-2.x |
Help Level | -Level |
h = basic help |
Some working examples, cobbled together from the basics given in the above table, are provided below. Note: Experts or experienced users may use some of the other w_scan options available, but this is not recommended. (For example, 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
- ATSC support requires a w_scan version >= 20080815
- ATSC support was integrated in vdr-1.7.14, VDR output needs '-o 7'
- DVB-S/S2 support requires a w_scan version >= 20090504
- DVB-T2 support requires a w_scan version >= 20120111 (choose 20140727 or newer.)
Scanning ATSC VSB (United States, Over-the-Air)
$ w_scan -fa -A1 -c US -X
Scanning ATSC QAM annex B (United States, digital cable TV)
$ w_scan -fa -A2 -c US -X
Scanning DVB-T/T2 (Germany, Over-the-Air, VDR output)
$ w_scan -ft -c DE
Scanning DVB-S/S2 (Astra 19.2east, vdr-1.7.x)
$ w_scan -fs -s S19E2 -o 7
Scanning DVB-S (Thor 0.8west, vdr-2.x)
$ w_scan -fs -s S0W8
Scanning DVB-S (Hotbird, vdr-2.x, 4-port DiSeqC switch, hotbird at port 3)
$ w_scan -fs -s S13E0 -D2c
Note: ports are counting from '0'.
Scanning DVB-S/S2 (Astra 19.2east, vdr-2.x, SCR/EN50494 @ CH0/1076MHz/Satpos A)
$ w_scan -fs -s S19E2 -u 0:1400:A Note: Channel ID (0..7) needs to fit userband frequency. w_scan >=20140102.
Generating dvbscan tuning data
Exactly as above, just specify output format dvbscan with "-x":
$ w_scan -f <FRONTEND_TYPE> {-c <COUNTRY>,-s <SATELLITE>} -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.
Generating c/s/tzap tuning data
Exactly as above, just specify output format zap/czap/xine with "-X" (uppercase X):
$ w_scan -f <FRONTEND_TYPE> {-c <COUNTRY>,-s <SATELLITE>} -X >cc-Ttttt
Defining output charset
$ w_scan -f <FRONTEND_TYPE> -C <CHARSET> ...
Use 'iconv --list' for a list of possible output charsets, usually something like 'utf-8', 'iso8859-15'. Needs 20110410 or higher.