[Finished] Improvements to Live TV playback rate matching - for testing (1 Viewer)

Status
Not open for further replies.

azzuro

Test Group
  • Team MediaPortal
  • May 10, 2007
    9,948
    5,617
    France - IDF
    Home Country
    France France
    For me , i have none issue since i have disabled the DVBepg scanning when tuner are idle.
     

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    Here the Logs.

    As far as I can tell from the log files, something happened at the client at about 02:45 (the 'Buffers : A/V' log lines stop at that time);

    Code:
    [2015-07-24 02:44:50,662] [167c0680] [ f8c] - Buffers : A/V = 5/106, RTSP = -1, A last: 7944.426, V Last: 7945.541, Comp: -0.751 s, AudMean: 1.335 s, AudDelta: 0.001 s, SPPM: 0
    [2015-07-24 02:44:54,994] [167c0680] [ f8c] - Buffers : A/V = 5/103, RTSP = -1, A last: 7948.746, V Last: 7949.861, Comp: -0.751 s, AudMean: 1.335 s, AudDelta: 0.001 s, SPPM: 0
    [2015-07-24 02:44:59,318] [167c0680] [ f8c] - Buffers : A/V = 5/107, RTSP = -1, A last: 7953.066, V Last: 7954.181, Comp: -0.751 s, AudMean: 1.343 s, AudDelta: 0.009 s, SPPM: 0
    [2015-07-24 03:26:35,303] [167c0680] [ b68] - CTsReaderFilter::Pause() - IsTimeShifting = 1 - state = 2
    [2015-07-24 03:26:35,303] [167c0680] [ b68] - MPAR/Reclock not found
    [2015-07-24 03:26:35,303] [167c0680] [ b68] - CTsReaderFilter::Pause() - END - state = 1
    [2015-07-24 03:37:26,161] [167c0680] [ f8c] - FileReader::OpenFile(), 6 tries to succeed opening \\SERVER\Timeshift\live5-0.ts.tsbuffer5.ts.
    [2015-07-24 03:37:26,167] [167c0680] [ f8c] - CTsReaderFilter:: ForcePosnUpdate: 10447.794 s
    [2015-07-24 03:37:26,167] [167c0680] [ f8c] - Buffers : A/V = 0/0, RTSP = -1, A last: 7956.266, V Last: 7957.201, Comp: -0.751 s, AudMean: 1.331 s, AudDelta: 0.000 s, SPPM: 0
    [2015-07-24 03:37:30,452] [167c0680] [ f8c] - Buffers : A/V = 0/0, RTSP = -1, A last: 7956.266, V Last: 7957.201, Comp: -0.751 s, AudMean: 1.331 s, AudDelta: 0.000 s, SPPM: 0
    [2015-07-24 03:37:34,737] [167c0680] [ f8c] - Buffers : A/V = 0/0, RTSP = -1, A last: 7956.266, V Last: 7957.201, Comp: -0.751 s, AudMean: 1.331 s, AudDelta: 0.000 s, SPPM: 0
    [2015-07-24 03:37:35,808] [167c0680] [ f8c] - CTsReaderFilter, Live Tv is paused for more than 10 secs => m_bLiveTv=false.
    [2015-07-24 03:37:39,022] [167c0680] [ f8c] - Buffers : A/V = 0/0, RTSP = -1, A last: 7956.266, V Last: 7957.201, Comp: -0.751 s, AudMean: 1.331 s, AudDelta: 0.000 s, SPPM: 0
    [2015-07-24 03:37:43,306] [167c0680] [ f8c] - Buffers : A/V = 0/0, RTSP = -1, A last: 7956.266, V Last: 7957.201, Comp: -0.751 s, AudMean: 1.331 s, AudDelta: 0.000 s, SPPM: 0

    ....then LiveTV was paused at 03:26:35,303 (I assume by the user, but I can't tell from the logs). I think TsReader was reading 'live5-0.ts.tsbuffer5.ts' file at that time, so that file will be 'locked' at the server - TsWriter now has to create new files each time it fills up the current file since it can't delete and re-use 'live5-0.ts.tsbuffer5.ts'.

    Then at 03:50:40,424 (when TV has been paused for 24 minutes) TsWriter runs out of disk space or hits the maximum number of timeshift buffer files:

    Code:
    [2015-07-24 03:50:40,424] [8a65c18] [1f78] - MultiFileWriter: failed to create file E:\\live5-0.ts.tsbuffer5.ts
    [2015-07-24 03:50:40,424] [8a65c18] [1f78] - Failed to reopen old file. It's currently in use. Dropping data!
    [2015-07-24 03:50:40,924] [8a65c18] [1f78] - FileWriter: ParkFile(), m_hFile 0xffffffff, m_hFileParked 0xffffffff
    [2015-07-24 03:50:41,030] [8a65c18] [1f78] - MultiFileWriter: failed to create file E:\\live5-0.ts.tsbuffer5.ts
    [2015-07-24 03:50:41,030] [8a65c18] [1f78] - Failed to reopen old file. It's currently in use. Dropping data!
    [2015-07-24 03:50:41,530] [8a65c18] [1f78] - FileWriter: ParkFile(), m_hFile 0xffffffff, m_hFileParked 0xffffffff
    [2015-07-24 03:50:41,635] [8a65c18] [1f78] - MultiFileWriter: failed to create file E:\\live5-0.ts.tsbuffer5.ts
    [2015-07-24 03:50:41,635] [8a65c18] [1f78] - Failed to reopen old file. It's currently in use. Dropping data!

    TsWriter is working normally as far as I can tell from the logs - it's the client that seems to be having problems.

    What are your timeshift settings (min files/max files/file sizes) ?
     
    Last edited:

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    Actually, TsReader on the client started having problems reading files earlier than I said above, at 02:39:

    Code:
    [2015-07-24 02:39:26,341] [167c0680] [ f8c] - FileReader::OpenFile(), dummy file write 16 bytes to \\SERVER\Timeshift\live5-0f8emFCpnmRdP2.ts
    [2015-07-24 02:39:26,342] [167c0680] [ f8c] - FileReader::OpenFile() unbuff, 14 tries to open \\SERVER\Timeshift\live5-0.ts.tsbuffer2.ts
    [2015-07-24 02:39:26,592] [167c0680] [ f8c] - FileReader::OpenFile(), open file failed. Error 0x80070002, Das System kann die angegebene Datei nicht finden., filename = \\SERVER\Timeshift\live5-0.ts.tsbuffer2.ts
    [2015-07-24 02:39:26,592] [167c0680] [ f8c] - MultiFileReader::new data file, OpenFile() failed
    [2015-07-24 02:39:26,915] [167c0680] [ ba0] - FileReader::OpenFile() unbuff, 6 tries to open \\SERVER\Timeshift\live5-0.ts.tsbuffer2.ts
    [2015-07-24 02:39:27,036] [167c0680] [ ba0] - FileReader::OpenFile() unbuff, 7 tries to open \\SERVER\Timeshift\live5-0.ts.tsbuffer2.ts
     

    Palm_Maniac

    MP Donator
  • Premium Supporter
  • June 1, 2005
    1,238
    215
    Gießen, Hessen
    Home Country
    Germany Germany
    Hi Owlsroost,

    because the RAM disk size of 8 GB and 4 tuners, I have the number employed in 8 files at min and max. The file size is 255MB per file. I think I've taken this setting as a recommendation from the Wiki.Yesterday I had time to test the "EPG scan while idle" off. On the client in the living room no more disturbances are then occurred because they had very frequently again on Thursday and Friday. Today's Formula One, because I will some more consciously and more intensively to test my personal clients.

    What occurred at night as this error has happened, I can not say unfortunately, because I had slept. ;) That my client here but is complicit, is entirely possible. After running the client in the living room since Saturday again absolutely clean. It is my hope that it's finally done. Finally, after many years MediaPortal run as flawlessly as a receiver. Not only the WAF, and the FAF is finally characterized in almost 100%.

    I will report immediately as it is today, to the intense TV-afternoon, ran.
     

    Palm_Maniac

    MP Donator
  • Premium Supporter
  • June 1, 2005
    1,238
    215
    Gießen, Hessen
    Home Country
    Germany Germany
    Hi,

    Unfortunately, not quite. I have to fight even with pixelation that appear on top of the screen, and only at the top. Then to come extremely isolated still images before having a duration of about 3 seconds. The picture freezes and the sound is briefly away, after that it just goes on.

    I have not yet been reported because I wanted to wait for Windows 10. Now I have it. On the server and on both clients. All three PCs are now also reinstalled. Unfortunately, the pixelation have not disappeared. However, the Weider administration of recordings remains error-free.

    However, it is much better than before, in any case. I could improve a bit by shifting the time shift memory of the RAM disk to the HDD. This may now occur many funny but it's true.

    Log files I submit to, I finished with reinstalling the computer a few days ago. Sorry I have not written any complete good news.
     
    Last edited:

    Palm_Maniac

    MP Donator
  • Premium Supporter
  • June 1, 2005
    1,238
    215
    Gießen, Hessen
    Home Country
    Germany Germany
    Hi,

    Here are the logs from the client and server. Yesterday there was a Picture Freeze by almost 30 seconds, after that it went on as if I had pressed pause. But that was the only statue in the evening. I hope you'll find something.

    The funny thing is also that sooner were the pixelation on the bottom of the screen, now they are at the top. Does that mean something? :)
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom