PDA

View Full Version : Deinterlace plugins casuse error during preview


Diego2002
25th July 2007, 05:31
Hi!

I have a captured video with mjpeg codec. This is interlaced, and finally I want a deinterlaced video with xvid. First at all, I use this script:

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TomsMoComp.dll")
clip1 = AVISource("I:\F1_Nurburgring.avi")
clip1 = clip1.Trim(17571,223292)
clip1 = clip1.TomsMoComp(-1,5,1)
clip1 = clip1.BicubicResize(640,480)

clip2 = AVISource("I:\Nurburgring_2.avi")
clip2 = clip2.Trim(386,11535)
clip2 = clip2.TomsMoComp(-1,5,1)
clip2 = clip2.BicubicResize(640,480)
cont_u = 0.1 * 256
clip2 = clip2.colorYUV(cont_u)

return clip1 + clip2

If I open it with VirtualdubMod or MeGui and start to preview frame by frame, about at the 25th frame, all two program just close (without any error message). Even if I start encode, the same happens.

But sometimes, the preview goes perfect. But if I start the encode so, the process stops at 10% (int the first pass), so it don't work anyway.

Without the deinterlace lines, as I experienced, never happens this.

What can cause this, maybe the source avi has some error?

chipzoller
25th July 2007, 06:11
I've experienced problems with this where the source material was screwy in some way. Have you tried a different deinterlacing plugin? A good choice and a fast plugin to try is Fizick's port of the yadif plugin. Look at the avisynth development forum for the thread.

Diego2002
25th July 2007, 17:08
Thanks for your help, I will try this, but I tried KernelDeint too and happened the same.

Anyway, the preview working now with Yadif, nothing quit, now encode comes, of course at night.