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

Schaussi

Portal Member
July 25, 2008
13
2
Unfortunately, my problem seems not to be solved with the patched dll.
The recorded file of ORF2O HD works fine for the first 10 minutes, then it looks like it skips the local news, after news are finished it works again. Playing the file in Windows Media Player, the file also seems to be damaged after about 10 minutes.
I have recorded ORF1 HD in parallel like you described, this one was recorded fine.
 

mm1352000

Development Group
  • Team MediaPortal
  • September 1, 2008
    21,577
    8,222
    Home Country
    New Zealand New Zealand
    Country flag
    @Schaussi
    Unfortunately your log files are useless to me because of this:
    [2015-07-20 17:01:08,019] [Log ] [4 ] [INFO ] - Set loglevel to: Warning

    That means I can't see anything.
    Please could you set the log level to debug (TV Server configuration, general section), then restart the TV service, and try to reproduce the problem again with the news tonight.
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,577
    8,222
    Home Country
    New Zealand New Zealand
    Country flag
    @HTPC_Sourcer
    It looks like I messed up the patch. Sorry again! :oops:

    In your log files I see channel A's recording start:
    [2015-07-20 18:05:00,365] [Log ] [scheduler thread] [DEBUG] - Scheduler: Check recordings for schedule Monsieur Claude und seine Töchter...
    [2015-07-20 18:05:00,381] [Log ] [scheduler thread] [INFO ] - Scheduler: Time to record Sky Cinema HD 18:05-18:45 Manuell (Sky Cinema HD)

    [collapse]
    [2015-07-20 18:05:01,601] [Log ] [scheduler thread] [INFO ] - subch:0 SendPMT version:5 len:94 131
    [2015-07-20 18:05:01,601] [Log ] [scheduler thread] [DEBUG] - Digital Devices:--> Setting service id 0 for decrypting returned 0
    [2015-07-20 18:05:01,601] [Log ] [scheduler thread] [DEBUG] - Digital Devices:--> Setting service id 131 for decrypting returned 0
    [2015-07-20 18:05:01,601] [Log ] [scheduler thread] [INFO ] - subch:0 cam flags:True
    [2015-07-20 18:05:01,601] [Log ] [scheduler thread] [INFO ] - subch:0 SetMpegPidMapping
    [2015-07-20 18:05:01,601] [Log ] [scheduler thread] [INFO ] - subch:0 pid:4FF pcr
    [2015-07-20 18:05:01,601] [Log ] [scheduler thread] [INFO ] - subch:0 pid:64 pmt
    [2015-07-20 18:05:01,601] [Log ] [scheduler thread] [INFO ] - subch:0 pid:20 teletext type:6
    [2015-07-20 18:05:01,601] [Log ] [scheduler thread] [INFO ] - subch:0 map pid:20 teletext type:6
    [2015-07-20 18:05:01,601] [Log ] [scheduler thread] [INFO ] - subch:0 pid:30 type:5
    [2015-07-20 18:05:01,601] [Log ] [scheduler thread] [INFO ] - subch:0 pid:4FF video type:H.264
    [2015-07-20 18:05:01,601] [Log ] [scheduler thread] [INFO ] - subch:0 map pid:4FF video type:H.264
    [2015-07-20 18:05:01,601] [Log ] [scheduler thread] [INFO ] - subch:0 pid:503 audio lang:deu type:AC3
    [2015-07-20 18:05:01,601] [Log ] [scheduler thread] [INFO ] - subch:0 map pid:503 audio lang:deu type:AC3[/collapse]

    Note the 2 entries "Digital Devices: --> ...". The first one is not meant to be there unless the change is dynamic. That's the mistake I made in the patch.

    Anyhow, we see the second recording on channel B as well:
    [2015-07-20 18:05:03,176] [Log ] [scheduler thread] [DEBUG] - Scheduler: Check recordings for schedule Tammy - Voll abgefahren...
    [2015-07-20 18:05:03,176] [Log ] [scheduler thread] [INFO ] - Scheduler: Time to record Sky Cinema+1 HD 18:05-18:45 Manuell (Sky Cinema+1 HD)

    [collapse]
    [2015-07-20 18:05:04,254] [Log ] [scheduler thread] [INFO ] - subch:0 SendPMT version:8 len:109 134
    [2015-07-20 18:05:04,254] [Log ] [scheduler thread] [DEBUG] - Digital Devices:--> Setting service id 0 for decrypting returned 0
    [2015-07-20 18:05:04,254] [Log ] [scheduler thread] [DEBUG] - Digital Devices:--> Setting service id 134 for decrypting returned 0
    [2015-07-20 18:05:04,254] [Log ] [scheduler thread] [INFO ] - subch:0 cam flags:True
    [2015-07-20 18:05:04,254] [Log ] [scheduler thread] [INFO ] - subch:0 SetMpegPidMapping
    [2015-07-20 18:05:04,254] [Log ] [scheduler thread] [INFO ] - subch:0 pid:FF pcr
    [2015-07-20 18:05:04,254] [Log ] [scheduler thread] [INFO ] - subch:0 pid:60 pmt
    [2015-07-20 18:05:04,254] [Log ] [scheduler thread] [INFO ] - subch:0 pid:20 teletext type:6
    [2015-07-20 18:05:04,254] [Log ] [scheduler thread] [INFO ] - subch:0 map pid:20 teletext type:6
    [2015-07-20 18:05:04,254] [Log ] [scheduler thread] [INFO ] - subch:0 pid:30 type:5
    [2015-07-20 18:05:04,254] [Log ] [scheduler thread] [INFO ] - subch:0 pid:FF video type:H.264
    [2015-07-20 18:05:04,254] [Log ] [scheduler thread] [INFO ] - subch:0 map pid:FF video type:H.264
    [2015-07-20 18:05:04,254] [Log ] [scheduler thread] [INFO ] - subch:0 pid:103 audio lang:deu type:AC3
    [2015-07-20 18:05:04,254] [Log ] [scheduler thread] [INFO ] - subch:0 map pid:103 audio lang:deu type:AC3
    [2015-07-20 18:05:04,254] [Log ] [scheduler thread] [INFO ] - subch:0 pid:104 audio lang:eng type:AC3
    [2015-07-20 18:05:04,254] [Log ] [scheduler thread] [INFO ] - subch:0 map pid:104 audio lang:eng type:AC3[/collapse]

    Your test setup is perfect. (y) All the audio streams as expected, and then the change:
    [collapse]
    [2015-07-20 18:07:01,476] [Log ] [27 ] [INFO ] - subch:0 OnPMTReceived() pmt:64 ran:True dynamic:True
    [2015-07-20 18:07:01,476] [Log ] [PMT update] [INFO ] - subch:0 SendPmt:83 83 5 7
    [2015-07-20 18:07:01,476] [Log ] [PMT update] [INFO ] - Decode pmt
    [2015-07-20 18:07:01,476] [Log ] [PMT update] [INFO ] - descr1 len:6 9 4 18 33 f8 b6
    [2015-07-20 18:07:01,476] [Log ] [PMT update] [INFO ] - descr1 len:6 9 4 9 c4 fb b6
    [2015-07-20 18:07:01,476] [Log ] [PMT update] [INFO ] - descr1 len:6 9 4 9 af ff b6
    [2015-07-20 18:07:01,476] [Log ] [PMT update] [INFO ] - descr1 len:6 9 4 9 8c fa b6
    [2015-07-20 18:07:01,476] [Log ] [PMT update] [INFO ] - Set descriptor data with length 3
    [2015-07-20 18:07:01,476] [Log ] [PMT update] [INFO ] - PROBLEM : descriptor lengths dont match 7 10
    [2015-07-20 18:07:01,476] [Log ] [PMT update] [INFO ] - Set descriptor data with length 3
    [2015-07-20 18:07:01,476] [Log ] [PMT update] [INFO ] - Set descriptor data with length 6
    [2015-07-20 18:07:01,476] [Log ] [PMT update] [INFO ] - PROBLEM : descriptor lengths dont match 3 9
    [2015-07-20 18:07:01,476] [Log ] [PMT update] [INFO ] - Set descriptor data with length 6
    [2015-07-20 18:07:01,476] [Log ] [PMT update] [INFO ] - PROBLEM : descriptor lengths dont match 3 9
    [2015-07-20 18:07:01,476] [Log ] [PMT update] [INFO ] - subch:0 SendPMT version:7 len:115 131
    [2015-07-20 18:07:01,476] [Log ] [PMT update] [DEBUG] - Digital Devices:--> Setting service id 131 for decrypting returned 0
    [2015-07-20 18:07:01,476] [Log ] [PMT update] [INFO ] - subch:0 cam flags:True
    [2015-07-20 18:07:01,492] [Log ] [PMT update] [INFO ] - subch:0 SetMpegPidMapping
    [2015-07-20 18:07:01,492] [Log ] [PMT update] [INFO ] - subch:0 pid:4FF pcr
    [2015-07-20 18:07:01,492] [Log ] [PMT update] [INFO ] - subch:0 pid:64 pmt
    [2015-07-20 18:07:01,492] [Log ] [PMT update] [INFO ] - subch:0 pid:20 teletext type:6
    [2015-07-20 18:07:01,492] [Log ] [PMT update] [INFO ] - subch:0 map pid:20 teletext type:6
    [2015-07-20 18:07:01,492] [Log ] [PMT update] [INFO ] - subch:0 pid:30 type:5
    [2015-07-20 18:07:01,492] [Log ] [PMT update] [INFO ] - subch:0 pid:4FF video type:H.264
    [2015-07-20 18:07:01,492] [Log ] [PMT update] [INFO ] - subch:0 map pid:4FF video type:H.264
    [2015-07-20 18:07:01,492] [Log ] [PMT update] [INFO ] - subch:0 pid:503 audio lang:deu type:AC3
    [2015-07-20 18:07:01,492] [Log ] [PMT update] [INFO ] - subch:0 map pid:503 audio lang:deu type:AC3
    [2015-07-20 18:07:01,492] [Log ] [PMT update] [INFO ] - subch:0 pid:504 audio lang:eng type:AC3
    [2015-07-20 18:07:01,492] [Log ] [PMT update] [INFO ] - subch:0 map pid:504 audio lang:eng type:AC3
    [2015-07-20 18:07:01,492] [Log ] [PMT update] [INFO ] - SetRecorderPids
    [2015-07-20 18:07:01,492] [Log ] [PMT update] [DEBUG] - OnPMTReceived: MDAPI disabled. Possible reasons are _mdplugs=null or provider not listed
    [2015-07-20 18:07:01,492] [Log ] [27 ] [INFO ] - PID seen - type = Video
    [2015-07-20 18:07:01,492] [Log ] [27 ] [DEBUG] - Recorder audioVideoEventHandler Video
    [2015-07-20 18:07:01,523] [Log ] [27 ] [INFO ] - PID seen - type = Audio
    [2015-07-20 18:07:01,523] [Log ] [27 ] [DEBUG] - Recorder audioVideoEventHandler Audio[/collapse]

    This time you can see only one "Digital Devices:--> Setting service id..." entry. There should have been a second one like when the recordings started. :oops:

    However, your test does give me a lot of hope that a proper patch ( :rolleyes: ) will fix the problem. I have hope because the starting of the second recording did not affect the first recording... and with this stupid mistake in the patch, there was a chance that could have happened.

    Hopefully the patch that is attached will be the last. I triple checked the code... ;)
     

    Attachments

    • TVLibrary[DD_dynamic_PMT_change_v2].zip
      207.7 KB · Views: 228

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,577
    8,222
    Home Country
    New Zealand New Zealand
    Country flag
    Need a lash? :LOL:
    I probably deserve a lashing, yes. :)
    Looking forward to your results...

    Are we planning to fix this for 1.13 then?
    These days my work is always aimed at TVE 3.5. Anything I learn from these patches will be integrated there. I don't assume anything about a fix for TVE 3. In fact, I don't assume anything until a fix is confirmed. This issue is tricky. It would be easy to introduce a regression that is worse than the original problem.
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,431
    2,334
    Home Country
    Germany Germany
    Country flag
    Here is your new set of logs for V2 in the following scenario:

    Channel 1: watching show "Amerika von oben"
    Channel 2: Recording starts at 20:10 - "The Prince"
    Channel 3: Recording starts at 20:10 - "Stereo"
    1. Regression! The very moment when the recordings start, Channel 1 freezes! (n) No way to get it back on other than stop and restart the channel.
    2. At ~+5:15 a new audio channel is added to Channel 2. This new audio stream is successfully decrypted and audible (y)
    I don't know if (1) is happening anyway or a regression was introduced with the patch, but I'll keep the lash ready just in case :p
     

    Attachments

    • TV Service.zip
      316.9 KB · Views: 135

    Users who are viewing this thread

    Similar threads

    Having used MP1 since 15 years, these epg related problems occuring after a fresh install stumble me. Needed to change a system hdd and decided it was time for a clean install anyway. Other hardware (C2D, 8 Gb ram, no tv cards - IP only) unchanged. Was running an earlier Win10 version with MP 1.24 which had been updated for years...
    Having used MP1 since 15 years, these epg related problems occuring after a fresh install stumble me. Needed to change a system...
    Having used MP1 since 15 years, these epg related problems occuring after a fresh install stumble me. Needed to change a system...
    Replies
    0
    Views
    401
    Hier geht's weiter.
    Hier geht's weiter.
    Hallo Team Media Portal, auf der Download-Seite MediaPortal 2.2.1 Release - MEDIAPORTAL steht unter Erweiterte...
    Replies
    13
    Views
    1K
    Yes, please set your log level to DEBUG and reproduce the issue. Then upload a new set of logs.
    Yes, please set your log level to DEBUG and reproduce the issue. Then upload a new set of logs.
    MediaPortal 2 Version: 2.2 Description Dear MP2 Team, first I'd like to thank you for all the work you spend for the project. I'm...
    Replies
    1
    Views
    747
    It is almost but there feature wise, so the end users can't really tell whether something is not yet implemented or not working because of bugs. I used the MP's regional settings to set the date as "yyyy-MM-dd". I just meant that my dislike of expressing myself in writing is so severe that the idea of getting into a spiral of...
    It is almost but there feature wise, so the end users can't really tell whether something is not yet implemented or not working...
    I tested the client on three Windows 7 x64 SP1 computers with the same results, so I would be surprised if I am the only one able...
    Replies
    6
    Views
    1K
    Check the settings for each drive.
    Check the settings for each drive.
    After my update to 1.18 and switch from Web EPG to Schedules Direct, My wife is telling me her soaps never record. Other programs...
    Replies
    6
    Views
    1K
    Top Bottom