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?
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?