Log in

View Full Version : Question about MVTools


Sagekilla
8th August 2008, 04:12
I was wondering, would it be possible for me to do use the original 1080p frames as the pelclip for MVTools? I always downsize to 720p, but I thought the extra sharpness afforded by the original 1080p frame would help finding MV's a bit easier.

I thought of something along the lines of this:

DirectShowSource("...").ConvertToYV12()
source = last
input = source.Spline16Resize(1280,720)
source = source.Spline16Resize(2560,1440)

bvec = input.MVAnalyse(isb=true, delta=1, idx=1, pelclip=source)
fvec = input.MVAnalyse(isb=false, delta=1, idx=1, pelclip=source)

input.MVDegrain1(bvec, fvec, idx=1, pelclip=source)

I always thought that doing a direct 1080p --> 1440p and using that for MVs would be more useful then 1080p --> 720p --> 1440p.

mikeytown2
8th August 2008, 07:22
@Sagekilla your example appears to work, you can check for your self by doing input.MVShow(bvec) and/or input.MVShow(fvec). I attempted this with interlaced content and non square pixels (footage from my HD Cam) and this is what I came up with...


FinalW=1280
FinalH=720

source = last.SeparateFields()
input = source.Spline16Resize(FinalW,FinalH/2)
source = source.Spline16Resize(width(source)*2,height(source)*2)

bvec = input.MVAnalyse(isb=true, delta=2, idx=1, pelclip=source, pel=1)
fvec = input.MVAnalyse(isb=false, delta=2, idx=1, pelclip=source, pel=1)

input.MVDegrain1(bvec, fvec, idx=1, pelclip=source)
Weave()

pel=1 seems to work, yet pel=2 doesn't. Output is interlaced, and because I didn't do a bob resize, it's not that good quality wise... so do not use my code, its just a flawed example that runs.

Sagekilla
8th August 2008, 13:20
I will test with my Blu-ray sources in a few minutes then, I'll have to whiz up some comparison between a nice detailed portion of a movie with a modest amount of grain.


Edit: Well, according to my tests, there is no real benefit to be had when using the original 1080p clip upsampled to 1440p. This might be slightly different on another source with heavy grain (300) but so far, I've encountered -no- real difference. It looked -exactly- the same. Maybe if I was downsampling from 1080p to 480p the situation might be different..

Fizick
8th August 2008, 20:07
please do not forget, that pelclip must be shifted a little (see example in a doc)....
And it is better to use general MVTolls thread....