[FFmpeg-user] libx264 2 pass encoding...

Jonathan Tanant jonathan at free.fr
Tue Oct 11 11:09:54 CEST 2011


Hi,

I use these ones to convert my movies to an iPhone/iPod compatible x264 :

ffmpeg -i "./input.mov" -sameq -r 25	-pass 1 -s 1024x512 -vcodec libx264 -vpre slow_firstpass 	-vpre ipod640 -b 1500kb -aspect 2:1 -threads 0 -f ipod -y output.mp4
ffmpeg -i "./input.mov" -sameq -r 25	-pass 2 -s 1024x512 -vcodec libx264 -vpre slow 			-vpre ipod640 -b 1500kb -aspect 2:1 -threads 0 -f ipod -y output.mp4

Best,

Jonathan.
Le 11 oct. 2011 à 11:06, John Doe a écrit :

> Hi,
> 
> I am debugging my old command lines and I bumped into an x264 2 pass problem:"[libx264 @ 0x1ccd460] constant rate-factor is incompatible with 2pass."
> 
> I understand that lossless presets won't work.
> I tried the ipod presets... same.
> I did not find any *pass presets files...
> I only got: libvpx-*, libx264-ipod* and libx264-lossless* presets.
> I tried no presets...
> 
> I have reduced my command-lines down to the minimum:
> ffmpeg -y -i "test.mov" -pass 1 "test.m4v"
> 
> ffmpeg -y -i "test.mov" -pass 2 "test.m4v"
> 
> But it still fails...
> 
> 
> ffmpeg version N-32814-gcab2860 
> libx264 r2085 8a62835
> 
> Anyone has some working 2-pass libx264 command-lines?
> 
> 
> Thx,
> JD
> 
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user





More information about the ffmpeg-user mailing list