W scan: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
m (add link and minor description improvement)
(redirect to w_scan_cpp. Who still really want it, should know about newer and maintained version.)
 
(33 intermediate revisions by 6 users not shown)
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 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]].


==Obtaining w_scan==
==Obtaining w_scan==
You can get w_scan [http://wirbel.htpc-forum.de/w_scan/index2.html here].
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==
''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.
Detailed information can be found in the ''w_scan'' man page (i.e. from a console, run <code>man w_scan</code>). Additionally, running ''w_scan'' with the -h parameter will produce an output that provides a summary of it's main command line options.
<pre>w_scan [options...] >> channels.conf</pre>
<pre>w_scan [options...] >> channels.conf</pre>
'''If you try to use w_scan you should at least specify two parameters: frontend type and output format.'''<br>
If not specified w_scan defaults to do a scan for European terrestrial DVB-T with output format [http://www.cadsoft.de/vdr/ VDR channels.conf].

{| border=1 cellpadding=1 cellspacing=0
|- bgcolor=#efefef
!Parameter
!Description
|-
| '''-f Type'''||
'''Frontend Type'''<br>
a = ATSC (North America, cable and terrestrial)<br>
c = DVB-C (Europe, cable)<br>
t = DVB-T (Europe, terrestrial = default)<br>
''NOTE: ATSC support needs w_scan >= 20080815''
|-
| '''-A Type'''||
'''ATSC Type''' (ignored for DVB-C and DVB-T)<br>
1 = VSB ("Over-the-Air)"<br>
2 = QAM annex B ("cable TV")<br>
3 = both of them
|-
| '''-X'''||
czap/tzap/xine channels.conf<br>
|-
| '''-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.<br>
{{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.}}


In general, when using ''w_scan'' you should at least specify three parameters: frontend type, country/satellite and output format.
==Examples==
NOTE: ATSC support needs w_scan >= 20080815


''As w_scan was superceeded quite a long time ago, pls refer to the [[w_scan_cpp]] page for it's similar syntax.''
===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''


==Also See==
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 [http://linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb dvb mailing list] after checking that it hasn't already been posted or added to the [http://linuxtv.org/hg/dvb-apps/file/tip/util/scan/ scan directory in the dvb-apps repository].
* [[Frequency_scan#Comparison_of_DVB_frequency_scanning_commandline_utilities|Comparison of the scanning utilities]].
* [https://www.mankier.com/1/w_scan man w_scan]
* [[scan]]
* [[dvbscan]]


==External Links==
==External Links==
* [[w_scan_cpp|see w_scan_cpp]]
* [http://wirbel.htpc-forum.de/w_scan/index2.html Homepage]
* [http://64.233.179.104/translate_c?hl=en&langpair=de%7Cen&u=http://wirbel.htpc-forum.de/w_scan/index2.html English translation via Google]
* [http://edafe.org/vdr/w_scan/ English howto by edafe]


[[Category:Apps & Utilities]]
[[Category:Apps & Utilities]]

Latest revision as of 10:21, 8 August 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.

As w_scan was superceeded quite a long time ago, pls refer to the w_scan_cpp page for it's similar syntax.

Also See

External Links