User:Pmhahn

From MythTV Official Wiki
Jump to: navigation, search

Some private notes on my MythTV research.

DVB-C

For DVB-C in Europe/Germany/Lower Saxony/Oldenburg:

C 658000000 6900000 NONE QAM64
...
In MythTV this is in Dtv_multiplex_table:frqeuency,symbolrate,fec,modulation.

Tunes to each frequency and scans the multiplex for all programs.

 scan de-awe_ol

Scan multiplex for all known PIDs:

 dvbsnoop -s pidscan

Dump the Program Association Table (PAT, always PID=0), which maps "Program numbers" to PIDs:

 dvbsnoop -s sec 0
PID:  0 (0x0000)  [= assigned for: ISO 13818-1 Program Association Table (PAT)]
Table_ID: 0 (0x00)  [= Program Association Table (PAT)]
Transport_Stream_ID: 1101 (0x044d)
    Program_number: 28108 (0x6dcc) hr-fernsehen
    Program_map_PID: 300 (0x012c)
Transport_Stream_ID
Dtv_multiplex_table:transportid
Program_number
Channel_table:serviceid
Program_map_PID
-

The Bouquet Association Table (BAT) and Service Description Table (SDT) provide the name of the channel(=service):

 dvbsnoop -s sec 17
PID:  17 (0x0011)  [= assigned for: DVB Service Description Table (SDT), Bouquet Association Table (BAT)]
Table_ID: 66 (0x42)  [= Service Description Table (SDT) - actual transport stream]
Transport_Stream_ID: 1101 (0x044d)
Original_network_ID:  1 (0x0001)  [= Astra Satellite Network 19,2°E | Sociétę Européenne des Satellites]
    Service_id: 28108 (0x6dcc)  [=  --> refers to PMT program_number]
            service_type: 1 (0x01)  [= digital television service]
            service_provider_name: "ARD"
            Service_name: "hr-fernsehen"

PID:  17 (0x0011)  [= assigned for: DVB Service Description Table (SDT), Bouquet Association Table (BAT)]
Table_ID: 74 (0x4a)  [= Bouquet Association Table (BAT)]

    Transport_stream_ID: 1101 (0x044d)
    Original_network_ID: 5 (0x0005)  [= Astra | Société Européenne des Satellites]
               service_ID: 28108 (0x6dcc)[ --> refers to PMT program_number]
               service_type: 1 (0x01)  [= digital television service<]
Service_name
Channel_table:callsign

The Program Map Table (PMT) gives the other PIDs, where the video, audio, teletext and other data is:

 dvbsnoop -s sec 300
PID:  300 (0x012c)
Table_ID: 2 (0x02)  [= Program Map Table (PMT)]
PCR PID: 301 (0x012d)
    Stream_type: 2 (0x02)  [= ITU-T Rec. H.262 | ISO/IEC 13818-2 Video | ISO/IEC 11172-2 constr. parameter video stream]
    Elementary_PID: 301 (0x012d)

    Stream_type: 3 (0x03)  [= ISO/IEC 11172 Audio]
    Elementary_PID: 302 (0x012e)
               ISO639_language_code:  deu

    Stream_type: 3 (0x03)  [= ISO/IEC 11172 Audio]
    Elementary_PID: 303 (0x012f)
               ISO639_language_code:  mis

    Stream_type: 6 (0x06)  [= ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data]
    Elementary_PID: 304 (0x0130)
            DVB-DescriptorTag: 86 (0x56)  [= teletext_descriptor]

    Stream_type: 11 (0x0b)  [= ISO/IEC 13818-6 DSM-CC U-N Messages]
    Elementary_PID: 2171 (0x087b)
            MPEG-DescriptorTag: 19 (0x13)  [= carousel_identifier_descriptor]

    Stream_type: 5 (0x05)  [= ITU-T Rec. H.222.0 | ISO/IEC 13818-1 private sections]
    Elementary_PID: 2270 (0x08de)
            DVB-DescriptorTag: 111 (0x6f)  [= application_signalling_descriptor]