dvbv5-scan(1)

πŸ“¦
version 1.32.0 Β· 5 versions
, in alpine 3.24, arch rolling, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu resolute, ubuntu stonking

🌸 dvbv5-scan β€” the girlies' guide to scanning for channels πŸ’…

okay so bestie, you know how you want your TV to actually find stuff? this is the manual page for dvbv5-scan, from the dvbv5 suite of User Commands (section 1 of the manual, iykyk). it's a whole frequency-scanning tool. let's get into it πŸ¦‹


✨ NAME ✨

dvbv5-scan β€” DVBv5 tool for frequency scanning

πŸŽ€ SYNOPSIS πŸŽ€

dvbv5-scan [OPTION]... initial-file

πŸ’– DESCRIPTION πŸ’–

so dvbv5-scan is a command line frequency scanning tool for digital TV services. it's compliant with version 5 of the DVB API, and it's also backward compatible with the older v3 DVB API. flexible queen πŸ‘‘

by default it uses the new channel/service file format, which is capable of supporting all types of Digital TV standards. it can also support the legacy format used by the legacy dvb-apps. so no matter which era of vibes your setup is giving, she's got you.

here's the tea: a single physical channel (also called a transponder) can have several virtual channels inside it, all encapsulated via a MPEG Transport stream. those virtual channels are called a 'service' in MPEG-TS terminology, and each one may have one or more audio, video and other types of elements inside it.

the goal of dvbv5-scan is to scan for a list of physical channels/transponders and identify the MPEG-TS services available in them. and because she's smart enough to read the room, the tool also retrieves info from the MPEG-TS Network Information Table (NIT) about other channels available on the stream. main character energy fr πŸ’«


πŸ”₯ OPTIONS πŸ”₯

the following options are valid:

  • -3, --dvbv3 β€” Force dvbv5-scan to use DVBv3 only.
  • -a, --adapter=adapter# β€” Use the given adapter. Default value: 0.
  • -C, --cc=country_code β€” Set the default country to be used by the MPEG-TS parsers, in ISO 3166-1 two letter code. If not specified, the default charset is guessed from the locale environment variables.
  • -d, --demux=demux# β€” Use the given demux. Default value: 0.
  • -f, --frontend=frontend# β€” Use the given frontend. Default value: 0.
  • -F, --file-freqs-only β€” Don't use the other frequencies discovered during scan. By default, dvbv5-scan will find new transponder/physical channels and add them at the internal frequency table it uses for scan. This option disables such feature.
  • -G, --get_frontend β€” Use data from get_frontend on the output file. By default, dvbv5-scan will repeat the same network parameters as found at the scan file. This should work fine if the output file will be used by the same frontend. However, if you intend to use the generated file on another frontend, or wants a faster tuner, this option can be used to store the actual detected parameters, instead of the ones that came from the source channel file.
  • -I, --input-format=format β€” Format of the input file. Please notice that caps is ignored. It can be:
    • channel β€” for dvb-apps compatible channel file;
    • zap β€” for dvb-apps compatible zap file;
    • dvbv5 (default) β€” for the dvbv5 apps format.
  • -l, --lnbf=LNBf_type β€” Type of LNBf to use; help lists the available ones.
  • -N, --nit β€” Use data from NIT table on the output file. By default, dvbv5-scan will repeat the same network parameters as found at the scan file. This should work fine if the output file will be used by the same frontend. However, if you intend to use the generated file on another frontend, or wants a faster tuner, this option can be used to store the parameters that are announced by the broadcaster via the MPEG-TS Network Information Table (NIT), instead of the ones that came from the source channel file.
  • -o, --output=file β€” output filename (default: dvb_channel.conf)
  • -O, --output-format=format β€” Output format:
    • channel β€” for dvb-apps compatible channel file;
    • zap β€” for dvb-apps compatible zap file;
    • vdr β€” for vdr compatible zap file;
    • dvbv5 (default) β€” for the dvbv5 apps format.
  • -p, --parse-other-nit β€” Parse the other NIT/SDT tables that could be found mainly on some DVB-C carriers.
  • -S, --sat_number=satellite_number β€” Satellite number. Used only on satellite delivery systems. If not specified, disable DISEqC satellite switch.
  • -T, --timeout-multiply=factor β€” Multiply the scan lock wait time and MPEG-TS table parsing by this factor.
  • -U, --freq_bpf=frequency β€” SCR/Unicable band-pass filter frequency to use, in kHz. Used only on satellite delivery systems.
  • -v, --verbose β€” Be (very) verbose. Useful to check if the MPEG-TS is happenning fine. This option can be used multiple times to increase verbosity.
  • -w, --lna=LNA β€” Enable, disable or put LNA power in auto mode. Not all frontends support it. Valid values are:
    • 0 β€” disable
    • 1 β€” enable
    • -1 β€” auto
  • -W, --wait=time β€” Adds additional wait time for DISEqC command completion.
  • -?, --help β€” Outputs the usage help.
  • --usage β€” Gives a short usage message.
  • -V, --version β€” Prints the program version.

mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. (yes bestie, the rule applies both ways πŸ’…)

πŸ“Œ NOTE πŸ“Œ

if both --nit and --get_frontend options are used at the same time, the --nit parameters will be applied after the ones that the frontend detected. order matters, periodt.


🫢 EXIT STATUS 🫢

on success, it returns 0. clean. iconic.

🌈 EXAMPLE 🌈

$ dvbv5-scan /usr/share/dvbv5/dvb-c/the-brownfox

Scanning frequency #1 573000000
Lock   (0x1f) Quality= Good Signal= 100.00% C/N= -13.80dB UCB= 0 postBER= 3.14x10^-3 PER= 0
Service The, provider (null): digital television
Service Quick, provider BrownFox: digital television
Service Brown, provider (null): digital television
Service Jumps, provider (null): digital television
…
Service Dog, provider (null): digital television
New transponder/channel found: #2: 579000000
…
New transponder/channel found: #39: 507000000

the scan process will then scan the other 38 discovered new transponders, and generate a dvb_channel.conf with several entries with will have not only the physical channel/transponder info, but also the Service ID, and the corresponding audio/video/other program IDs (PID), like:

[Quick]
        SERVICE_ID = 5
        VIDEO_PID = 288
        AUDIO_PID = 289
        FREQUENCY = 573000000
        MODULATION = QAM/256
        INVERSION = OFF
        SYMBOL_RATE = 5247500
        INNER_FEC = NONE
        DELIVERY_SYSTEM = DVBC/ANNEX_A

like... look at her go 😭 the whole channel list just falls out of the sky.


πŸ’€ BUGS πŸ’€

Report bugs to Linux Media Mailing List <linux-media@vger.kernel.org>

Copyright (c) 2011-2014 by Mauro Carvalho Chehab.

License GPLv2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

bestie, note that "NO WARRANTY" bit β€” it's real, it's legally real, it's not a vibe, it's the actual terms. love that for us but also respect it πŸ’–

and that's the whole page, no cap. this was DVBv5 Utils 1.32.0, dated Fri Oct 3 2014 β€” shoutout to the dvbv5-scan(1) manual page for being the blueprint. go scan something slay πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from