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

John Doe jdmls at yahoo.com
Tue Oct 11 11:06:48 CEST 2011


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?


More information about the ffmpeg-user mailing list