TV stream stops every day at certain time, certain channel (1 Viewer)

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Yes, it is certainly tricky to test. Hopefully it will be possible for Schaussi with the same problem at the same time every day.

    Thanks again for your efforts. :)
     

    te3hpurp

    Retired Team Member
  • Premium Supporter
  • September 23, 2008
    910
    231
    Rovaniemi
    Home Country
    Finland Finland
    Sorry to jump in, but would it be easier for mm to test, if Thread starter takes a short ts dump, where change exist, so that mm can use fake bda driver, which takes in that ts dump,

    Br,
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    No, unfortunately not... because the problem involves testing of decryption, which can only tested with real DD hardware.

    [edit: ...but a good suggestion. (y) ]
     
    Last edited:

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,335
    Home Country
    Germany Germany
    Here is a new set of logs for the following scenario:
    • Unpatched file (1.12 original)
    • Channel A: "Neu im Kino: Ant Man" starts @ 16:45 with no selectable audio stream
    • Channel B: parallel recording "In secret"
    At ~+1:50 there is an audio change on Channel A, which introduces AC3 sound. No freeze or even audio hick-up is happening on channel B.

    I will go on with testing the new patch when you will advise to do so.

    Regards,
    HTPC_Sourcer
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Yes, that's perfect. (y)

    As you say, "Ant Man" with 1 audio stream:
    [collapse]
    [2015-07-19 16:45:13,993] [Log ] [scheduler thread] [INFO ] - subch:0 pid:4FF pcr
    [2015-07-19 16:45:13,993] [Log ] [scheduler thread] [INFO ] - subch:0 pid:64 pmt
    [2015-07-19 16:45:13,993] [Log ] [scheduler thread] [INFO ] - subch:0 pid:20 teletext type:6
    [2015-07-19 16:45:13,993] [Log ] [scheduler thread] [INFO ] - subch:0 map pid:20 teletext type:6
    [2015-07-19 16:45:13,993] [Log ] [scheduler thread] [INFO ] - subch:0 pid:30 type:5
    [2015-07-19 16:45:13,993] [Log ] [scheduler thread] [INFO ] - subch:0 pid:4FF video type:H.264
    [2015-07-19 16:45:13,993] [Log ] [scheduler thread] [INFO ] - subch:0 map pid:4FF video type:H.264
    [2015-07-19 16:45:13,993] [Log ] [scheduler thread] [INFO ] - subch:0 pid:503 audio lang:deu type:AC3
    [2015-07-19 16:45:13,993] [Log ] [scheduler thread] [INFO ] - subch:0 map pid:503 audio lang:deu type:AC3
    [/collapse]

    "In Secret" with 2 audio streams:
    [collapse]
    [2015-07-19 16:45:15,483] [Log ] [scheduler thread] [INFO ] - subch:0 pid:1FF pcr
    [2015-07-19 16:45:15,483] [Log ] [scheduler thread] [INFO ] - subch:0 pid:61 pmt
    [2015-07-19 16:45:15,483] [Log ] [scheduler thread] [INFO ] - subch:0 pid:20 teletext type:6
    [2015-07-19 16:45:15,483] [Log ] [scheduler thread] [INFO ] - subch:0 map pid:20 teletext type:6
    [2015-07-19 16:45:15,483] [Log ] [scheduler thread] [INFO ] - subch:0 pid:30 type:5
    [2015-07-19 16:45:15,483] [Log ] [scheduler thread] [INFO ] - subch:0 pid:1FF video type:H.264
    [2015-07-19 16:45:15,483] [Log ] [scheduler thread] [INFO ] - subch:0 map pid:1FF video type:H.264
    [2015-07-19 16:45:15,483] [Log ] [scheduler thread] [INFO ] - subch:0 pid:203 audio lang:deu type:AC3
    [2015-07-19 16:45:15,483] [Log ] [scheduler thread] [INFO ] - subch:0 map pid:203 audio lang:deu type:AC3
    [2015-07-19 16:45:15,483] [Log ] [scheduler thread] [INFO ] - subch:0 pid:204 audio lang:eng type:AC3
    [2015-07-19 16:45:15,483] [Log ] [scheduler thread] [INFO ] - subch:0 map pid:204 audio lang:eng type:AC3[/collapse]

    Audio stream change for "Ant Man" adds the English AC3 stream:
    [collapse]
    [2015-07-19 16:47:10,124] [Log ] [13 ] [INFO ] - subch:0 OnPMTReceived() pmt:64 ran:True dynamic:True
    [2015-07-19 16:47:10,124] [Log ] [13 ] [INFO ] - subch:0 SendPmt:83 83 C E
    [2015-07-19 16:47:10,124] [Log ] [13 ] [INFO ] - Decode pmt
    [2015-07-19 16:47:10,124] [Log ] [13 ] [INFO ] - descr1 len:6 9 4 18 33 f8 b6
    [2015-07-19 16:47:10,124] [Log ] [13 ] [INFO ] - descr1 len:6 9 4 9 c4 fb b6
    [2015-07-19 16:47:10,124] [Log ] [13 ] [INFO ] - descr1 len:6 9 4 9 af ff b6
    [2015-07-19 16:47:10,124] [Log ] [13 ] [INFO ] - descr1 len:6 9 4 9 8c fa b6
    [2015-07-19 16:47:10,124] [Log ] [13 ] [INFO ] - Set descriptor data with length 3
    [2015-07-19 16:47:10,124] [Log ] [13 ] [INFO ] - PROBLEM : descriptor lengths dont match 7 10
    [2015-07-19 16:47:10,124] [Log ] [13 ] [INFO ] - Set descriptor data with length 3
    [2015-07-19 16:47:10,124] [Log ] [13 ] [INFO ] - Set descriptor data with length 6
    [2015-07-19 16:47:10,124] [Log ] [13 ] [INFO ] - PROBLEM : descriptor lengths dont match 3 9
    [2015-07-19 16:47:10,124] [Log ] [13 ] [INFO ] - Set descriptor data with length 6
    [2015-07-19 16:47:10,124] [Log ] [13 ] [INFO ] - PROBLEM : descriptor lengths dont match 3 9
    [2015-07-19 16:47:10,124] [Log ] [13 ] [INFO ] - subch:0 SendPMT version:14 len:115 131
    [2015-07-19 16:47:10,124] [Log ] [13 ] [DEBUG] - Digital Devices:--> Setting service id 131 for decrypting returned 0
    [2015-07-19 16:47:10,124] [Log ] [13 ] [INFO ] - subch:0 cam flags:True
    [2015-07-19 16:47:10,124] [Log ] [13 ] [INFO ] - subch:0 SetMpegPidMapping
    [2015-07-19 16:47:10,124] [Log ] [13 ] [INFO ] - subch:0 pid:4FF pcr
    [2015-07-19 16:47:10,139] [Log ] [13 ] [INFO ] - subch:0 pid:64 pmt
    [2015-07-19 16:47:10,139] [Log ] [13 ] [INFO ] - subch:0 pid:20 teletext type:6
    [2015-07-19 16:47:10,139] [Log ] [13 ] [INFO ] - subch:0 map pid:20 teletext type:6
    [2015-07-19 16:47:10,139] [Log ] [13 ] [INFO ] - subch:0 pid:30 type:5
    [2015-07-19 16:47:10,139] [Log ] [13 ] [INFO ] - subch:0 pid:4FF video type:H.264
    [2015-07-19 16:47:10,139] [Log ] [13 ] [INFO ] - subch:0 map pid:4FF video type:H.264
    [2015-07-19 16:47:10,139] [Log ] [13 ] [INFO ] - subch:0 pid:503 audio lang:deu type:AC3
    [2015-07-19 16:47:10,139] [Log ] [13 ] [INFO ] - subch:0 map pid:503 audio lang:deu type:AC3
    [2015-07-19 16:47:10,139] [Log ] [13 ] [INFO ] - subch:0 pid:504 audio lang:eng type:AC3
    [2015-07-19 16:47:10,139] [Log ] [13 ] [INFO ] - subch:0 map pid:504 audio lang:eng type:AC3
    [2015-07-19 16:47:10,139] [Log ] [13 ] [INFO ] - SetRecorderPids
    [2015-07-19 16:47:10,139] [Log ] [13 ] [DEBUG] - OnPMTReceived: MDAPI disabled. Possible reasons are _mdplugs=null or provider not listed
    [2015-07-19 16:47:10,139] [Log ] [13 ] [INFO ] - PID seen - type = Video
    [2015-07-19 16:47:10,139] [Log ] [13 ] [DEBUG] - Recorder audioVideoEventHandler Video
    [2015-07-19 16:47:10,171] [Log ] [13 ] [INFO ] - PID seen - type = Audio
    [2015-07-19 16:47:10,171] [Log ] [13 ] [DEBUG] - Recorder audioVideoEventHandler Audio[/collapse]

    It is important to note that the new audio stream remains encrypted. I can tell this because there is only one "PID seen - type = Audio" entry. So, I'd expect that audio stream to show in the recording, but it won't be playable. That is the bug that the patch is trying to solve... without affecting other tuners.
     

    Stéphane Lenclud

    Retired Team Member
  • Premium Supporter
  • April 29, 2013
    2,576
    1,294
    Home Country
    Germany Germany
    I have not read through all your posts guys but I too almost never come across that problem any more.
    I also switched from maxcam to deltacam.
    I'm saying almost cause after a deltacam firmware upgrade a couple of recordings had that issue again but then it stopped occurring, maybe it needed a reboot for some reason :)
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    The issue is very much dependent on timing. If your pre-record time is relatively low, you might not encounter the issue...
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,335
    Home Country
    Germany Germany
    I have not read through all your posts guys but I too almost never come across that problem any more.
    The behavior mm is describing, is still happening. Additional PMT's that are added later, will not be decrypted. In this specific recording the first audio stream switches to AC3 german, whiel a 2nd AC3 English is added. The latter remains indeed encrypted and switching to it continues to paly the video, hwoever, without audio now.

    Recording times were deliberately chosen to capture the problem. I have loaded the new library and scheduled recordings for later today.
     

    Schaussi

    Portal Member
    July 25, 2008
    13
    2
    Sorry, did not get the email notifications...
    Thank you for the patch, I created the test recording tasks for tonight.
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,335
    Home Country
    Germany Germany
    @mm1352000 ,

    It doesn't look good.

    • Using new tvlibrary.dll
    • Channel A: "Monsieur Claude" starts @ 18:05 with no selectable audio stream
    • Channel B: parallel recording "Tammy"

    At ~+2:00 there is an audio change on channel A, which introduces AC3 sound. Moving forward until the movie actually starts and then switching to the second audio stream yields - silence :(
     

    Users who are viewing this thread

    Top Bottom