Tailschao
18th June 2009, 19:07
I'd like to preface this by saying that pretty much everything about the usage of MVTools goes a few miles over my head. I've tried on so many different occasions to get to grips with it, but no matter how much I read the documentation I just cannot get my head around it.
Now, I shot some stuff that I want to try and slow-motion down. I deliberately shot it in 50i at a shutter speed of 1/1000 to make sure there was as much motion in the source, and that the movement was as sharp as possible to aid in the interpolating of new frames.
Untouched sample - http://www.mediafire.com/download.php?zjbgjmowmje
Yes, I deliberately shot it that rotation. For lack of a wide-angle adapter, it was the best I could do.
I copied and pasted a motion interpolation script from another thread:
source = last
backward_vec = source.MVAnalyse(isb = true, truemotion=true, pel=2, idx=1,blksize=8)
forward_vec = source.MVAnalyse(isb = false, truemotion=true, pel=2, idx=1,blksize=8)
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,blksize=8)
forward_vec2 = cropped.MVAnalyse(isb = false, truemotion=true, pel=2, idx=2,blksize=8)
source.MVFlowFps2(backward_vec,forward_vec,backward_vec2,forward_vec2,num=50,idx=1,idx2=2
Now, all I know about that is that obviously MVanalyse is analysing the frames before and after, and FlowFps2 is then constructing the new ones from that data. And that 'num=50' is the output frame rate.
Now, what the crop line does I have no idea so I took it out (and corrected all the calls from 'cropped' to 'source', etc), and I changed num=50 to num=100 because I already had 50p after bobbing and I want higher rates for super-slow.
So my final script looked like this:
mpeg2source("X:\Input.d2v")
tdeint(mode=1) #bob to 50p
spline36resize(1920,1080) #fix aspect ratio
turnright() #fix rotation
source = last
backward_vec = source.MVAnalyse(isb = true, truemotion=true, pel=2, idx=1,blksize=8)
forward_vec = source.MVAnalyse(isb = false, truemotion=true, pel=2, idx=1,blksize=8)
backward_vec2 = source.MVAnalyse(isb = true, truemotion=true, pel=2, idx=2,blksize=8)
forward_vec2 = source.MVAnalyse(isb = false, truemotion=true, pel=2, idx=2,blksize=8)
source.MVFlowFps2(backward_vec,forward_vec,backward_vec2,forward_vec2,num=100,idx=1,idx2=2)
assumefps(25)
Now, aside from pretty much crashing my computer ("Access violation 0x0", that's out-of-memory isn't it?), the new frames created of the slow-moving person were lovely and smooth, but the frames created of the club were horrible:
Downsized script 1 output sample - http://www.mediafire.com/download.php?n3nz1lnywyy
Original frame - http://img197.imageshack.us/img197/8255/image0001a.jpg
Interpolated frame - http://img194.imageshack.us/img194/5342/image0000.jpg
I'm hoping this can be fixed by tweaking the settings (probably of the analysing somewhere). The club looks sharp enough at 1/1000 to make it possible to interpolate accurately I think. But as I said I understand very little about how to use these plugins, so my question is - can anyone offer any advice as to how to improve this?
Thanks
Now, I shot some stuff that I want to try and slow-motion down. I deliberately shot it in 50i at a shutter speed of 1/1000 to make sure there was as much motion in the source, and that the movement was as sharp as possible to aid in the interpolating of new frames.
Untouched sample - http://www.mediafire.com/download.php?zjbgjmowmje
Yes, I deliberately shot it that rotation. For lack of a wide-angle adapter, it was the best I could do.
I copied and pasted a motion interpolation script from another thread:
source = last
backward_vec = source.MVAnalyse(isb = true, truemotion=true, pel=2, idx=1,blksize=8)
forward_vec = source.MVAnalyse(isb = false, truemotion=true, pel=2, idx=1,blksize=8)
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,blksize=8)
forward_vec2 = cropped.MVAnalyse(isb = false, truemotion=true, pel=2, idx=2,blksize=8)
source.MVFlowFps2(backward_vec,forward_vec,backward_vec2,forward_vec2,num=50,idx=1,idx2=2
Now, all I know about that is that obviously MVanalyse is analysing the frames before and after, and FlowFps2 is then constructing the new ones from that data. And that 'num=50' is the output frame rate.
Now, what the crop line does I have no idea so I took it out (and corrected all the calls from 'cropped' to 'source', etc), and I changed num=50 to num=100 because I already had 50p after bobbing and I want higher rates for super-slow.
So my final script looked like this:
mpeg2source("X:\Input.d2v")
tdeint(mode=1) #bob to 50p
spline36resize(1920,1080) #fix aspect ratio
turnright() #fix rotation
source = last
backward_vec = source.MVAnalyse(isb = true, truemotion=true, pel=2, idx=1,blksize=8)
forward_vec = source.MVAnalyse(isb = false, truemotion=true, pel=2, idx=1,blksize=8)
backward_vec2 = source.MVAnalyse(isb = true, truemotion=true, pel=2, idx=2,blksize=8)
forward_vec2 = source.MVAnalyse(isb = false, truemotion=true, pel=2, idx=2,blksize=8)
source.MVFlowFps2(backward_vec,forward_vec,backward_vec2,forward_vec2,num=100,idx=1,idx2=2)
assumefps(25)
Now, aside from pretty much crashing my computer ("Access violation 0x0", that's out-of-memory isn't it?), the new frames created of the slow-moving person were lovely and smooth, but the frames created of the club were horrible:
Downsized script 1 output sample - http://www.mediafire.com/download.php?n3nz1lnywyy
Original frame - http://img197.imageshack.us/img197/8255/image0001a.jpg
Interpolated frame - http://img194.imageshack.us/img194/5342/image0000.jpg
I'm hoping this can be fixed by tweaking the settings (probably of the analysing somewhere). The club looks sharp enough at 1/1000 to make it possible to interpolate accurately I think. But as I said I understand very little about how to use these plugins, so my question is - can anyone offer any advice as to how to improve this?
Thanks