| 1 |
.TH "dvbv5-scan" 1 "Fri Oct 3 2014" "DVBv5 Utils @MAN_PACKAGE_VERSION@" "User Commands" |
| 2 |
.SH NAME |
| 3 |
dvbv5-scan \- DVBv5 tool for frequency scanning |
| 4 |
.SH SYNOPSIS |
| 5 |
.B dvbv5-scan |
| 6 |
[\fIOPTION\fR]... \fIinitial-file\fR |
| 7 |
.SH DESCRIPTION |
| 8 |
dvbv5-scan is a command line frequency scanning tool for digital TV services |
| 9 |
that is compliant with version 5 of the DVB API, and backward compatible with |
| 10 |
the older v3 DVB API. |
| 11 |
.PP |
| 12 |
dvbv5-scan uses by default the new channel/service file format that it is |
| 13 |
capable of supporting all types of Digital TV standards. It can also support |
| 14 |
the legacy format used by the legacy dvb-apps. |
| 15 |
.PP |
| 16 |
A single physical channel (also called as transponder) may have several virtual |
| 17 |
channels inside it, encapsulated via a MPEG Transport stream. |
| 18 |
.PP |
| 19 |
Those virtual channels are called as 'service' at the MPEG-TS terminology, and |
| 20 |
may have one or more audio, video and other types of elements inside it. |
| 21 |
.PP |
| 22 |
The dvbv5-scan goal is to scan for a list of physical channels/transponders |
| 23 |
and identify there the MPEG-TS services available. |
| 24 |
.PP |
| 25 |
The dvbv5-scan tool is smart enough to retrieve the information at the |
| 26 |
MPEG-TS Network Information Table (NIT) about other channels available |
| 27 |
on the stream. |
| 28 |
.SH "OPTIONS" |
| 29 |
.TP |
| 30 |
The following options are valid: |
| 31 |
.TP |
| 32 |
\fB\-3\fR, \fB\-\-dvbv3\fR |
| 33 |
Force dvbv5\-scan to use DVBv3 only. |
| 34 |
.TP |
| 35 |
\fB\-a\fR, \fB\-\-adapter\fR=\fIadapter#\fR |
| 36 |
Use the given adapter. Default value: 0. |
| 37 |
.TP |
| 38 |
\fB\-C\fR, \fB\-\-cc\fR=\fIcountry_code\fR |
| 39 |
Set the default country to be used by the MPEG-TS parsers, in ISO 3166-1 two |
| 40 |
letter code. If not specified, the default charset is guessed from the |
| 41 |
locale environment variables. |
| 42 |
.TP |
| 43 |
\fB\-d\fR, \fB\-\-demux\fR=\fIdemux#\fR |
| 44 |
Use the given demux. Default value: 0. |
| 45 |
.TP |
| 46 |
\fB\-f\fR, \fB\-\-frontend\fR=\fIfrontend#\fR |
| 47 |
Use the given frontend. Default value: 0. |
| 48 |
.TP |
| 49 |
\fB\-F\fR, \fB\-\-file-freqs-only\fR |
| 50 |
Don't use the other frequencies discovered during scan. By default, dvbv5-scan |
| 51 |
will find new transponder/physical channels and add them at the internal |
| 52 |
frequency table it uses for scan. This option disables such feature. |
| 53 |
.TP |
| 54 |
\fB\-G\fR, \fB\-\-get_frontend\fR |
| 55 |
Use data from get_frontend on the output file. By default, dvbv5-scan will |
| 56 |
repeat the same network parameters as found at the scan file. This should |
| 57 |
work fine if the output file will be used by the same frontend. However, if |
| 58 |
you intend to use the generated file on another frontend, or wants a faster |
| 59 |
tuner, this option can be used to store the actual detected parameters, instead |
| 60 |
of the ones that came from the source channel file. |
| 61 |
.TP |
| 62 |
\fB\-I\fR, \fB\-\-input-format\fR=\fIformat\fR |
| 63 |
Format of the input file. Please notice that caps is ignored. It can be: |
| 64 |
.RS |
| 65 |
.TP |
| 66 |
\fIchannel\fR \- for dvb-apps compatible channel file; |
| 67 |
.PP |
| 68 |
\fIzap\fR \- for dvb-apps compatible zap file; |
| 69 |
.PP |
| 70 |
\fIdvbv5\fR (default) \- for the dvbv5 apps format. |
| 71 |
.RE |
| 72 |
.TP |
| 73 |
\fB\-l\fR, \fB\-\-lnbf\fR=\fILNBf_type\fR |
| 74 |
Type of LNBf to use 'help' lists the available ones. |
| 75 |
.TP |
| 76 |
\fB\-N\fR, \fB\-\-nit\fR |
| 77 |
Use data from NIT table on the output file. By default, dvbv5-scan will |
| 78 |
repeat the same network parameters as found at the scan file. This should |
| 79 |
work fine if the output file will be used by the same frontend. However, if |
| 80 |
you intend to use the generated file on another frontend, or wants a faster |
| 81 |
tuner, this option can be used to store the parameters that are announced |
| 82 |
by the broadcaster via the MPEG-TS Network Information Table (NIT), instead |
| 83 |
of the ones that came from the source channel file. |
| 84 |
.TP |
| 85 |
\fB\-o\fR, \fB\-\-output\fR=\fIfile\fR |
| 86 |
output filename (default: \fBdvb_channel.conf\fR) |
| 87 |
.TP |
| 88 |
\fB\-O\fR, \fB\-\-output\-format\fR=\fIformat\fR |
| 89 |
Output format: |
| 90 |
.RS |
| 91 |
.TP |
| 92 |
\fIchannel\fR \- for dvb-apps compatible channel file; |
| 93 |
.PP |
| 94 |
\fIzap\fR \- for dvb-apps compatible zap file; |
| 95 |
.PP |
| 96 |
\fIvdr\fR \- for vdr compatible zap file; |
| 97 |
.PP |
| 98 |
\fIdvbv5\fR (default) \- for the dvbv5 apps format. |
| 99 |
.RE |
| 100 |
.TP |
| 101 |
\fB\-p\fR, \fB\-\-parse\-other\-nit\fR |
| 102 |
Parse the other NIT/SDT tables that could be found mainly on some DVB-C |
| 103 |
carriers. |
| 104 |
.TP |
| 105 |
\fB\-S\fR, \fB\-\-sat_number\fR=\fIsatellite_number\fR |
| 106 |
Satellite number. |
| 107 |
Used only on satellite delivery systems. |
| 108 |
If not specified, disable DISEqC satellite switch. |
| 109 |
.TP |
| 110 |
\fB\-T\fR, \fB\-\-timeout\-multiply\fR=\fIfactor\fR |
| 111 |
Multiply the scan lock wait time and MPEG-TS table parsing by this factor. |
| 112 |
.TP |
| 113 |
\fB\-U\fR, \fB\-\-freq_bpf\fR=\fIfrequency\fR |
| 114 |
SCR/Unicable band-pass filter frequency to use, in kHz. |
| 115 |
Used only on satellite delivery systems. |
| 116 |
.TP |
| 117 |
\fB\-v\fR, \fB\-\-verbose\fR |
| 118 |
Be (very) verbose. Useful to check if the MPEG-TS is happenning fine. |
| 119 |
This option can be used multiple times to increase verbosity. |
| 120 |
.TP |
| 121 |
\fB\-w\fR, \fB\-\-lna\fR=\fILNA\fR |
| 122 |
Enable, disable or put LNA power in auto mode. Not all frontends support it. |
| 123 |
Valid values are: |
| 124 |
.RS |
| 125 |
.TP |
| 126 |
0 \- disable |
| 127 |
.TP |
| 128 |
1 \- enable |
| 129 |
.TP |
| 130 |
\-1 \- auto |
| 131 |
.RE |
| 132 |
.TP |
| 133 |
\fB\-W\fR, \fB\-\-wait\fR=\fItime\fR |
| 134 |
Adds additional wait time for DISEqC command completion. |
| 135 |
.TP |
| 136 |
\fB\-?\fR, \fB\-\-help\fR |
| 137 |
Outputs the usage help. |
| 138 |
.TP |
| 139 |
\fB\-\-usage\fR |
| 140 |
Gives a short usage message. |
| 141 |
.TP |
| 142 |
\fB\-V\fR, \fB\-\-version\fR |
| 143 |
Prints the program version. |
| 144 |
.PP |
| 145 |
Mandatory or optional arguments to long options are also mandatory or |
| 146 |
optional for any corresponding short options. |
| 147 |
.RS |
| 148 |
.SS NOTE |
| 149 |
If both \fB\-\-nit\fR and \fB\-\-get_frontend\fR options are used at the |
| 150 |
same time, the \fB\-\-nit\fR parameters will be applied after the ones that |
| 151 |
the frontend detected. |
| 152 |
.RE |
| 153 |
.SH EXIT STATUS |
| 154 |
On success, it returns 0. |
| 155 |
.SH EXAMPLE |
| 156 |
.PP |
| 157 |
.nf |
| 158 |
.schar \[u2026] ... |
| 159 |
$ \fBdvbv5-scan /usr/share/dvbv5/dvb-c/the-brownfox\fR |
| 160 |
|
| 161 |
Scanning frequency #1 573000000 |
| 162 |
Lock (0x1f) Quality= Good Signal= 100.00% C/N= \-13.80dB UCB= 0 postBER= 3.14x10^\-3 PER= 0 |
| 163 |
Service The, provider (null): digital television |
| 164 |
Service Quick, provider BrownFox: digital television |
| 165 |
Service Brown, provider (null): digital television |
| 166 |
Service Jumps, provider (null): digital television |
| 167 |
\[u2026] |
| 168 |
Service Dog, provider (null): digital television |
| 169 |
New transponder/channel found: #2: 579000000 |
| 170 |
\[u2026] |
| 171 |
New transponder/channel found: #39: 507000000 |
| 172 |
.fi |
| 173 |
.PP |
| 174 |
The scan process will then scan the other 38 discovered new transponders, |
| 175 |
and generate a dvb_channel.conf with several entries with will have not only |
| 176 |
the physical channel/transponder info, but also the Service ID, and the |
| 177 |
corresponding audio/video/other program IDs (PID), like: |
| 178 |
.PP |
| 179 |
.nf |
| 180 |
[Quick] |
| 181 |
SERVICE_ID = 5 |
| 182 |
VIDEO_PID = 288 |
| 183 |
AUDIO_PID = 289 |
| 184 |
FREQUENCY = 573000000 |
| 185 |
MODULATION = QAM/256 |
| 186 |
INVERSION = OFF |
| 187 |
SYMBOL_RATE = 5247500 |
| 188 |
INNER_FEC = NONE |
| 189 |
DELIVERY_SYSTEM = DVBC/ANNEX_A |
| 190 |
.fi |
| 191 |
.SH BUGS |
| 192 |
Report bugs to \fBLinux Media Mailing List <[email protected]>\fR |
| 193 |
.SH COPYRIGHT |
| 194 |
Copyright (c) 2011\-2014 by Mauro Carvalho Chehab. |
| 195 |
.PP |
| 196 |
License GPLv2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>. |
| 197 |
.br |
| 198 |
This is free software: you are free to change and redistribute it. |
| 199 |
There is NO WARRANTY, to the extent permitted by law. |