Experimental TsReader development | Page 91

Discussion in 'General Development (no feature request here!)' started by Owlsroost, November 16, 2011.

  1. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,537
    Likes Received:
    2,829
    Location:
    Cambridge
    Ratings:
    +4,131 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    If the new TsReader.ax fixes the problem, I'd like to see some logs with a few channel changes between channels in the 'problem' mux, to get an idea of how long it takes to find the data it needs to re-start playback after each change.

    Of course if it doesn't fix the problems I'd like the logs anyway :)


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    What value do you want us to use for the buffering, or does it not matter?
     
  4. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    Set buffering to 0 and tested with LAV and Cyberlink PDVD 10:
    1. Choice
    2. Sommet
    3. PRIME
    4. Firstlight
    5. TV ONE [off mux HD, just to double check]
    6. Maori
    Seemed greatly improved with both codecs. Logs attached.
    Thanks! (y)

    PS: <off-topic side question>Is there a particular reason why the slow motion zapping option remains as a debug setting and enabled by default?</off-topic side question>
     
    • Thank You! Thank You! x 2
  5. Threarah
    • Premium Supporter

    Threarah MP Donator

    Joined:
    October 24, 2013
    Messages:
    20
    Likes Received:
    2
    Ratings:
    +9 / 0
    Home Country:
    New Zealand New Zealand
    Show System Specs
    I've just managed a dozen or so seeks from a recording made last night without any hitches using the attached tsreader, so its looking good :) I've attatched the tsreader.log file showing the seeks, followed by a few channel changes to and from PRIME. Note that I currently have that registry setting set to 800ms.
     
  6. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,537
    Likes Received:
    2,829
    Location:
    Cambridge
    Ratings:
    +4,131 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    It shouldn't matter, so zero (the default) is OK.
     
  7. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,537
    Likes Received:
    2,829
    Location:
    Cambridge
    Ratings:
    +4,131 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    The problem with the streams is that sometimes there are quite large skews between the video and audio - from your 'LAV' logs after each zap :

    Code (Text):
    1. [2013-10-25 09:06:27,453] [1f870048] [ 9d8] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 2.575 sec of extra video comp to start now !...
    2. [2013-10-25 09:06:50,875] [1f870048] [ 9d8] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 3.530 sec of extra video comp to start now !...
    3. [2013-10-25 09:07:05,484] [1f870048] [ 9d8] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 1.311 sec of extra video comp to start now !...
    4. [2013-10-25 09:07:17,343] [1f870048] [ 9d8] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 3.938 sec of extra video comp to start now !...
    5. [2013-10-25 09:07:44,562] [1f870048] [ db4] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 0.812 sec of extra video comp to start now !...
    6. [2013-10-25 09:07:54,375] [1f870048] [ 9d4] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 2.285 sec of extra video comp to start now !...
    7.  
    The 'extra video comp' values are basically the V/A skew - note it's over 3.5 seconds sometimes, which was creating the playback problem because the old 'compensation' limit was 2 sec - I raised it to 5 sec in the test version. (It's limited to avoid corrupted streams etc. from possibly producing silly values).

    Re. the 'slow motion zapping option' - it's always been that way (and I quite like it, but I know some people don't) - personally I think all the 'debug' settings should be visible, or at least 'debug' mode should be a tick box in TV server config itself, not a 'launch' command line option.
     
    • Thank You! Thank You! x 1
  8. Owlsroost
    • Team MediaPortal

    Owlsroost Development Group

    Joined:
    October 28, 2008
    Messages:
    5,537
    Likes Received:
    2,829
    Location:
    Cambridge
    Ratings:
    +4,131 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    From Threarah's log - the spraed in 'compensation' (skew) values is quite large :

    Code (Text):
    1. [2013-10-25 09:17:00,902] [14b2efe8] [1478] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 1.371 sec of extra video comp to start now !...
    2. [2013-10-25 09:17:06,100] [14b2efe8] [1478] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 1.969 sec of extra video comp to start now !...
    3. [2013-10-25 09:17:10,210] [14b2efe8] [1478] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 1.883 sec of extra video comp to start now !...
    4. [2013-10-25 09:17:12,782] [14b2efe8] [1478] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 1.243 sec of extra video comp to start now !...
    5. [2013-10-25 09:17:16,661] [14b2efe8] [1478] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 0.582 sec of extra video comp to start now !...
    6. [2013-10-25 09:17:20,051] [14b2efe8] [1478] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 0.795 sec of extra video comp to start now !...
    7. [2013-10-25 09:17:23,303] [14b2efe8] [1478] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 1.307 sec of extra video comp to start now !...
    8. [2013-10-25 09:17:25,804] [14b2efe8] [1478] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 1.169 sec of extra video comp to start now !...
    9. [2013-10-25 09:17:29,004] [14b2efe8] [1478] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 0.500 sec of extra video comp to start now !...
    10. [2013-10-25 09:17:31,919] [14b2efe8] [1478] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 1.297 sec of extra video comp to start now !...
    11. [2013-10-25 09:17:35,083] [14b2efe8] [1478] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 0.774 sec of extra video comp to start now !...
    12. [2013-10-25 09:17:38,159] [14b2efe8] [1478] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 1.254 sec of extra video comp to start now !...
    13. [2013-10-25 09:17:41,101] [14b2efe8] [1478] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 1.307 sec of extra video comp to start now !...
    14. [2013-10-25 09:17:44,782] [14b2efe8] [1478] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 1.339 sec of extra video comp to start now !...
    15. [2013-10-25 09:17:47,393] [14b2efe8] [1478] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 1.361 sec of extra video comp to start now !...
    16. [2013-10-25 09:17:50,173] [14b2efe8] [1478] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 1.350 sec of extra video comp to start now !...
    17. [2013-10-25 09:18:07,089] [1c50fe70] [1190] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 3.055 sec of extra video comp to start now !...
    18. [2013-10-25 09:18:31,748] [1c50fe70] [1190] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 0.761 sec of extra video comp to start now !...
    19. [2013-10-25 09:18:39,287] [1c50fe70] [1190] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 2.799 sec of extra video comp to start now !...
    20. [2013-10-25 09:18:47,263] [1c50fe70] [1190] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 0.500 sec of extra video comp to start now !...
    21. [2013-10-25 09:18:55,200] [1c50fe70] [1190] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 2.927 sec of extra video comp to start now !...
    22. [2013-10-25 09:19:08,858] [1c50fe70] [ fcc] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 0.500 sec of extra video comp to start now !...
    23. [2013-10-25 09:19:17,521] [1c50fe70] [13a8] - Compensation : ( Rnd : 0 mS ) Audio pts ahead Video pts . Add 2.570 sec of extra video comp to start now !...
    24.  
    ....I wonder if the stream muxing is quite 'lumpy' ?
     
  9. FreakyJ
    • Team MediaPortal

    FreakyJ Development Group

    Joined:
    July 25, 2010
    Messages:
    4,021
    Likes Received:
    839
    Gender:
    Male
    Ratings:
    +1,424 / 1
    Home Country:
    Germany Germany
    What is slow motion zapping and what is the alternative?! Couldn't find anything on the wiki during a quick search. If this is going to be to offtopic, please send me a pm with the answer :)
     
  10. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    Slow motion zapping is the thing that makes the video all jerky and slow for a second or so after you zap.
    It can be disabled (so video plays normally) by using a debug option in MP configuration.
    Run Configuration.exe with the /DebugOptions switch, then check under the TV section to find the debug options sub section. First setting is the slow motion zap setting.
     
    • Informative Informative x 2
  11. FreakyJ
    • Team MediaPortal

    FreakyJ Development Group

    Joined:
    July 25, 2010
    Messages:
    4,021
    Likes Received:
    839
    Gender:
    Male
    Ratings:
    +1,424 / 1
    Home Country:
    Germany Germany
    Thanks mm
    On my pc there is nothing jerky it just switches the channels like a normal tv, but I won't go off topic any further. Thanks for the answer :)
     
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!