dvb-format-convert(1)
π NAME π
okay bestie, welcome to dvb-format-convert(1) β it's a User Commands manual page and it's literally the DVBv5 tool for file format conversions π
like, it takes your TV channel files and flips them between formats. no cap.
β¨ SYNOPSIS β¨
dvb-format-convert [OPTION]... input-file output-file
π¦ DESCRIPTION π¦
dvb-format-convert is a tool that's here to convert between different file formats. she's compliant with version 5 of the DVB API, which means she can represent all properties on any standard supported by the Linux digital TV drivers. main character energy fr fr.
so there are currently 3 different formats supported for input:
dvbv5β the standard format atlibdvbv5, and she's capable of representing all different TV standards. the moment.channelβ thedvb-appslegacy channel format, which supports only ATSC, DVB-C, DVB-S and DVB-T standards, extended to also supports2-scanformat for DVB-S2 files, and to support DVB-T2.zapβ thedvb-appslegacy format for tuning, which supports only ATSC, DVB-C, DVB-S and DVB-T standards.
and there's one extra output format:
vdrβ the format used by the vdr application. it supports all features found up on vdr version 2.1.6. slay.
π«Ά unfortunately, thedvb-appslegacyzapformat doesn't store the DVB standard, so any conversions to and/or from this format require an extra parameter, to specify the delivery system. iykyk.
π OPTIONS π
the following options are valid:
-I,--input-format=formatβ the format of the input file. supported input formats:channel,zapanddvbv5.-O,--output-format=formatβ the format of the output file. supported output formats:vdr,channel,zapanddvbv5.-s,--delsys=systemβ the delivery system type. needed if input or output format is ZAP. like, you literally have to.-?,--helpβ outputs the usage help.--usageβ gives a short usage message.-V,--versionβ prints the program version.
π EXAMPLES π
πΈ converting a channel file from legacy dvb-apps format
reads a file at the dvb-apps channel file and writes it at dvbv5 format. iconic.
$ dvb-format-convert -I channel -O dvbv5 dvbc-channel-legacy dvbc-channel
Reading file dvbc-channel-legacy
Writing file dvbc-channel
π¦ convert a dvbv5 file with programs on it to the legacy dvb-apps zap format
reads a file generated by dvbv5-scan on dvbv5 format and writes a new file at dvb-apps zap format. ok so watch this.
$ dvb-format-convert -I dvbv5 -O zap -s dvbc/annex_a dvb_channel.conf legacy.conf
Reading file dvb_channel.conf
Writing file legacy.conf
WARNING: missing video PID while parsing entry 6 of legacy.conf
WARNING: missing video PID while parsing entry 7 of legacy.conf
WARNING: missing video PID while parsing entry 8 of legacy.conf
WARNING: missing audio PID while parsing entry 8 of legacy.conf
please notice that the legacy dvb-apps format assumes that every channel will have one (and just one) audio PID and one (and just one) video PID, while the dvbv5 format supports multiple PID per service type. π
the above warnings happened on pure-audio channels and on data-only channels:
original dvb_channel.conf file:
[the]
SERVICE_ID = 4
VIDEO_PID = 42
AUDIO_PID = 257
PID_f1 = 768
FREQUENCY = 573000000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 5217000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A
[quick]
SERVICE_ID = 5
VIDEO_PID = 288
AUDIO_PID = 289
FREQUENCY = 573000000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 5217000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A
[brown]
SERVICE_ID = 7
VIDEO_PID = 36
AUDIO_PID = 305
FREQUENCY = 573000000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 5217000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A
[fox]
SERVICE_ID = 13
VIDEO_PID = 272
AUDIO_PID = 273
FREQUENCY = 573000000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 5217000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A
[jumps]
SERVICE_ID = 18
VIDEO_PID = 368
AUDIO_PID = 369
FREQUENCY = 573000000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 5217000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A
[over]
SERVICE_ID = 48
VIDEO_PID = 336
AUDIO_PID = 337 338 849
PID_86 = 816
FREQUENCY = 573000000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 5217000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A
[the]
SERVICE_ID = 57
AUDIO_PID = 353
FREQUENCY = 573000000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 5217000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A
[lazy]
SERVICE_ID = 104
AUDIO_PID = 321
FREQUENCY = 573000000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 5217000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A
[dog]
SERVICE_ID = 252
PID_05 = 3047 3046 3045 3044 3042
FREQUENCY = 573000000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 5217000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A
so, for the channels with multiple PIDs, the converted legacy.conf file will have just the first one.
for the channels without an audio or video PID, it will store PID=0. periodt.
this is the output file for the above channel list:
the:573000000:INVERSION_AUTO:5217000:FEC_NONE:QAM_256:42:257:4
quick:573000000:INVERSION_AUTO:5217000:FEC_NONE:QAM_256:288:289:5
brown:573000000:INVERSION_AUTO:5217000:FEC_NONE:QAM_256:36:305:7
fox:573000000:INVERSION_AUTO:5217000:FEC_NONE:QAM_256:272:273:13
jumps:573000000:INVERSION_AUTO:5217000:FEC_NONE:QAM_256:368:369:18
over:573000000:INVERSION_AUTO:5217000:FEC_NONE:QAM_256:336:337:48
the:573000000:INVERSION_AUTO:5217000:FEC_NONE:QAM_256:0:353:57
lazy:573000000:INVERSION_AUTO:5217000:FEC_NONE:QAM_256:0:321:104
dog:573000000:INVERSION_AUTO:5217000:FEC_NONE:QAM_256:0:0:252
π BUGS π
report bugs to Linux Media Mailing List <linux-media@vger.kernel.org> β like, actually tell them, not me π
π 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.
and that's the whole page bestie π«Ά this was DVBv5 Utils 1.32.0, dated Fri Oct 3 2014 β yes it's giving vintage but she still ate π β¨
π¦ 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