Log in

View Full Version : add motion blur to video in realtime


Terka
4th November 2007, 13:52
is it possible to add motion blur to video while playing-using ffdshow's avisynth function (c2d 6750)?

scharfis_brain
4th November 2007, 13:57
no.



___

Terka
4th November 2007, 14:16
thank you for quick answer. maybee some other player/filter is able to do this?

IanB
4th November 2007, 14:22
Genuine Motion Blur is quite CPU intensive, so as Schafi say no.

But if you are just after a motion blur like special effect you could blend a number of consectutive frame together quite quickly with one of the many temporal smoothing filters available.

Terka
4th November 2007, 14:28
i tryied:
bw = last.MVAnalyse(isb = true, truemotion=true, idx=1,blksize=16)
fw = last.MVAnalyse(isb = false, truemotion=true, idx=1,blksize=16)
last.MVFlowBlur(bw, fw, blur=75, prec=0,idx=1)
but got 15fps

actionman133
5th November 2007, 08:31
MVFlowBlur doesn't add or remove frames, it merely blurs along the lines of motion.

If you want to create a smoother looking video - like have playback at 30 or 60 fps and to interpolate the in-between frames - then use MVFlowFPS or MVFlowFPS2.

If you want real time, you have very little chance of this working well, unless you have a low resolution. But if you're able to wait and render with high quality settings, MVFlowFPS can look fantastic.

Terka
5th November 2007, 12:05
is it possible to speedup the script like dont use both directions?

Didée
5th November 2007, 12:18
Simply wait a little. Hardware is getting faster by the year.

Terka
5th November 2007, 23:53
got similar solution using Motion filter which is fast.
loadplugin("c:\Program Files\AviSynth\plugins\Motion_12Dec05.dll")
motionprotectedfps(75) on 25fps source looks quite smooth
and the cpu load is about 40%

Adub
6th November 2007, 00:56
You may be able to pull it off with a overclocked 4 core. Not sure, haven't tried.