File Format Comparison
Comparison of existing DVB file formats.
"Nokia" format.
Example:
:SAT "Astra" 19.2 E :NET "Canal Sat :TRP 1074 1189500 275000 1 V 0 3/4 :CHN "Canal Sat :CHN "Hit List" 29461 R
- Can only represent DVBS.
- From libdvb - cannot find other examples.
- Can be edited in a text editor.
- Easy to parse.
- Appears to be the format used by an unknown nokia receiver (?)
- May not be the same across all nokia devices.
meztler bros' libdvb XML
Example:
<?xml version="1.0"?> <satellite> <transponder type="S" freq="11817000" srate="27500000" polarity="V" > <service id="8001" ca="1"> <description tag="0x48" type="1" provider_name="CANALSATELLITE" service_name="S$ <ca_descriptor tag="0x09" system_id="0x0500" ca_pid="2" /> <ca_descriptor tag="0x09" system_id="0x0500" ca_pid="5" /> <stream type="198" pid="1251"> </stream> </satellite>
- Can represent all FE types.
- Extensible
- Can be edited in a text editor, but XML reduces clarity.
- Easy to parse, but requires XML parser.
meztler bros' libdvb plaintext
Example:
LNB ID 2 TYPE 0 LOF1 9750000 LOF2 10600000 SLOF 11700000 DISEQCNR 2 SAT ID 3592 NAME "Thor 2,3 " LNBID 2 FMIN 10700000 FMAX 12700000 TRANSPONDER ID 0001 SATID 3592 TYPE 0 FREQ 11229000 POL H SRATE 24500000 FEC 7/8 CHANNEL ID 0 SATID 3592 TPID 1 SID ca TYPE 0 VPID 2bc APID 2bd ANAME "eng" TTPID c9 PCRPID 2bc CHANNEL ID 1 SATID 3592 TPID 1 SID cb TYPE 0 VPID 200 APID 280 TTPID 240 CHANNEL ID 2 SATID 3592 TPID 1 SID cd TYPE 0 VPID 258 APID 259 TTPID cb CHANNEL ID 3 SATID 3592 TPID 1 SID 196 TYPE 0 VPID 384 APID 385 TTPID 12d
- Can represent all FE types.
- Exact meaning of some values unclear.
- Extensible.
- Easy to edit in a text editor.
- Easy to parse.
satcodx
Example:
SATCODX103PANAMSAT 9 TDIC10037200001USA Amer3020PAN009CA______195103000000000000000030000100001ESP__________ica Latina SATCODX103PANAMSAT 9 TDIC10037200001Cino Lat3020PAN009CA______195103000000000000000040000100001ESP__________ino SATCODX103PANAMSAT 9 TDIC10037200001Exa TV 3020PAN009CA______195103000000000000000050000100001ESP__________ SATCODX103PANAMSAT 9 TDIC10037200001Hallmark3020PAN009CA______195103000000000000000060000100001ESP__________ Channel Mex SATCODX103PANAMSAT 9 TDIC10037200001MVS Empr3020PAN009CA______195103000000000000000070000100001ESP__________esarial
- Likely can only be able to represent DVBS.
- Not easily editable.. or understood :)
- Easy to parse.
- Not extensible.
zap
Example:
BBC Radio 1:658166670:INVERSION_OFF:BANDWIDTH_8_MHZ:FEC_2_3:FEC_1_2:QAM_64:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:0:6210:14336 BBC Radio 2:658166670:INVERSION_OFF:BANDWIDTH_8_MHZ:FEC_2_3:FEC_1_2:QAM_64:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:0:6226:14400 BBC Radio 3:658166670:INVERSION_OFF:BANDWIDTH_8_MHZ:FEC_2_3:FEC_1_2:QAM_64:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:0:6242:14464 BBC Radio 4:658166670:INVERSION_OFF:BANDWIDTH_8_MHZ:FEC_2_3:FEC_1_2:QAM_64:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE:0:6258:14528
- Can represent all FE types - but exact FE type is not encoded in the file.
- Easily editable and understood.
- Easy to parse.
- Not easily extensible - you can keep adding on more stuff at the end, but this reduces clarity a great deal.
vdr sources.conf
This gives a standard identifier to each satellite cluster as there is no other defined.
Example:
S5E Sirius 2/3 S7E Eutelsat W3 S10E Eutelsat W1R S13E Hotbird 1-(5)-6 S16E Eutelsat W2
- Easy to parse
- Extensible (e.g. to -C and -T)
vdr disceqc.conf
This defines diseqc sequences for tuning to a particular channel.
Example:
S19.2E 11700 V 9750 t v W15 [E0 10 38 F0] W15 A W15 t S19.2E 99999 V 10600 t v W15 [E0 10 38 F1] W15 A W15 T S19.2E 11700 H 9750 t V W15 [E0 10 38 F2] W15 A W15 t S19.2E 99999 H 10600 t V W15 [E0 10 38 F3] W15 A W15 T
To find the diseqc sequence for a channel, find the source_id, the frequency, and the polarity. Using those, the entries in diseqc.conf are searched for a matching entry. When found, the associated command string is executed.
Command strings: t v W15 [E0 10 38 F0] W15 A W15 t This says turn tone off, 13v, wait 15ms, send a disqec master command, wait 15ms, send tone burst A, wait 15 seconds, turn tone off.
- Very extensible.
- The nicest external diseqc representation seen so far.
- Easily editable and understood.