Log in

View Full Version : Compatibility MVBob and MVDegrain1


yup
20th December 2006, 06:39
Hi folk!
I use simple script
import("mvbob.avs")
source=DGDecode_mpeg2source("E:\Crematory\fallen.d2v",6,4,true)
fields=source.AssumeTFF().SeparateFields() # or AssumeBFF
backward_vec = fields.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=4, sharp=2, idx = 1)
forward_vec = fields.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=4, sharp=2, idx = 1)
fields.MVDegrain1(backward_vec,forward_vec,thSAD=400,idx=1)
Weave()
MVBob()
but when I try open this script in VirtualDub, VirtualDub automaticaly closed, but before see right size frame.
But when I make first step MVDegrain and save temp avi and second step make MVBob all work fine. I use MVTools from Fizick 1.6.2 and MVBob download from http://home.arcor.de/scharfis_brain/mvbob/mvbob.rar.
Please advise.
With kind regards yup.

Didée
20th December 2006, 09:13
idx=1 is already used by MVBob. The crash occurs because some filters try to access the stored interpolation that idx=1 is referring to, but expect another framesize (field<-->frame).
If you remove SeaparateFields and Weave in your posted scriptlet, then the whole script will not crash. It will just deliver a b0rked result. :)

Either remove those idx=1 completely, or set idx to a random positive value, like idx=20 or so.

yup
22nd December 2006, 12:53
Didée thank You for advise.
That work, but successive approach making MVDegrain1 and save in HuffYUV and after makink MVBob work faster.
yup.