Stutter after refresh rate change (12 Viewers)

Scythe42

Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    51
    Berlin
    Home Country
    Germany Germany
    I did some more test. It seems a similar problem is still there when you first play a 23.976fps file after MP started. After that, all 50i/60i/25p playbacks show some micro stutters. Not the same as before. It's very bad with PDVD9. Other filter behave better here. Alt-Tab does not solve this. It's persistent as long as MP runs.

    If the first thing you play is 50i/60i/25p the problem never occurs and playback stays smooth. At least I cannot reproduce it in this case.

    Very strange problem. There are other annoyances we stumbled across when working on smoother playback and sorted them out as good as possible. Maybe an additional workaround is needed for this different scenario. But I think the truth here is that changing the refresh rate during an application is not fully supported by Microsoft and it's probably not 100% fixable for MP1 with the current Windows patch level.
     

    rak

    Portal Pro
    March 5, 2008
    93
    1
    Home Country
    Czech Republic Czech Republic
    Hm, I use now latest SVN and I still have stutters, even with 23.976 movies after RR set to 24Hz - so nothing changed for me. It does not show slide show effect as before, but from time to time there is visible stutter without any dropped frames in evr.log. Someone proposed to use AC3 filter instead of ffdshow for passthrough, so I'm going to try this. Anyway if I manually set RR to 24Hz and play the movie in MPC-HC it plays very smooth without any stutter. It looks for me that there is still problem inside MP.

    Has anyone already found out, why "ERR: Could not get IMFClock interface" appears in evr.log? Can this be related to my stutter problem or can I ignore it?

    Anyway, I still see the side effect of refresh rate change. When I stop 23.976 movie and the RR returns to 50Hz for the GUI, the menu badly stutters. When this happens, the max FPS is reported to be 37 to 38 only instead of correct 50Hz. Any Idea?

    Another "bad" effect of the modified RR is that now when the RR is going to be changed, the screen goes black for a second or two, than the GUI appears again for a moment with same RR, than the screen goes black again, the RR changes actually, and after that the movie starts. As this RR change and disappearing/reappearing takes several seconds, it looks like the movie will not start and I tend to press play/stop again.
     

    edterbak

    Portal Pro
    March 4, 2008
    2,114
    1,176
    Home Country
    Netherlands Netherlands
    Hm, I use now latest SVN and I still have stutters, even with 23.976 movies after RR set to 24Hz - so nothing changed for me. It does not show slide show effect as before, but from time to time there is visible stutter without any dropped frames in evr.log. Someone proposed to use AC3 filter instead of ffdshow for passthrough, so I'm going to try this. Anyway if I manually set RR to 24Hz and play the movie in MPC-HC it plays very smooth without any stutter. It looks for me that there is still problem inside MP.

    Has anyone already found out, why "ERR: Could not get IMFClock interface" appears in evr.log? Can this be related to my stutter problem or can I ignore it?

    Anyway, I still see the side effect of refresh rate change. When I stop 23.976 movie and the RR returns to 50Hz for the GUI, the menu badly stutters. When this happens, the max FPS is reported to be 37 to 38 only instead of correct 50Hz. Any Idea?

    Another "bad" effect of the modified RR is that now when the RR is going to be changed, the screen goes black for a second or two, than the GUI appears again for a moment with same RR, than the screen goes black again, the RR changes actually, and after that the movie starts. As this RR change and disappearing/reappearing takes several seconds, it looks like the movie will not start and I tend to press play/stop again.

    Hi Rak,

    I doubt what I write is the issue you are seeing, but it might help to rule out other causes.

    Do you know how many reference frames the movie file has? I ask this because it seems ATI doesnt have its drivers up the same level compared with NVidia. anything with more than 4-5 reference frames isnt played smoothly with use of DXVA. (is the bluray specification.)
    I dont know what hardware you have, so thats why Im asking. If you are using ATI card and media file with more than 5 reference frames Profile High@L5.1 with DXVA it will judder VERY much.. Any other files with lower ref frames should play 100% ok.
    The latest MPC-HC version is also better in handling high ref frames files.

    For more information about this: See
    http://forums.guru3d.com/showthread.php?t=308911
    or
    http://forums.amd.com/game/messageview.cfm?catid=279&threadid=106911
     

    Chimen

    Portal Pro
    July 11, 2005
    85
    4
    Home Country
    Sweden Sweden
    I did some more test. It seems a similar problem is still there when you first play a 23.976fps file after MP started. After that, all 50i/60i/25p playbacks show some micro stutters. Not the same as before. It's very bad with PDVD9. Other filter behave better here. Alt-Tab does not solve this. It's persistent as long as MP runs.

    If the first thing you play is 50i/60i/25p the problem never occurs and playback stays smooth. At least I cannot reproduce it in this case.

    Very strange problem. There are other annoyances we stumbled across when working on smoother playback and sorted them out as good as possible. Maybe an additional workaround is needed for this different scenario. But I think the truth here is that changing the refresh rate during an application is not fully supported by Microsoft and it's probably not 100% fixable for MP1 with the current Windows patch level.

    I can confirm this. But apart from that it's working great for me now.
     

    onyx666

    Portal Pro
    September 26, 2008
    159
    0
    when i use internal api to change refreshrate then it is solved but when i use powerstrip for changing refreshrate then it still exists
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    when i use internal api to change refreshrate then it is solved but when i use powerstrip for changing refreshrate then it still exists

    Powerstrip modifies the refresh rate directly from the HW, so some cases it is possible that it wont even be visible for applications (for example querying the refresh rate from DirectX will result always the refresh rate that application has been started up).

    if possible, please avoid using powerstrip or any 3rd party tools.
     

    rak

    Portal Pro
    March 5, 2008
    93
    1
    Home Country
    Czech Republic Czech Republic
    Hi Rak,

    I doubt what I write is the issue you are seeing, but it might help to rule out other causes.

    Do you know how many reference frames the movie file has? I ask this because it seems ATI doesnt have its drivers up the same level compared with NVidia. anything with more than 4-5 reference frames isnt played smoothly with use of DXVA. (is the bluray specification.)
    I dont know what hardware you have, so thats why Im asking. If you are using ATI card and media file with more than 5 reference frames Profile High@L5.1 with DXVA it will judder VERY much.. Any other files with lower ref frames should play 100% ok.
    The latest MPC-HC version is also better in handling high ref frames files.

    For more information about this: See
    ATI Fails to Accelerate HD Video - Guru3D.com Forums
    or
    AMD Game Forums - DXVA Limitations on ATI 3450

    Yes, I have ATI HD4550, but the movie that stutters is 720p and according to these forums the ATI should be capable of smooth HW accel up to 9 ref frames. The movie has 6 ref frames, so this shouldn't be the prblem.
     

    rak

    Portal Pro
    March 5, 2008
    93
    1
    Home Country
    Czech Republic Czech Republic
    It's even worse. When the low fps in GUI happens I have many dropped frames, if I play movie at 25Hz e.g without RR.
     

    Scythe42

    Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    51
    Berlin
    Home Country
    Germany Germany
    I did some more test. It seems a similar problem is still there when you first play a 23.976fps file after MP started. After that, all 50i/60i/25p playbacks show some micro stutters. Not the same as before. It's very bad with PDVD9. Other filter behave better here. Alt-Tab does not solve this. It's persistent as long as MP runs.
    This issue has been solved. Found a spot in the code that caused this behavior.
     

    Users who are viewing this thread

    Top Bottom