Dynamic PMT not working with DD Octopus (2 Viewers)

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    this special case only working for test-r
    It's just an example. The same process can work for any channel.

    but not if one/two service had similar and no one knowing the pids for video audio
    The PIDs can always be found in the log file, or on KingOfSat, or with various other tools. If I recall correctly, DD may even have a special tool that produces m3u playlists for TV Server.
     

    zorrokater

    Portal Member
    November 16, 2010
    22
    1
    Home Country
    Germany Germany
    Thanks for the solution: It works flawlessly. Test R now switches without any problems. I'm excited

    Specifically, I need the dynamic PMT for the channel
    HD WDR food on Astra 19.2 1H / 1K, RE / 1L / 1M / 2C. At 19:30 will be switched to the regional program.
    The URL:
    rtsp://@192.168.100.80/?src=1&freq=12421&pol=h&msys=dvbs&sr=27500&pids=0,5540,5501,5504,5502,5503,5506,5501,18,17,16

    How is the URL then?
    Just insert the 401 and 402?
    Or first create log file and check?

    I'm asking because I'm a layman. I use Google Translate for a better English.

    DD has a tool: Digital Devices Store
    Konfigurations und Service Tool für Octopus NET / Rack. Erstellung von M3U Listen für MediaPortal und VLC Player. Erstellung von MultiCast Listen für Octopus NET

    Best regards
    Zorrokater
     
    Last edited:

    zorrokater

    Portal Member
    November 16, 2010
    22
    1
    Home Country
    Germany Germany
    @KaiDiefenthal: How do I get the information so I know what I need for pids?
    The link to the frequencies does not indicate any pids.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Or first create log file and check?
    This is the easiest option for me to give you an answer that will definitely work.

    The log file needs to include the PMT change so that I can see all the PIDs.
     

    zorrokater

    Portal Member
    November 16, 2010
    22
    1
    Home Country
    Germany Germany
    Hi, my files in attachment
     

    Attachments

    • Foto info DD viewer 20190727.JPG
      Foto info DD viewer 20190727.JPG
      3.2 MB
    • MediaPortal2-Logs-2019-07-25-19.33.33.zip
      4.2 MB
    • My attemp for mm1352000.txt
      4.6 KB

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Thank you! :)

    So, we have the channel URL at the start:
    [2019-07-25 18:53:13,962] [4144874] [21 ] [DEBUG] - dvbip: Tune:DVBIP:tv:ARD WDR HD Essen Freq:0 ONID:1 TSID:1201 SID:28329 PMT:0x15A4 FTA:True LCN:10000 Url:rtsp://@192.168.100.80/?src=1&freq=12421&pol=h&msys=dvbs&sr=27500&pids=0,5540,5501,5504,5502,5503,5506,5501,18,17,16

    ...we have the initial PMT:
    [collapse][2019-07-25 18:53:15,391] [4146304] [96 ] [DEBUG] - subch:0 OnPMTReceived() pmt:15A4 ran:True dynamic:False
    [2019-07-25 18:53:15,392] [4146305] [21 ] [DEBUG] - WaitForPMT: Found PMT after 0.3738767 seconds.
    [2019-07-25 18:53:15,393] [4146306] [21 ] [INFO ] - subch:0 SendPmt:6EA9 6EA9 FFFFFFFF A
    [2019-07-25 18:53:15,393] [4146306] [21 ] [DEBUG] - Decode pmt
    [2019-07-25 18:53:15,394] [4146307] [21 ] [DEBUG] - Set descriptor data with length 3
    [2019-07-25 18:53:15,395] [4146308] [21 ] [DEBUG] - Set descriptor data with length 3
    [2019-07-25 18:53:15,395] [4146308] [21 ] [DEBUG] - PROBLEM : descriptor lengths dont match 6 9
    [2019-07-25 18:53:15,396] [4146309] [21 ] [DEBUG] - Set descriptor data with length 3
    [2019-07-25 18:53:15,397] [4146310] [21 ] [DEBUG] - PROBLEM : descriptor lengths dont match 6 9
    [2019-07-25 18:53:15,397] [4146310] [21 ] [DEBUG] - Set descriptor data with length 3
    [2019-07-25 18:53:15,398] [4146311] [21 ] [DEBUG] - PROBLEM : descriptor lengths dont match 7 10
    [2019-07-25 18:53:15,398] [4146311] [21 ] [DEBUG] - Set descriptor data with length 3
    [2019-07-25 18:53:15,399] [4146312] [21 ] [DEBUG] - PROBLEM : descriptor lengths dont match 6 9
    [2019-07-25 18:53:15,399] [4146312] [21 ] [DEBUG] - Set descriptor data with length 3
    [2019-07-25 18:53:15,400] [4146313] [21 ] [DEBUG] - Set descriptor data with length 3
    [2019-07-25 18:53:15,401] [4146314] [21 ] [DEBUG] - Set descriptor data with length 3
    [2019-07-25 18:53:15,401] [4146314] [21 ] [DEBUG] - Set descriptor data with length 10
    [2019-07-25 18:53:15,402] [4146315] [21 ] [DEBUG] - PROBLEM : descriptor lengths dont match 3 13
    [2019-07-25 18:53:15,402] [4146315] [21 ] [INFO ] - subch:0 SendPMT: Channel is FTA, nothing to do.
    [2019-07-25 18:53:15,403] [4146316] [21 ] [DEBUG] - subch:0 SetMpegPidMapping
    [2019-07-25 18:53:15,403] [4146316] [21 ] [DEBUG] - subch:0 pid:157D pcr
    [2019-07-25 18:53:15,404] [4146317] [21 ] [DEBUG] - subch:0 pid:15A4 pmt
    [2019-07-25 18:53:15,404] [4146317] [21 ] [DEBUG] - subch:0 pid:157D video type:H.264
    [2019-07-25 18:53:15,405] [4146318] [21 ] [DEBUG] - subch:0 map pid:157D video type:H.264
    [2019-07-25 18:53:15,406] [4146319] [21 ] [DEBUG] - subch:0 pid:157E audio lang:deu type:MPEG-1
    [2019-07-25 18:53:15,406] [4146319] [21 ] [DEBUG] - subch:0 map pid:157E audio lang:deu type:MPEG-1
    [2019-07-25 18:53:15,407] [4146320] [21 ] [DEBUG] - subch:0 pid:157F audio lang:mis type:MPEG-1
    [2019-07-25 18:53:15,408] [4146321] [21 ] [DEBUG] - subch:0 pid:1580 teletext type:6
    [2019-07-25 18:53:15,408] [4146321] [21 ] [DEBUG] - subch:0 map pid:1580 teletext type:6
    [2019-07-25 18:53:15,409] [4146322] [21 ] [DEBUG] - subch:0 pid:1582 audio lang:deu type:AC3
    [2019-07-25 18:53:15,409] [4146322] [21 ] [DEBUG] - subch:0 map pid:1582 audio lang:deu type:AC3
    [2019-07-25 18:53:15,410] [4146323] [21 ] [DEBUG] - subch:0 pid:87B type:B
    [2019-07-25 18:53:15,411] [4146324] [21 ] [DEBUG] - subch:0 pid:942 type:5
    [2019-07-25 18:53:15,411] [4146324] [21 ] [DEBUG] - subch:0 pid:948 type:C
    [2019-07-25 18:53:15,412] [4146325] [21 ] [DEBUG] - subch:0 pid:1581 subtitle type:6
    [2019-07-25 18:53:15,412] [4146325] [21 ] [DEBUG] - subch:0 map pid:1581 subtitle type:6[/collapse]

    ...and we have the updated PMT:
    [collapse]
    [2019-07-25 19:29:33,290] [6324203] [96 ] [DEBUG] - subch:0 OnPMTReceived() pmt:15A4 ran:True dynamic:True
    [2019-07-25 19:29:33,292] [6324205] [PMT update] [INFO ] - subch:0 SendPmt:6EA9 6EA9 A B
    [2019-07-25 19:29:33,293] [6324206] [PMT update] [DEBUG] - Decode pmt
    [2019-07-25 19:29:33,293] [6324206] [PMT update] [DEBUG] - Set descriptor data with length 3
    [2019-07-25 19:29:33,294] [6324207] [PMT update] [DEBUG] - Set descriptor data with length 3
    [2019-07-25 19:29:33,294] [6324207] [PMT update] [DEBUG] - PROBLEM : descriptor lengths dont match 6 9
    [2019-07-25 19:29:33,295] [6324208] [PMT update] [DEBUG] - Set descriptor data with length 3
    [2019-07-25 19:29:33,295] [6324208] [PMT update] [DEBUG] - PROBLEM : descriptor lengths dont match 7 10
    [2019-07-25 19:29:33,296] [6324209] [PMT update] [DEBUG] - Set descriptor data with length 3
    [2019-07-25 19:29:33,296] [6324209] [PMT update] [DEBUG] - Set descriptor data with length 3
    [2019-07-25 19:29:33,297] [6324210] [PMT update] [DEBUG] - Set descriptor data with length 3
    [2019-07-25 19:29:33,297] [6324210] [PMT update] [INFO ] - subch:0 SendPMT: Channel is FTA, nothing to do.
    [2019-07-25 19:29:33,297] [6324210] [PMT update] [DEBUG] - subch:0 SetMpegPidMapping
    [2019-07-25 19:29:33,298] [6324211] [PMT update] [DEBUG] - subch:0 pid:259 pcr
    [2019-07-25 19:29:33,298] [6324211] [PMT update] [DEBUG] - subch:0 pid:15A4 pmt
    [2019-07-25 19:29:33,299] [6324212] [PMT update] [DEBUG] - subch:0 pid:259 video type:MPEG-2
    [2019-07-25 19:29:33,299] [6324212] [PMT update] [DEBUG] - subch:0 map pid:259 video type:MPEG-2
    [2019-07-25 19:29:33,300] [6324213] [PMT update] [DEBUG] - subch:0 pid:25A audio lang:deu type:MPEG-1
    [2019-07-25 19:29:33,300] [6324213] [PMT update] [DEBUG] - subch:0 pid:1F8 teletext type:6
    [2019-07-25 19:29:33,300] [6324213] [PMT update] [DEBUG] - subch:0 map pid:1F8 teletext type:6
    [2019-07-25 19:29:33,301] [6324214] [PMT update] [DEBUG] - subch:0 pid:87B type:B
    [2019-07-25 19:29:33,301] [6324214] [PMT update] [DEBUG] - subch:0 pid:942 type:5
    [2019-07-25 19:29:33,302] [6324215] [PMT update] [DEBUG] - subch:0 pid:948 type:C[/collapse]

    From these we can find the required URL. :)

    Base for all channels:
    • 0 = PAT (always needed)
    • 16 = NIT (needed for scanning)
    • 17 = SDT (needed for scanning)
    • 18 = EIT (needed for EPG data)
    Initial PMT:
    • 0x87b -> 2171 = unknown, probably not needed
    • 0x942 -> 2370 = unknown, probably not needed
    • 0x948 -> 2376 = unknown, probably not needed
    • 0x157d -> 5501 = h.264 video/PCR PID
    • 0x157e -> 5502 = German MPEG 1 audio PID
    • 0x157f -> 5503 = "MIS" MPEG 1 audio PID
    • 0x1580 -> 5504 = Teletext PID
    • 0x1581 -> 5505 = DVB subtitles
    • 0x1582 -> 5506 = German AC-3/DD audio PID
    • 0x15a4 -> 5540 = PMT (needed for tuning)
    Updated PMT:
    • 0x1f8 -> 504 = Teletext PID
    • 0x259 -> 601 = MPEG 2 video/PCR PID
    • 0x25a -> 602 = German MPEG 1 audio PID
    • 0x87b -> 2171 = unknown, probably not needed
    • 0x942 -> 2370 = unknown, probably not needed
    • 0x948 -> 2376 = unknown, probably not needed
    • 0x15a4 -> 5540 = PMT (needed for tuning)
    Removing the duplicate and "unknown, probably not needed" PIDs gives the following URL which should work all the time:
    rtsp://@192.168.100.80/?src=1&freq=12421&pol=h&msys=dvbs&sr=27500&pids=0,16,17,18,504,601,602,5501,5502,5503,5504,5505,5506,5540
     

    Users who are viewing this thread

    Top Bottom