Log in

View Full Version : Motion compensation frame converter


yup
5th December 2006, 06:14
Hi folk!
Please advise plugin for Avisynth which make frame conversion (decimation from 25 fps to 15fps, video for mobile phone). I try ChangeFPS and Fdecimate but output video was little jerky and not very good for compression. I think plugin could use motion compensation (interpolation on time).
Please advise.
With kind regards yup.

actionman133
5th December 2006, 08:31
Would a 12.5 fps video be okay? If so, use SelectEven ()... motion will be consistent between your frames.

If you absolutely need 15 fps, this is from the mvtools page, except for final framerate

# Assume progressive PAL 25 fps source. Lets try convert it to 15.
backward_vec = source.MVAnalyse(isb = true, truemotion=true, pel=2, idx=1)
# we use explicit idx for more fast processing
forward_vec = source.MVAnalyse(isb = false, truemotion=true, pel=2, idx=1)
cropped = source.crop(4,4,-4,-4) # by half of block size 8
backward_vec2 = cropped.MVAnalyse(isb = true, truemotion=true, pel=2, idx=2)
forward_vec2 = cropped.MVAnalyse(isb = false, truemotion=true, pel=2, idx=2)
return source.MVFlowFps2(backward_vec,forward_vec,backward_vec2,forward_vec2\
,num=15,idx=1,idx2=2)

yup
5th December 2006, 11:47
Thank You actionman133!
I try. I also find MotionProtectedFPS.avsi plugin and try. After result i writing.
yup.

yup
5th December 2006, 15:56
I try MVTools (like recomended actionman133) and MotionProtectedFPS.avsi from motion plugin.
Both give same results, but MotionProtectedFPS work faster.
yup.