dvbv5-zap(1)
π dvbv5-zap(1) β the tuning tool, but make it make sense π
okay so bestie, welcome to dvbv5-zap(1) β the DVBv5 tool for service tuning. she's a command line girlie who tunes digital TV services and she is literally so good at her job. let's get into it π«Ά
β¨ NAME β¨
dvbv5-zap β DVBv5 tool for service tuning π
πΈ SYNOPSIS πΈ
dvbv5-zap [OPTION]... channel-name
dvbv5-zap [OPTION]... frequency-name (for monitor or all PIDs mode)
π¦ DESCRIPTION π¦
dvbv5-zap is a command line tuning tool for digital TV services that is compliant with version 5 of the DVB API, and backward compatible with the older v3 DVB API. no cap, she speaks both languages π
by default she uses a new channel/service file format that is capable of supporting all types of Digital TV standards. she can also support the legacy format used by the legacy dvb-apps. iconic behavior tbh.
the dvbv5-zap tool can be used on several different modes, depending on the parameters used. it's giving versatility.
β οΈ bestie listen. in order to be able to use it in record mode, where both the audio and video Packet IDs (PIDs) are output to a dvr record node, the input file should contain the PIDs β e. g. they should have been produced by a digital TV zap application like dvbv5-zap. don't skip this step, she will not be happy π
π OPTIONS π
-c,--channels=channel-name-fileβ reads the channels list fromfile. defaults to~/.tzap/channels.conf. yes queen, that's your home directory.-3,--dvbv3β forcesdvbv5-zapto use DVBv3 only. super useful to test if the legacy API support is actually working. vibe check on the old API π₯-a,--adapter=adapter#β uses the given adapter. default value:0.-A,--audio_pid=audio_pid#β picks a different audio Packet ID (PID). by default she uses the first audio PID she finds at thechannel-name-file. main character energy, but you can override her.-C,--cc=country_codeβ sets the default country to be used by the MPEG-TS parsers, in ISO 3166-1 two letter code. if you don't specify it, the default charset is guessed from the locale environment variables. she's intuitive like that β¨-d,--demux=demux#β uses the given demux. default value:0.-f,--frontend=frontend#β uses the given frontend. default value:0.-I,--input-format=formatβ the format of the input file. heads up bestie: 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β the type of LNBf to use.helplists the available ones. she'll tell you, just ask π«Ά-L,--search=stringβ search/look for a string inside the traffic. used only on monitor mode.-m,--monitorβ enables monitor mode. on this mode, she will monitor the DVB traffic for all Packet IDs (PIDs) received by the device, showing the Packet IDs (optionally filtered by a string), and presenting some traffic statistics: number of packets per second, number of Kbytes per second, and total traffic. those statistics are shown per PID and the total per MPEG-TS. it's giving full surveillance, but make it cute π-o,--output=fileβ output filename. if specified, it will output the content of the MPEG-TS into the file with the first video PID and the first audio PID (or the one specified byaudio_pid#). use-o -for directing the output to stdout. π-p,--patβ adds PAT and PMT MPEG-TS tables to TS recording (implies-r).-P,--all-pidsβ don't filter any pids. instead, outputs all of them. no gatekeeping π-r,--recordβ sets up the/dev/dvb/adapteradapter#/dvr0for MPEG-TS record.-s,--silenceβ increases silence (can be used more than once). shhh π€«-S,--sat_number=satellite_numberβ satellite number. used only on satellite delivery systems. if not specified, disable DISEqC satellite switch.-t,--timeout=secondsβ the amount of seconds to keep the tool running for zapping and for recording. useful if you want to record a program whose duration you already know. she'll clock out on time β-U,--freq_bpf=frequencyβ SCR/Unicable band-pass filter frequency to use, in kHz. used only on satellite delivery systems.-v,--verboseβ be verbose. useful to check if the MPEG-TS is happening fine. this option can be used multiple times to increase verbosity. she can talk MORE π-V,--video_pid=video_pid#β video pid program to use (default0).-w,--lna=LNAβ enable, disable, or put LNA power in auto mode. not all frontends support it. valid values are:0β disable1β enable-1β auto
-W,--wait=timeβ adds additional wait time for DISEqC command completion. she's patient, okay?-x,--exitβ exit after tuning. bye bestie π-X,--low_trafficβ also shows DVB traffic with less than 1 packet per second. used only in monitor mode. no PID left behind π-?,--helpβ outputs the usage help.--usageβ gives a short usage message.--versionβ prints program version.
π EXIT STATUS π
on success, it returns 0. periodt. π
π₯ EXAMPLES π₯
π¬ Recording a channel
the typical use is to tune into a channel and put it into record mode:
$ dvbv5-zap -c dvb_channel.conf 'music' -r
using demux '/dev/dvb/adapter0/demux0'
reading channels from file 'dvb_channel.conf'
service has pid type 05: 204
tuning to 573000000 Hz
audio pid 104
dvb_set_pesfilter 104
Lock (0x1f) Quality= Good Signal= 100.00% C/N= -13.80dB UCB= 70 postBER= 3.14x10^-3 PER= 0
DVR interface '/dev/dvb/adapter0/dvr0' can now be opened
the channel can be watched by playing the contents of the DVR interface, with some player that recognizes the MPEG-TS format.
for example, this audio-only channel can be played with mplayer:
$ mplayer -cache 800 /dev/dvb/adapter0/dvr0
MPlayer SVN-r37077-4.8.2 (C) 2000-2014 MPlayer Team
TS file format detected.
NO VIDEO! AUDIO MPA(pid=104) NO SUBS (yet)! PROGRAM N. 0
==================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
π Monitoring a channel
the dvbv5-zap tool can also be used to monitor a DVB channel:
$ dvbv5-zap -c dvb_channel.conf 573000000 -m
using demux '/dev/dvb/adapter0/demux0'
reading channels from file 'dvb_channel.conf'
service has pid type 05: 204
tuning to 573000000 Hz
Lock (0x1f) Quality= Good Signal= 100.00% C/N= -13.90dB UCB= 384 postBER= 96.8x10^-6 PER= 0
dvb_set_pesfilter to 0x2000
PID FREQ SPEED TOTAL
0000 9.88 p/s 14.5 Kbps 1 KB
0001 1.98 p/s 2.9 Kbps 376 B
0010 18.77 p/s 27.6 Kbps 3 KB
0011 48.42 p/s 71.1 Kbps 8 KB
0012 1455.53 p/s 2137.8 Kbps 270 KB
β¦
1fff 1033.60 p/s 1518.1 Kbps 192 KB
TOT 25296.44 p/s 37154.2 Kbps 4700 KB
Lock (0x1f) Quality= Good Signal= 100.00% C/N= -13.90dB UCB= 384 postBER= 96.8x10^-6 PER= 0
π BUGS π
report bugs to Linux Media Mailing List <linux-media@vger.kernel.org>. pls be nice, they're doing their best π«Ά
π COPYRIGHT π
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.
okay that's the whole page bestie π this was DVBv5 Utils 1.32.0, dated Fri Oct 3 2014, and yeah β that's the whole dvbv5-zap(1) manual. slay, go tune something, and remember: the facts stay the same, only the vibe changed β¨π
π¦ where this page comes from
- alpine 3.24: v4l-utils-doc 1.32.0-r1 Β· LGPL-2.0-or-later
- arch rolling: v4l-utils 1.32.0-2 Β· LGPL
- fedora 43: dvb-tools 1.32.0-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only
- fedora 44: dvb-tools 1.32.0-3.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only
- nixos 26.05: v4l-utils 1.32.0
- nixpkgs unstable: v4l-utils 1.32.0
- ubuntu resolute: dvb-tools 1.32.0-2ubuntu1 Β· GPL-2.0-only
- ubuntu stonking: dvb-tools 1.32.0-5ubuntu1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms