- May 14, 2008
- 3,558
- 434
- Home Country
- Germany
Hello,
at the moment the current MP implementation of the dynamic refreshrate changer is based on the output of mediainfo. But this does not work for streams. (for example Onlinevideos).
I made a patch using some new functions owlroost implemented for me in V84 of his great directshowhelper.dll (THANKS owlroost).
So how does it work?
1.) check if the FPS is known by mediainfo
2.) if not - start a seperate thread which waits until the video is played
3.) get fps from running video and check if we need to change the fps according to your dynamic refreshrate settings
4.) wait again and recheck the fps (sometimes the first check is not correct - it depends on stream and type)
This patch is for the current MP SVN or MP 1.2 beta. To use it you also NEED owlroost directshowhelper.dll in ver. V84. You can get it from here: https://forum.team-mediaportal.com/...ty-development-81148/index113.html#post749721 or use my provided binary package for MP 1.2 beta.
Greets Stefan
at the moment the current MP implementation of the dynamic refreshrate changer is based on the output of mediainfo. But this does not work for streams. (for example Onlinevideos).
I made a patch using some new functions owlroost implemented for me in V84 of his great directshowhelper.dll (THANKS owlroost).
So how does it work?
1.) check if the FPS is known by mediainfo
2.) if not - start a seperate thread which waits until the video is played
3.) get fps from running video and check if we need to change the fps according to your dynamic refreshrate settings
4.) wait again and recheck the fps (sometimes the first check is not correct - it depends on stream and type)
This patch is for the current MP SVN or MP 1.2 beta. To use it you also NEED owlroost directshowhelper.dll in ver. V84. You can get it from here: https://forum.team-mediaportal.com/...ty-development-81148/index113.html#post749721 or use my provided binary package for MP 1.2 beta.
Greets Stefan