Frequency scan: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
m (minor edits)
(29 intermediate revisions by 4 users not shown)
Line 1: Line 1:
In order to be able receive a particular signal with your TV tuner device you will need to tune/set it to the correct radio [[frequency]] used by that source transmission. Therefore, you (or, at least, the viewing application you are using) will first want to know which frequencies are used for transmission and thereby are tunable for your receiver at your location of residence. Frequency scanning utilities, listed below, perform such signal detection and, generally, provide a list of the frequencies upon which content is discovered, with which higher level applications can then in turn use for tuning purposes.
In order to be able receive a particular signal with your TV tuner device you will need to tune/set it to the correct radio [[frequency]] used by that source transmission. Therefore, you (or, at least, the viewing application you are using) will first want to know which frequencies are used for transmission and, thereby, may be tunable by your receiver at your residing location. Frequency scanning utilities, listed below, perform such signal detection and, generally, provide a list of the frequencies upon which content is discovered, with which higher level applications can then in turn use for tuning purposes.


Note: Historically, the set of frequencies used under the older [[Analog TV|analogue systems]] have differed from one another, meaning that the particular frequencies used across North America, Europe, Asia, etc., etc., will differ depending upon the transmission standard adopted within each nation. When countries began to make the transition to [[Digital Video Broadcasting|digital TV systems]], most have opted to continue to use their old channel frequency schemes so as to make the switch from analog to digital systems as seamless as possible for the end user.
Note: Historically, the set of frequencies used under the older [[Analog TV|analogue systems]] have differed from one another, meaning that the particular frequencies used across North America, Europe, Asia, etc., etc., will differ depending upon the transmission standard adopted within each nation. When countries began to make the transition to [[Digital Video Broadcasting|digital TV systems]], most have opted to continue to use their old channel frequency schemes so as to make the switch from analog to digital systems as seamless as possible for the end user.
Line 5: Line 5:
==Frequency Scanning Utilities==
==Frequency Scanning Utilities==
===Analog===
===Analog===
* scantv (part of xawtv package)
* scantv (part of [[xawtv|xawtv package]], both branches)
* apps with built in scanning ... [[tvtime]], [[xawtv|xawtv/motv]] (which call upon scantv), [[kdetv]] ...
* apps with built in scanning ... [[tvtime]], [[xawtv|xawtv/motv]] (which call upon scantv), [[kdetv]] ...


===Digital===
===Digital===
On Digital TV, the scanning process consists on tuning into some physical channel/transponder frequencies and parsing the MPEG Transport Stream, in order to identify the services and the corresponding audio, video, teletext and data streams. The service is also known Virtual Channel.
One of the handiest tools for scanning frequencies is "[[Scan|(dvb)scan]]", a utility included within the [[LinuxTV dvb-apps]] package. (dvb)scan parses the information from a pre-configured initial scan file that is specific to a particular country/region/location/service_provider (many of which are contained within the dvb-apps package as well as being available within the wiki or elsewhere), then tunes into the frequencies and lists the names for all available PIDs.


There are two types of scanning applications: the ones that rely on frequency channel files and the ones that tries hard to identify the existing channels, based on the knowledge of the Country.
* [[dvbscan|dvbscan/scandvb/atscscan]]

* [[scan]]
====Scan apps based on a channel file====
* [[w_scan]]

Those applications are faster to identify the channels, but they are unable to find any channel outside the channel table.

For them to work, an initial file is needed. Those files are provided at [[dtv-scan-tables]] repository, using dvbv5 file format.

Most common applications used for channel scan:

