![]() |
![]()
| ![]() |
![]()
NAMEdvb-format-convert - DVBv5 tool for file format conversions SYNOPSISdvb-format-convert [OPTION]... input-file output-file DESCRIPTIONdvb-format-convert is a tool meant to convert among different file formats. It is compliant with version 5 of the DVB API, being capable of representing all properties on any standard supported by the Linux digital TV drivers. There are currently 3 different formats supported for input:
There is one extra output format:
Unfortunately, the dvb-apps legacy zap format doesn't store the DVB standard, so, any conversions to and/or from this format requires an extra parameter, to specify the delivery system. OPTIONS
EXAMPLESConverting a channel file from legacy dvb-apps formatReads a file at the dvb-apps channel file and writes it at dvbv5 format. $ 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 formatReads a file generated by dvbv5-scan on dvbv5 format and writes a new file at dvb-apps zap format. $ 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] 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. 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 BUGSReport bugs to Linux Media Mailing List <linux-media@vger.kernel.org> COPYRIGHTCopyright (c) 2011-2014 by Mauro Carvalho Chehab. License GPLv2: GNU GPL version 2
<http://gnu.org/licenses/gpl.html>.
|