Log in

View Full Version : Use Avisynth to reduce migraine due to video


iolaus
30th September 2012, 22:23
Hello all, I've got a rather odd situation. A buddy of mine is suffering from migraines and they are made much worse by the motion of video. He would like to try watching video where only every Nth frame is rendered (but the audio continues normally) to see if it is more tolerable. Is this something that could be accomplished with an Avisynth script?

If not, does anyone have a different suggestion?

wonkey_monkey
30th September 2012, 22:38
That is something you can do with Avisynth. Assuming you know how to load the source clip (it differs depending on the format you're opening) you could try something like:


... (load source)
fps=last.framerate
changefps(fps/10)
convertfps(fps) # or changefps(fps) for non-fading


This will select one frame out of every 10 (the "/10" on the third line) and then smoothly fade between them at the original framerate. Anything higher than 10 and you will need to add "linear=false" to the changefps command - not too sure what that's about though.

Someone will be along in a moment with a much better way of doing this, if my past experience is anything to go by :)

David

iolaus
3rd October 2012, 13:46
That is something you can do with Avisynth. Assuming you know how to load the source clip (it differs depending on the format you're opening) you could try something like:


... (load source)
fps=last.framerate
changefps(fps/10)
convertfps(fps) # or changefps(fps) for non-fading


This will select one frame out of every 10 (the "/10" on the third line) and then smoothly fade between them at the original framerate. Anything higher than 10 and you will need to add "linear=false" to the changefps command - not too sure what that's about though.

Someone will be along in a moment with a much better way of doing this, if my past experience is anything to go by :)

David

Thanks so much for the suggestion, I'll do a little reading on how to load the source and give that a shot.

If anyone else has any tips I'd be glad to hear them too.