* [[dvbv5-scan | LinuxTV dvbv5-scan]], part of [[DVBv5_Tools]] package.
* [[alexplore]] (part of the [[xawtv#Associated_Utilities_2|v4 xawtv package]]).
* [[scan]]/"[[Scan|(dvb)scan]]", part of the unmantained [[LinuxTV dvb-apps]].
* [[scan-s2]] [http://mercurial.intuxication.org/hg/scan-s2/]
* [[scan-s2]] [http://mercurial.intuxication.org/hg/scan-s2/]
* "[[Scan|(dvb)scan]]", a utility included within the [[LinuxTV dvb-apps]] package.
* apps with built in scanning ... [[kaffeine]], [[MythTV]], [[Me TV]]
* several apps also have their built in scanning ... [[kaffeine]], [[MythTV]], [[Me TV]]


====Scan apps that don't require an initial channel file====
====Comparison of DVB frequency scanning commandline utilities====


Scan applications that don't need a channel file have internally a table that allows them to construct internally a table with possible frequencies and tuning parameters to seek. As the number of possible channels/tuning parameters are a way higher than the ones defined on a channel table, the scanning process will take several minutes (and even a few hours, if the card doesn't support autodetection for some DVB properties).
Would someone with the relevant knowledge please provide a brief overview of the history behind the [[Dvbscan|dvbscan]], [[Scan|scan]] and [[W_scan|w_scan]] utilities and the difference between them.

Applications using this approach:
* [[w_scan]]

====Comparison of DVB frequency scanning commandline utilities====


{{Note|The differences between '''scan''' and '''dvbscan''' should be added to this wiki article. The information for dvbscan is still to be completed - please help.}}
{{Note|The differences between '''scan''' and '''dvbscan''' should be added to this wiki article. The information for dvbscan is still to be completed - please help.}}


The following table lists the main features of the different command line scanners. For specific information on usage, have a look at its specific wiki article.
The following table lists the main features of several of the popularly used command line scanners. For specific information on a particular utility's usage, have a look at its specific wiki article.
<br>
<br>


Line 33: Line 49:
|'''[[w_scan]]'''
|'''[[w_scan]]'''
|'''[[scan-s2]]'''
|'''[[scan-s2]]'''
|'''[[dvbv5-scan]]'''
|-
|-
|'''download'''
|'''download (upstream version)'''
|[http://linuxtv.org/hg/dvb-apps linuxtv.org/hg/dvb-apps]
|[http://linuxtv.org/hg/dvb-apps linuxtv.org/hg/dvb-apps]
|[http://linuxtv.org/hg/dvb-apps linuxtv.org/hg/dvb-apps]
|[http://linuxtv.org/hg/dvb-apps linuxtv.org/hg/dvb-apps]
|[http://wirbel.htpc-forum.de/w_scan/index.html wirbel.htpc-forum.de/w_scan/index.html]
|[http://wirbel.htpc-forum.de/w_scan/index.html wirbel.htpc-forum.de/w_scan/index.html]
|[http://mercurial.intuxication.org/hg/scan-s2 mercurial.intuxication.org/hg/scan-s2]
|[http://mercurial.intuxication.org/hg/scan-s2 mercurial.intuxication.org/hg/scan-s2]
|[http://git.linuxtv.org/v4l-utils.git git.linuxtv.org/v4l-utils.git]
|-
|-
|'''last stable'''
|'''last stable'''
|linuxtv-dvb-apps-1.1.1 (outdated, May 2006)
|linuxtv-dvb-apps-1.1.1
|linuxtv-dvb-apps-1.1.1
|none / use latest version
| ?
| ?
|v4l-utils-1.4.0
|none / use latest version
|none / use latest version
|-
|-
|'''comments'''
|'''comments'''
|linuxtv.org maintained<br>'''DVB-S2 support missing'''<br>needs dvb driver with API-3.2 or 5.x
|linuxtv.org unmaintained<br>'''DVB-S2 and DVB-T2 support missing'''
|linuxtv.org unmaintained<br>'''DVB-S2 and DVB-T2 support missing'''
|
|
|linuxtv.org maintained
|linuxtv.org maintained
|-
|compiling needs dvb driver with API-5.0 or higher<br>usage needs API-3.2 or API-5.x
|'''DVB API needs'''
|needs dvb driver with 5.0 or higher
|DVB API version 3.2 or higher
|DVB API version 3.2 or higher
|DVB API version 3.2 or higher<br>compiling needs DVB API version 5.0 or higher
|DVB API version 5.0 or higher<br>last update 02/2009
|DVB API version 3.2 or higher
|-
|-
|'''supported DTV types'''
|'''supported DTV types'''
|DVB-S, DVB-C(Europe), DVB-T, ATSC (VSB and QAM), DMB-TH (China)
|DVB-S, DVB-C (Annex A only - mainly Europe), DVB-T, ATSC (VSB and QAM)
|DVB-S, DVB-C (Annex A only - mainly Europe), DVB-T, ATSC (VSB and QAM)
| ?
|DVB-S, '''DVB-S2''', DVB-C(Europe), DVB-T, ATSC (VSB and QAM), DMB-TH (China)
|DVB-S, '''DVB-S2''', DVB-C (Annex A only - mainly Europe), DVB-T, '''DVB/T2''', ATSC (VSB and QAM), DMB-TH (China)
|DVB-S, '''DVB-S2''', DVB-C(Europe), DVB-T, ATSC (VSB and QAM)
|DVB-S, '''DVB-S2''', DVB-C (Annex A only - mainly Europe), DVB-T, ATSC (VSB and QAM)
|DVB-S, '''DVB-S2''', DVB-C (Annex A and C - worldwide), DVB-T, '''DVB-T2''', ATSC (VSB and QAM), ISDB-T and more
|-
|-
|'''initial scan file required'''<br>(matching to your satellite or local aerial/cable network)
|'''initial scan file required'''<br>(matching to your satellite or local aerial/cable network)
|yes
|yes (use dvb-apps hg from linuxtv.org)
|yes
|yes (use dvb-apps hg from linuxtv.org)
|'''not required'''
|'''not required'''
|yes (use dvb-apps hg from linuxtv.org)<br>''NOTE: slightly different file format from scan because of additional DVB-S2 support.''
|yes<br>''NOTE: slightly different file format from scan because of additional DVB-S2 support.''
|yes (uses libdvbv5 file format by default, but dvb-apps and s2-scan file formats are accepted too)
|-
|-
|'''can generate initial scan file'''
|'''can generate initial scan file'''
Line 68: Line 97:
|no
|no
|'''yes'''
|'''yes'''
|no
|no
|no
|-
|-
|'''can generate channels.conf for zap/xine/mplayer/vlc'''
|'''can generate channels.conf for zap/xine/mplayer/vlc'''
|yes (default)
|yes (default)
|yes (default)
|?
|yes
|yes
|yes
|yes
|yes
|-
|-
|'''can generate channels.conf for [http://www.tvdr.de/ VDR]'''
|'''can generate channels.conf for [http://www.tvdr.de/ VDR]'''
|yes (vdr-1.3 only)
|yes, but hopeless outdated (vdr-1.3 only)
|yes, but hopeless outdated (vdr-1.3 only)
|?
|yes (default)
|yes (default)
|yes (default)
|yes (default)
|yes (after version 1.4.0)
|-
|-
|'''can generate channels.dvb for kaffeine'''
|'''can generate channels.dvb for kaffeine'''
|no
|no
|?
|no
|yes
|'''yes'''
|no
|no
|no
|}
|}

Revision as of 17:24, 13 September 2014

In order to be able receive a particular signal with your TV tuner device you will need to tune/set it to the correct radio frequency used by that source transmission. Therefore, you (or, at least, the viewing application you are using) will first want to know which frequencies are used for transmission and, thereby, may be tunable by your receiver at your residing location. Frequency scanning utilities, listed below, perform such signal detection and, generally, provide a list of the frequencies upon which content is discovered, with which higher level applications can then in turn use for tuning purposes.

Note: Historically, the set of frequencies used under the older analogue systems have differed from one another, meaning that the particular frequencies used across North America, Europe, Asia, etc., etc., will differ depending upon the transmission standard adopted within each nation. When countries began to make the transition to digital TV systems, most have opted to continue to use their old channel frequency schemes so as to make the switch from analog to digital systems as seamless as possible for the end user.

Frequency Scanning Utilities

Analog

Digital

On Digital TV, the scanning process consists on tuning into some physical channel/transponder frequencies and parsing the MPEG Transport Stream, in order to identify the services and the corresponding audio, video, teletext and data streams. The service is also known Virtual Channel.

There are two types of scanning applications: the ones that rely on frequency channel files and the ones that tries hard to identify the existing channels, based on the knowledge of the Country.

Scan apps based on a channel file

Those applications are faster to identify the channels, but they are unable to find any channel outside the channel table.

For them to work, an initial file is needed. Those files are provided at dtv-scan-tables repository, using dvbv5 file format.

Most common applications used for channel scan:

Scan apps that don't require an initial channel file

Scan applications that don't need a channel file have internally a table that allows them to construct internally a table with possible frequencies and tuning parameters to seek. As the number of possible channels/tuning parameters are a way higher than the ones defined on a channel table, the scanning process will take several minutes (and even a few hours, if the card doesn't support autodetection for some DVB properties).

Applications using this approach:

Comparison of DVB frequency scanning commandline utilities

Note: The differences between scan and dvbscan should be added to this wiki article. The information for dvbscan is still to be completed - please help.

The following table lists the main features of several of the popularly used command line scanners. For specific information on a particular utility's usage, have a look at its specific wiki article.

feature \ scanner scan dvbscan w_scan scan-s2 dvbv5-scan
download (upstream version) linuxtv.org/hg/dvb-apps linuxtv.org/hg/dvb-apps wirbel.htpc-forum.de/w_scan/index.html mercurial.intuxication.org/hg/scan-s2 git.linuxtv.org/v4l-utils.git
last stable linuxtv-dvb-apps-1.1.1 linuxtv-dvb-apps-1.1.1 none / use latest version ? v4l-utils-1.4.0
comments linuxtv.org unmaintained
DVB-S2 and DVB-T2 support missing
linuxtv.org unmaintained
DVB-S2 and DVB-T2 support missing
linuxtv.org maintained
DVB API needs DVB API version 3.2 or higher DVB API version 3.2 or higher DVB API version 3.2 or higher
compiling needs DVB API version 5.0 or higher
DVB API version 5.0 or higher
last update 02/2009
DVB API version 3.2 or higher
supported DTV types DVB-S, DVB-C (Annex A only - mainly Europe), DVB-T, ATSC (VSB and QAM) DVB-S, DVB-C (Annex A only - mainly Europe), DVB-T, ATSC (VSB and QAM) DVB-S, DVB-S2, DVB-C (Annex A only - mainly Europe), DVB-T, DVB/T2, ATSC (VSB and QAM), DMB-TH (China) DVB-S, DVB-S2, DVB-C (Annex A only - mainly Europe), DVB-T, ATSC (VSB and QAM) DVB-S, DVB-S2, DVB-C (Annex A and C - worldwide), DVB-T, DVB-T2, ATSC (VSB and QAM), ISDB-T and more
initial scan file required
(matching to your satellite or local aerial/cable network)
yes yes not required yes
NOTE: slightly different file format from scan because of additional DVB-S2 support.
yes (uses libdvbv5 file format by default, but dvb-apps and s2-scan file formats are accepted too)
can generate initial scan file no no yes no no
can generate channels.conf for zap/xine/mplayer/vlc yes (default) yes (default) yes yes yes
can generate channels.conf for VDR yes, but hopeless outdated (vdr-1.3 only) yes, but hopeless outdated (vdr-1.3 only) yes (default) yes (default) yes (after version 1.4.0)
can generate channels.dvb for kaffeine no no yes no no

External Links

Analog

Digital For some other general sources (which may or may not be that useful) for finding local channel frequency lists, see: