[FFmpeg-user] error attempting 2 pass encoding using libx264

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Feb 8 01:15:11 CET 2013


Nathan Lewis <nlewis <at> mail.crawford.com> writes:

> > > > ffmpeg -i "Split Track Audio Sample.mov" -c:v libx264
> > > -f mov -pass 1 /dev/null
> >
> > While the following command works fine here, I
> > think two-pass encoding without a bitrate does
> > not make sense.
> >
> > $ ./ffmpeg -i fate-suite/svq3/Vertical400kbit.sorenson3.mov
> > -acodec aac -pass 1 -strict -2 -f mov /dev/null
> 
> Agreed.  My end goal is to declare -b:v 2000k but due to the error I am
> getting I kept removing switches to see if I could get a successful -pass 1
> using current version from git.

Good idea!

> So, you are able to get your command to
> run with success using the most current version?

The following commands work as expected, both 
with and without -an:

$ ./ffmpeg -i fate-suite/svq3/Vertical400kbit.sorenson3.mov 
-pass 1 -strict -2 -b:v 200k -f mov /dev/null
$ ./ffmpeg -i fate-suite/svq3/Vertical400kbit.sorenson3.mov 
-pass 2 -strict -2 -b:v 200k out.mov

Carl Eugen



More information about the ffmpeg-user mailing list