PDA

View Full Version : Quicktime to x264


0gg
28th May 2007, 01:47
Hi

I have a problem with quicktime :
. mov
codec Avid DV 4.1.1 25i/s
720x576, lower field
=> this is a codec from a soft editing, Avid, wich uses Quicktime

I want to encode files in h264 mp4 with AAC in the best quality wich is possible to have

So I have a look here : http://avisynth.org/QuickTime, to make an avs script

LoadVFAPIPlugin("*:\***\qtreader.vfp","QTReader")
video = QTReader("***.mov")
video = video.ChangeFPS(25) #PAL
video.FlipVertical #For some reason I got it flipped

but it doesn't work : line 4 => video = video.ChangeFPS(25) #PAL makes crash MeGUI

so I write this :
SetMTMode(2,0)
LoadVFAPIPlugin("E:\IMPORTANT\DRIVERS VISTA\CODECS\QTReader\QTReader.vfp","QTReader")
QTReader("E:\Chi\Aff.mov")
video = QTReader("E:\Chi\Aff.mov")
video.FlipVertical
ConvertToYV12()
Crop(4, 4, -4, -4)
and select HQ-Slow to encode my video

BUT : when I read it, the frame rate isn't good, quality is poor, pictures are interlace and the video played is laggy :(


!!! === HELP === !!!


:thanks:

bond
28th May 2007, 13:01
BUT : when I read it, the frame rate isn't good, quality is poor, pictures are interlace and the video played is laggy :(you propably need to specify the correct frame rate in the script
also you need to deinterlace before encoding if you want to drop the interlacing (x264 can encode interlaced too)

0gg
28th May 2007, 15:46
I would like to specify the frame rate by this way :
video = video.ChangeFPS(25) #PAL
but MeGUI occured an error with this line :(

Is the an other syntax to try ?
My source is lower field, wich setup can I use with deinterlace ?