Log in

View Full Version : Seeking flicker-free playback


wonkey_monkey
17th January 2015, 01:24
I've got sidetracked on a new project because I've instead ended up trying to attain perfect flicker-free playback on my laptop screen. This is my test script:

version

interleave(last,last.blankclip)
loop(10)
assumefps(60) # laptop display refresh rate


What you should see is the standard version graphic flickering so fast that it looks almost like a darkened version of itself, but any mis-timing will be visible as a brief brightening or blackening of the video.

When I play it back in Virtualdub (with DirectX playback enabled), it does okay most of the time, but as well as the occasional single-frame glitch, there are also some more prolonged periods (a few seconds) during which the playback seems to be getting out of sync with the display.

It's a similar, though not quite so bad, story with MPC-HC.

I'm wondering if my hybrid Intel/Nvidia graphics card has anything to do with it (although disabling Optimus, which should mean only the Nvidia card is on, has had no effect), so could anyone give the script a try and report back their results?

Thanks,

David

PS It's a similar situation for me with 60fps YouTube video playback in Chrome browser.

wonkey_monkey
17th January 2015, 02:14
You've misunderstood my problem. I'm deliberately inducing flicker at a framerate that matches my display in order to test sync of video playback.

creaothceann
17th January 2015, 17:09
When I play it back in Virtualdub (with DirectX playback enabled), it does okay most of the time, but as well as the occasional single-frame glitch, there are also some more prolonged periods (a few seconds) during which the playback seems to be getting out of sync with the display.
- Try rendering the video to e.g. an AVI file.
- Creating a custom screen resolution & refresh rate (http://i.imgur.com/gB8FmxD.png) might help, too.
- Check the Vsync settings.

It's a similar, though not quite so bad, story with MPC-HC.
What renderer (e.g. madVR)?

I'm wondering if my hybrid Intel/Nvidia graphics card has anything to do with it (although disabling Optimus, which should mean only the Nvidia card is on, has had no effect)
Also happens on my Geforce GTX 970, but not when playing back the video as a file.