Nicolas wrote:
An intermediate .mov file is necessary in order to encode in 2 pass mode
with ffmpeg or mencoder.

No, it isn't. I've done 2-pass encoding for x264 like this:

For the first pass, render the audio as wav, and use the YUV4MPEG stream for video. I called my output file "hiQ-x264-shizuocha.avi", so % takes that. The pipe settings are:

mencoder - -audiofile ./rendered/final-cut-direct.wav -oac lavc -lavcopts acodec=ac3 -noaspect -noskip -ovc x264 -x264encopts crf=20:subq=6:4x4mv:8x8dct:me=3:frameref=5:bframes=3:b_pyramid:weight_b:pass=1 -passlogfile hiQ-pass1.log -o %

And for the second pass:

mencoder hiQ-x264-shizuocha.avi -oac copy -noaspect -noskip -ovc x264 -x264encopts bitrate=1000:crf=20:subq=6:4x4mv:8x8dct:me=3:frameref=5:bframes=3:b_pyramid:weight_b:pass=2 -passlogfile ../hiQ-pass1.log -o hiQ-x264-shizuocha-p2.avi

It's quite possible, and very nice! You could even do n-pass encoding in this way.

hth,
Joe

_______________________________________________
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to