Site Tools


dvb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dvb [2011/06/21 00:55] – [DVBSnoop] paulsmithdvb [2015/11/27 15:44] (current) paulsmith
Line 1: Line 1:
 +====== DVB apps reference ======
 +http://www.penlug.org/twiki/bin/view/Main/DigitalTelevisionDVB
  
 +
 +====== MythTV Clear out program guide ======
 +  mysql -umythtv -pmythtv mythconverg -e "DELETE FROM program;"
 +  mysql -umythtv -pmythtv mythconverg -e "DELETE FROM programrating;"
 +
 +====== Kaffeine ======
 +Worth looking at.
 +
 +====== Scan Channels ======
 +<code>
 +scan-dvb /usr/share/dvb/dvb-t/au-Brisbane > ~/.tzap/channels.conf
 +
 +if there is zero pids then you need to do this and find the AC3 pids
 +scan-dvb -a 1 -o pids /usr/share/dvb/dvb-t/au-Brisbane
 +
 +
 +</code>
 +
 +====== DVBSnoop ======
 +<code>
 +CARD0:
 +dvbtune -c 0 -f 226500000 -cr 3_4 -qam 64 -bw 7 -I 2 -tm 8 -gi 16
 +CARD1:
 +dvbtune -c 1 -f 226500000 -cr 3_4 -qam 64 -bw 7 -I 2 -tm 8 -gi 16
 +
 +CARD0:
 +dvbsnoop -adapter 0 -s feinfo
 +CARD1:
 +dvbsnoop -adapter 1 -s feinfo
 +
 +
 +Note: to get EIT there must be a running dvbtune.
 +In terminal #1
 +dvbtune -m -c 0 -f 226500000 -cr 3_4 -qam 64 -bw 7 -I 2 -tm 8 -gi 16
 +In terminal #2
 +dvbsnoop -pd 9 -s sec -nph -n 5 0x12
 +
 +
 +
 +</code>
 +
 +
 +
 +<code>
 +
 +dvbsnoop -n 1 0x00
 +eg:
 +    Program_number: 1025 (0x0401)
 +    reserved: 7 (0x07)
 +    Program_map_PID: 257 (0x0101)
 +
 +=>
 +dvbsnoop  -n 1 -nph 0x0101
 +
 +    Stream_type: 4 (0x04)  [= ISO/IEC 13818-3 Audio]
 +    reserved_1: 7 (0x07)
 +    Elementary_PID: 660 (0x0294)
 +    reserved_2: 15 (0x0f)
 +    ES_info_length: 17 (0x0011)
 +
 +    Stream_type: 2 (0x02)  [= ITU-T Rec. H.262 | ISO/IEC 13818-2 Video | ISO/IEC 11172-2 constr. parameter video stream]
 +    reserved_1: 7 (0x07)
 +    Elementary_PID: 513 (0x0201)
 +    reserved_2: 15 (0x0f)
 +    ES_info_length: 16 (0x0010)
 +
 +
 +
 +dvbsnoop -n 1 0x010
 +
 +
 +dvbsnoop -n 1 0x011
 +
 +
 +</code>