[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,601
    5,224
    France - IDF
    France France
    Country flag
    For me , i have none issue since i have disabled the DVBepg scanning when tuner are idle.
     

    Owlsroost

    Development Group
  • Team MediaPortal
  • October 28, 2008
    5,540
    5,038
    Cambridge
    United Kingdom United Kingdom
    Country flag
    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

    Development Group
  • Team MediaPortal
  • October 28, 2008
    5,540
    5,038
    Cambridge
    United Kingdom United Kingdom
    Country flag
    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
    Germany Germany
    Country flag
    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
    Germany Germany
    Country flag
    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
    Germany Germany
    Country flag
    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 (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    horned_reaper [solved] Improved MBID Search for Artist and Album Fanart Handler 106
    ajs [fixed] 5022: Improving the MPE Installer, providing nicer GUI :) MediaPortal 1 42
    doskabouter Small code improvements MediaPortal 1 8
    ajs [fixed] 5015: Improving the MP1 installer, providing nicer GUI :) MediaPortal 1 138
    doskabouter Exceptions found due to improved logging General Support 11
    CyberSimian [fixed] MP1-4990 : Improve horizontal scrolling in the EPG MediaPortal 1 10
    ge2301 Bugs and Improvements Nereus 6
    N [Proposal] How to improve series scheduling MediaPortal 2 72
    ge2301 [Finished] [MP2-776] Improve busy screen appearance MediaPortal 2 14
    B [MP2-772-773] improve busy cursor and settings loading Testing Area 10
    azzuro [Help Me!] Improve duration times of GUI List items MediaPortal 2 37
    Alberto83 [Finished] [MP2-752] Improve recording handling MediaPortal 2 34
    K MP1.24 HDHomeRun Quatro DVT2 - Pixelation on live TV General Support 1
    S IPTV from online m3u8 for Aussie Live TV General Support 9
    K Flickering live TV playback Newcomers Forum 3
    H [solved] MP2 Wiedergabe von Aufnahmen und Live TV geht nicht Allgemeines Support- und Diskussionsforum 6
    torone Dritter versuch mit Mediaportal 2 Allgemeines Support- und Diskussionsforum 1
    W [solved] MP suddenly Crashes when starting live TV on most channels and on recordings from the same channels General Support 20
    W [solved] MP suddenly Crashes when starting live TV on some channels and on some recordings Television (MyTV frontend and TV-Server) 1
    vvulture UNKNOWN ERROR when starting live TV General Support 6
    H random black screen live tv and videos (amended) General Support 0
    404 [solved] Live TV...video and audio freeze General Support 20
    404 How to turn off narration on live tv General 2
    Volker MP2 Rewind / zurückspulen bei Live TV funktioniert nicht Allgemeines Support- und Diskussionsforum 3
    G Occasional Black screen on Live TV and Recorded TV Watch / Listen Media 5
    Similar threads

























    Top Bottom