Audio sync problems when screen set to 24 Hz (1 Viewer)

anvandarnamn

Portal Pro
February 15, 2007
84
3
40
Home Country
Sweden Sweden
I had no problems just exchanging the two DLLs on my Installation. Probably there are some other changes in the core.dll that requires more files to be exchanged depending on some configurations. It's probably best if this patch get's released over an SVN build then...

i have no problems with the files, config works just fine here :)

now time for some testing !

thanks for all your effort, really nice to finally see this problem being looked in to,,


best regards
Daniel
 

technick

Portal Pro
May 6, 2009
566
155
Home Country
France France
I have also a message on config but I use the last public SVN and it's not really the problem for instance (just need to click "ok").

So... you passed the very very hard test of the low and long horizontal scrolling on start of "dragon hunters" WITH FFDSHOW UPSCALE to 1920x1080 ! It's time to make more tests but when this one goes the others generaly also ;-)


Update:
I make to test a reinstall of the official 1.1 Beta and now I don't have the message on setup.

The only real bug I see is that "Dynamic Refresh Rate" don't work with the patched dll, I must change refresh rate manually. Fast forward and rewinding are now very fast and the PowerDVD codec don't need to resync, I can now use others codecs without sync problems. Perhaps a full ffdshow config will work now... next test but it's now time to go sleeping !
 

Scythe42

Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    51
    Berlin
    Home Country
    Germany Germany
    The only real bug I see is that "Dynamic Refresh Rate" don't work with the patched dll, I must change refresh rate manually. Fast forward and rewinding are now very fast and the PowerDVD codec don't need to resync, I can now use others codecs without sync problems. Perhaps a full ffdshow config will work now... next test but it's now time to go sleeping !
    Thanks for doing some more testing. I really appreciate that. :D

    Issues with the Dynamic Refresh Rate should be related to the public SVN version I used for building the DLLs. There might have been other changes in the core.dll causing this effect. I have no issues when using the internal Refresh Rate Changer and not calling external command to change the refresh rates. So it's probably an issue related to the SVN version I used as I didn't touch any code myself that has to do with Refresh Rate changing.

    I'll check your setup thread and try with dc.exe to reproduce this, so I can provide a new core.dll
     

    johan_80

    Portal Pro
    April 27, 2009
    65
    0
    I had 3 problems with the player in the past:

    [1] Audio sync when the frame rate are close to the refresh rate. 23.976fps at 23.976Hz for example.

    [2] "Slideshow" (heavy stuttering) frame presentation after skip/jump forward/backward in video file. (Quickfix is to interact with another windows application and then go back to MediaPortal)

    [3] "Slideshow" (heavy stuttering) after automatic refresh rate change. (Quickfix is to interact with another windows application and then go back to MediaPortal)

    After some testing with this new patch I think [1] (the Audio sync issue) is solved.
    But I encountered a problem never seen before that may be related to [2].

    When jumping back and forth (up key/down key) the video sometimes freeze. A single frame get stuck while audio plays normal. Pause/play or jump back/forth will NOT solve this issue. Only way to get proper playback again is to enter the GUI (basic home for example) and the enter fullscreen again. The quickfix used in [2] does not work.

    Tested and encountered this problem with the following codecs:
    CoreAVC 1.9.5 decoder
    MPC-HC rev. 1.3.1281 decoders
    Cyberlink PowerDVD 8 MPEG-2 decoder
    Cyberlink PowerDVD 8 AVC/H264 decoder
    Cyberlink PowerDVD 9 MPEG-2 decoder
    Microsofts in Windows 7 included VC-1 decoder



    Tested with and without ReClock present in the graph with the same result. The only exception is that I could not provoke this behavior when using the VC-1 codec if ReClock was not loaded.

    (The test-material consists of Blu-rays and HD DVDs remuxed to mkvs with original video intact and audio reencoded to flac)
     

    Scythe42

    Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    51
    Berlin
    Home Country
    Germany Germany
    Thanks for testing. Good to see that the audio sync issues are gone.

    I cannot reproduce the slideshow issues at at the moment. I put some pictures in the pictures folder and started a slideshow of these pictures. No issues. Transition are played as usual and I can jump to the next picture without problems.

    The EVR presenter shouldn't be involved here. I currently have no active Win 7 MSDN installation and therefore cannot test it under Win7 at the moment. The behavior you see under Win7 can be different here because the core.dll for testing the sync issues is based on the current SVN code.
     

    johan_80

    Portal Pro
    April 27, 2009
    65
    0
    What I meant with "Slideshow" is a heavy stutter (like a frame rate of 10-15fps).
    We are still talking about video and not a real picture slideshow.

    I'll update my post above to avoid the confusion.
     

    Scythe42

    Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    51
    Berlin
    Home Country
    Germany Germany
    What I meant with "Slideshow" is a heavy stutter (like a frame rate of 10-15fps). We are still talking about video and not a real picture slideshow.
    I see, sorry my mistake. And again thanks for helping testing this.

    Please check that Win 7 is really using the codecs you selected. Win 7 likes to enforce codecs on users. Also please provide the logs from MP (set log level to debug) when you reproduce the problem. In general if there is no larger CPU/GPU/HD limitation you shouldn't see extreme juddering with a 23,976fps file and matching refresh rate on remuxed BRs.

    There was a recent discussion about this here, where a user had similar issues. Maybe that's the same case for you as you had similar issues before trying the patched DLLs.

    The "freezed frames" would indicate that frames are arriving very late from the mixer and need to be dropped instead of rending them anyway and causing an audio sync issue. Any kind of skipping, pausing or similar action should have no effect as this does not compensate for the bug in the presenter anymore. So basically the DLLs behave correctly.

    Question is why the frames are coming so late to the presenter in your case. You should see a ton of "dropped frames" lines in the evr.log
     

    Seeco

    Portal Pro
    October 15, 2007
    241
    7
    Linköping
    Home Country
    Sweden Sweden
    Sorry for asking such a noob question, but how do I apply the patch and where can I find the files I need? :) Also, when will this change be implemented in an SVN update?
     

    Users who are viewing this thread

    Top Bottom