Experimental TsReader development (3 Viewers)

Owlsroost

Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    Please try the attached TsReader.ax - it plays the test recording OK.
    (and of course everyone else from NZ with the problem channels should try it too )

    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 :)
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,227
    Home Country
    New Zealand New Zealand
    What value do you want us to use for the buffering, or does it not matter?
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,227
    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>
     

    Threarah

    MP Donator
  • Premium Supporter
  • October 24, 2013
    20
    4
    Home Country
    New Zealand New Zealand
    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.
     

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    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>

    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:
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...

    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.
     

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    From Threarah's log - the spraed in 'compensation' (skew) values is quite large :

    Code:
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...
    [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 !...

    ....I wonder if the stream muxing is quite 'lumpy' ?
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    slow motion zapping option
    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 :)
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,227
    Home Country
    New Zealand New Zealand
    slow motion zapping option
    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 :)
    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.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    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 :)
     

    Users who are viewing this thread

    Top Bottom