Skip to end/live during dvbip recording causes it to stop playing instead. | Page 2

Discussion in 'General Support' started by divxmaster, February 13, 2019.

  1. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,503
    Likes Received:
    2,774
    Location:
    Cambridge
    Ratings:
    +4,057 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    @divxmaster - attached is a new TsReader.ax file to try (version 5.2.3.43).



    This has a registry value which you can change to change the minimum 'offset time' from the end-of--recording-file that it will seek to i.e. it won't seek closer than 'n' milliseconds from the end of the file.

    The registry key is in: HKEY_CURRENT_USER\Software\Team MediaPortal\TsReader
    The specific value is: SeekEndOfFileOffsetInMilliSeconds
    It's set to 4000 milliseconds (4 s) by default, but you can change it to any value between 2000 and 30000 milliseconds (2 s to 30 s)

    Just replace TsReader.ax in C:\Program Files (x86)\Team MediaPortal\MediaPortal with the new one and play a recording or live TV in MP so that TsReader is loaded and the default registry value is created. After that, to change the 'SeekEndOfFileOffsetInMilliSeconds' value just run the Windows 'Registry Editor' app and navigate to HKEY_CURRENT_USER\Software\Team MediaPortal\TsReader (make sure you view the value in Decimal, not Hexadecimal - see below)

    upload_2019-2-23_12-37-37.png
     

    Attached Files:

  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. divxmaster

    divxmaster Portal Pro

    Joined:
    February 15, 2009
    Messages:
    55
    Likes Received:
    15
    Ratings:
    +18 / 1
    Home Country:
    New Zealand New Zealand
    Awesome, thanks Owlsroost
    Yes, it works, but I had to change the offset to 6000.
    If I skip to end, and then skip to end again a few times it gets to 2 secs behind with a offset of 6000.
    So the default of 4000 was still getting end of file. I will try 5000 later on today.

    I also improved things a lot before installing this patch by setting ffmpeg parameter -forced-idr.
    Setting that it only failed 1 out of 5 times but now it seems perfect. Note -forced-idr was off
    in my testing of the offset 6000.

    Cheers,
    Divxmaster
     
    • Like Like x 1
  4. divxmaster

    divxmaster Portal Pro

    Joined:
    February 15, 2009
    Messages:
    55
    Likes Received:
    15
    Ratings:
    +18 / 1
    Home Country:
    New Zealand New Zealand
    Just confirming, a delay of 5000 does not work, 6000 is required.

    Cheers,
    Divxmaster
     
    • Like Like x 1
  5. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,503
    Likes Received:
    2,774
    Location:
    Cambridge
    Ratings:
    +4,057 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    That will add more 'random access' points in the stream, making it more likely TsReader will find one (and start playing) before it hits end-of-file.

    The TsReader mod will be included in the next release of MP1.
     
  6. divxmaster

    divxmaster Portal Pro

    Joined:
    February 15, 2009
    Messages:
    55
    Likes Received:
    15
    Ratings:
    +18 / 1
    Home Country:
    New Zealand New Zealand
    cool, thanks.
    Turning back on -forced-idr, the offset of 5000 now works, but 4000 still gets EOF.

    Cheers,
    Divxmaster
     
  7. divxmaster

    divxmaster Portal Pro

    Joined:
    February 15, 2009
    Messages:
    55
    Likes Received:
    15
    Ratings:
    +18 / 1
    Home Country:
    New Zealand New Zealand
    update: found a few odd occasions when 5000 didnt work, 6000 displayed a different symptom, that when skipping to live, it would play along for sometimes
    quite a while.. say 30 seconds and then stop. maybe a few skipped frames brought it too close to the end. set to 7000 now. Doesnt really matter, even 7000 is only 3 or so sec behind.

    Cheers,
    Divxmaster
     
    • Like Like x 1
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!