Difference between revisions of "Scan"

From LinuxTVWiki
Jump to: navigation, search
(first steps at setting scan up as a separate article)
(add command usage/options info)
Line 1: Line 1:
 
{{lowercase|scan}}
 
{{lowercase|scan}}
  
 
+
''scan'' is one of the two command line [[Frequency scan|frequency scanning]] utilities contained in the [[LinuxTV dvb-apps]].  When using scan, one indirectly instructs it to search for programs streams that can be received from specified frequencies and generates a resultant channel list.   
''scan'' is one of the command line [[Frequency scan|Frequency scanning]] utilities contained in the [[LinuxTV dvb-apps]].  When using scan, one indirectly instructs it to search for programs streams that can be received from specified frequencies and generates a resultant channel list.   
+
  
 
==Documentation==
 
==Documentation==
 
''scan'' does not have a man page.  However, if you run it with the -h parameter, the output provides a summary of its command options. For example, running ''scan -h'' produces:
 
''scan'' does not have a man page.  However, if you run it with the -h parameter, the output provides a summary of its command options. For example, running ''scan -h'' produces:
 +
<pre>
 +
usage: scan [options...] [-c | initial-tuning-data-file]
 +
        atsc/dvbscan doesn't do frequency scans, hence it needs initial
 +
        tuning data for at least one transponder/channel.
 +
        -c      scan on currently tuned transponder only
 +
        -v      verbose (repeat for more)
 +
        -q      quiet (repeat for less)
 +
        -a N    use DVB /dev/dvb/adapterN/
 +
        -f N    use DVB /dev/dvb/adapter?/frontendN
 +
        -d N    use DVB /dev/dvb/adapter?/demuxN
 +
        -s N    use DiSEqC switch position N (DVB-S only)
 +
        -i N    spectral inversion setting (0: off, 1: on, 2: auto [default])
 +
        -n      evaluate NIT-other for full network scan (slow!)
 +
        -5      multiply all filter timeouts by factor 5
 +
                for non-DVB-compliant section repitition rates
 +
        -o fmt  output format: 'zap' (default), 'vdr' or 'pids' (default with -c)
 +
        -x N    Conditional Access, (default -1)
 +
                N=0 gets only FTA channels
 +
                N=-1 gets all channels
 +
                N=xxx sets ca field in vdr output to :xxx:
 +
        -t N    Service select, Combined bitfield parameter.
 +
                1 = TV, 2 = Radio, 4 = Other, (default 7)
 +
        -p      for vdr output format: dump provider name
 +
        -e N    VDR version, default 3 for VDR-1.3.x and newer
 +
                value 2 sets NIT and TID to zero
 +
                Vdr version 1.3.x and up implies -p.
 +
        -l lnb-type (DVB-S Only) (use -l help to print types) or
 +
        -l low[,high[,switch]] in Mhz
 +
        -u      UK DVB-T Freeview channel numbering for VDR
 +
 +
        -P do not use ATSC PSIP tables for scanning
 +
            (but only PAT and PMT) (applies for ATSC only)
 +
        -A N    check for ATSC 1=Terrestrial [default], 2=Cable or 3=both
 +
        -U      Uniquely name unknown services</pre>
 +
 +
==Also See==
 +
* [[dvbscan]]
 +
* [[w_scan]]

Revision as of 06:03, 20 April 2009

scan is one of the two command line frequency scanning utilities contained in the LinuxTV dvb-apps. When using scan, one indirectly instructs it to search for programs streams that can be received from specified frequencies and generates a resultant channel list.

Documentation

scan does not have a man page. However, if you run it with the -h parameter, the output provides a summary of its command options. For example, running scan -h produces:

usage: scan [options...] [-c | initial-tuning-data-file]
        atsc/dvbscan doesn't do frequency scans, hence it needs initial
        tuning data for at least one transponder/channel.
        -c      scan on currently tuned transponder only
        -v      verbose (repeat for more)
        -q      quiet (repeat for less)
        -a N    use DVB /dev/dvb/adapterN/
        -f N    use DVB /dev/dvb/adapter?/frontendN
        -d N    use DVB /dev/dvb/adapter?/demuxN
        -s N    use DiSEqC switch position N (DVB-S only)
        -i N    spectral inversion setting (0: off, 1: on, 2: auto [default])
        -n      evaluate NIT-other for full network scan (slow!)
        -5      multiply all filter timeouts by factor 5
                for non-DVB-compliant section repitition rates
        -o fmt  output format: 'zap' (default), 'vdr' or 'pids' (default with -c)
        -x N    Conditional Access, (default -1)
                N=0 gets only FTA channels
                N=-1 gets all channels
                N=xxx sets ca field in vdr output to :xxx:
        -t N    Service select, Combined bitfield parameter.
                1 = TV, 2 = Radio, 4 = Other, (default 7)
        -p      for vdr output format: dump provider name
        -e N    VDR version, default 3 for VDR-1.3.x and newer
                value 2 sets NIT and TID to zero
                Vdr version 1.3.x and up implies -p.
        -l lnb-type (DVB-S Only) (use -l help to print types) or
        -l low[,high[,switch]] in Mhz
        -u      UK DVB-T Freeview channel numbering for VDR

        -P do not use ATSC PSIP tables for scanning
            (but only PAT and PMT) (applies for ATSC only)
        -A N    check for ATSC 1=Terrestrial [default], 2=Cable or 3=both
        -U      Uniquely name unknown services

Also See