MP1 EVR Presenter/dshowhelper community development (4 Viewers)

Scythe42

Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    51
    Berlin
    Home Country
    Germany Germany
    Using v0076_part_DWM, does navigation work OK if you use the mouse or keyboard arrow keys (instead of a remote control) ?

    Tony

    P.S. Everyone - is anyone else seeing this problem ?
    This sounds like a very old bug is returning. But I might be wrong here. Haven't followed this thread for a long time

    The solution back then I introduced to MP for this and similar issues was:
    • drop a frame when it's presentation time delta to current time is > 0 (frame is late)
    • don't drop frames during DVD menus
    • don't drop fames during ff or rew

    Was any of this logic changed since the dshelper from MP 1.1.0?

    This is essential logic for a correct behavior and cannot be changed. A late frame is late, there is no grace period! If it's not ready on the correct vsync it's too late. Not dropping frames will result in 1 frame audio/video desync everytime.

    DVD menus might only be a single frame and can come with strange timestamps. Especially when there is an audio loop running. The old frame is repeated over and over again with the same old timestamp from the DVD Navigator. So frame drops need to be disabled as we cannot distinguish what kind of menu is running.

    And of course no dropping during ff/rew as timestamps will be off anyway. Just display everything you get.

    PS: Trying to read up on the forums before I return to producing code...
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: Re: MP1 EVR Presenter/dshowhelper community development

    Using v0076_part_DWM, does navigation work OK if you use the mouse or keyboard arrow keys (instead of a remote control) ?

    Tony

    P.S. Everyone - is anyone else seeing this problem ?
    This sounds like a very old bug is returning. But I might be wrong here. Haven't followed this thread for a long time

    The solution back then I introduced to MP for this and similar issues was:
    • drop a frame when it's presentation time delta to current time is > 0 (frame is late)
    • don't drop frames during DVD menus
    • don't drop fames during ff or rew

    Was any of this logic changed since the dshelper from MP 1.1.0?

    This is essential logic for a correct behavior and cannot be changed. A late frame is late, there is no grace period! If it's not ready on the correct vsync it's too late. Not dropping frames will result in 1 frame audio/video desync everytime.

    DVD menus might only be a single frame and can come with strange timestamps. Especially when there is an audio loop running. The old frame is repeated over and over again with the same old timestamp from the DVD Navigator. So frame drops need to be disabled as we cannot distinguish what kind of menu is running.

    And of course no dropping during ff/rew as timestamps will be off anyway. Just display everything you get.

    PS: Trying to read up on the forums before I return to producing code...

    Nice to see you here again.
     

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    Using v0076_part_DWM, does navigation work OK if you use the mouse or keyboard arrow keys (instead of a remote control) ?

    Tony

    P.S. Everyone - is anyone else seeing this problem ?
    This sounds like a very old bug is returning. But I might be wrong here. Haven't followed this thread for a long time

    The solution back then I introduced to MP for this and similar issues was:
    • drop a frame when it's presentation time delta to current time is > 0 (frame is late)
    • don't drop frames during DVD menus
    • don't drop fames during ff or rew

    Was any of this logic changed since the dshelper from MP 1.1.0?

    This is essential logic for a correct behavior and cannot be changed. A late frame is late, there is no grace period! If it's not ready on the correct vsync it's too late. Not dropping frames will result in 1 frame audio/video desync everytime.

    DVD menus might only be a single frame and can come with strange timestamps. Especially when there is an audio loop running. The old frame is repeated over and over again with the same old timestamp from the DVD Navigator. So frame drops need to be disabled as we cannot distinguish what kind of menu is running.

    And of course no dropping during ff/rew as timestamps will be off anyway. Just display everything you get.

    PS: Trying to read up on the forums before I return to producing code...

    Welcome back :)

    The DVD menu handling is basically unchanged from the MP 1.1.0 version.

    The FFWD handling is different - it treats it now like a x1.0 rate stream (but with some of the vsync correction logic disabled) - otherwise it doesn't play at the correct speed. TsReader was fixed so that it modifies the timestamps as splitters should - see the bottom of the page at IMediaSeeking:: SetRate - (and a stream positioning bug after a rate change was also fixed) so smooth FFWD works pretty well now. If sample timestamps are ignored during FFWD it just doesn't work correctly - it runs too fast for a while, then pauses when it runs out of data etc etc

    And yes, I do understand why EVR presenter needs to drop and repeat frames to maintain A/V sync ;)

    Tony
     

    Scythe42

    Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    51
    Berlin
    Home Country
    Germany Germany
    The DVD menu handling is basically unchanged from the MP 1.1.0 version.
    Then without a DVD image to reproduce I cannot be of help here. The description just sounded like the old "single frame DVD menu" thing.

    And yes, I do understand why EVR presenter needs to drop and repeat frames to maintain A/V sync ;)
    Just maked to make sure that it's still dropped right away when the timestamp is in the past with no grace period.

    But good to hear that you worked on ff/rew. Did you do some enhancements for speeds > 4x as well?

    PS: Still catching up in the forums. Hadn't time yet to look at code changes so far.
     

    Der_Bub

    MP Donator
  • Premium Supporter
  • June 17, 2008
    830
    60
    Cologne
    Home Country
    Germany Germany
    OK thanks - I've been busy trying to sort out another MP problem (the FFDShow A/V sync problems with Live TV), so I just haven't had much time to look into the black/blank screen problems.....

    Quick question - do you run MP fullscreen with 'always on top' enabled ?

    As an experiment, if you run MP in windowed mode (with 'always on top' disabled) does the same problem happen ?

    Tony

    tested it with windowed mode and 'always on top' disabled, but no change: After resuming from DVD/external Player, the window is white / noch GUI visible. :(

    ...
    News : After many others tests, the fault is from PDVD 11 decoding, I use now the HAM mode decoding and don't have any problem so for me v84 work very fine :) Congratulation to you Owlsroost.

    OK - good - I was about to say it looks like a decoder/data starvation problem but you've already found & fixed it :)

    Tony

    sorry, what is "HAM mode decoding" how can I set it? Maybe also related to the "blank screen problem"? :confused:
     

    technick

    Portal Pro
    May 6, 2009
    566
    155
    Home Country
    France France
    Hi, this is the way I use to change it :

    You use FFdshow as sound Decoding
    You launch the TV
    You right clic on the FFdshow sound icon in the notification icon bar and select the PDVD Filter
    You click on it (You have more menus in PDVD properties if you press control in the same time)
    Now you can change the decoder properties (DVXA / HAM / SW)

    Four your screens problems, I suggest to reinstall the last display drivers, specially if you are on a Nvidia card, there is sometime problems with the audio output and .NET internally crash. So MP failed to build graph and you have a black screen or sometime some black blink pictures.
    Edit : I just see that you have a ATI, information will be for others ;-)

    Technick
     

    peque

    Moderator - Spanish Forums
  • Premium Supporter
  • August 4, 2007
    861
    99
    Home Country
    Spain Spain
    Hi, I tested the v84 about 1 week and it run very fine on all videos except sometime on SD TV. It make this 20 seconds and return to normal (the video stuttering). No problem on HD TV.

    View attachment 82976


    PDVD11, Nvidia, SVN of the day.

    Edit

    News : After many others tests, the fault is from PDVD 11 decoding, I use now the HAM mode decoding and don't have any problem so for me v84 work very fine :) Congratulation to you Owlsroost.

    I found exact same behaviour after upgrading to last SAF6 SVN, which has new pdvd11 decoders inside (I don't remember to have seen this before)...

    And same question for me... What do you mean with HAM mode? I found a dshow decoder named "Cyberlink HAM Decoder", but is not selectable in tv codecs dropdown menu, inside MD config... ¿?

    Thanks a lot.
     

    Jay_UK

    Test Group
  • Team MediaPortal
  • October 6, 2009
    1,781
    283
    Derby
    Home Country
    United Kingdom United Kingdom
    Hi there,

    For ages I have suffered from intermittent artifacts/pixelation when using SAF5 and SAF6 with PDVD.

    I have just come across this post:

    Cyberlink HAM decoder bug

    Not sure if this is the same issue I have with LiveTV??

    J.
     

    peque

    Moderator - Spanish Forums
  • Premium Supporter
  • August 4, 2007
    861
    99
    Home Country
    Spain Spain
    No artifacts/pixelation... we just see those framerate instability for some seconds (showing as heavy stuttering in image)... In my case, I've also installed on my system old Cyberlink decoders (PDVD8 if I remember well)... and that's what I'm using for now with SD TV.

    bye!
     

    Der_Bub

    MP Donator
  • Premium Supporter
  • June 17, 2008
    830
    60
    Cologne
    Home Country
    Germany Germany
    Hi, this is the way I use to change it :

    You use FFdshow as sound Decoding
    You launch the TV
    You right clic on the FFdshow sound icon in the notification icon bar and select the PDVD Filter
    You click on it (You have more menus in PDVD properties if you press control in the same time)
    Now you can change the decoder properties (DVXA / HAM / SW)

    Four your screens problems, I suggest to reinstall the last display drivers, specially if you are on a Nvidia card, there is sometime problems with the audio output and .NET internally crash. So MP failed to build graph and you have a black screen or sometime some black blink pictures.
    Edit : I just see that you have a ATI, information will be for others ;-)

    Technick

    thanks!

    well, seems not to matter in my case :( Did change the settings but still have blank screen :(

    Seems that I have to wait a while longer ...
     

    Users who are viewing this thread

    Top Bottom