[FFmpeg-user] Worse quality than mencoder

n32 at email.cz n32 at email.cz
Mon Nov 24 15:11:56 CET 2014

Hi all,

I used these commands to encode my videos:

for pass in 1 2; do
  mencoder -oac mp3lame -lameopts cbr:br=128 -ovc x264 -x264encopts pass=$
pass:preset=veryslow:fast_pskip=0:tune=film:frameref=15:bitrate=1000 -o out.
avi in.avi

I wanted to change to ffmpeg because of troubles with A/V sync, so I encoded
by these commands:

for pass in 1 2; do
  ffmpeg -y -i in.avi -c:a libmp3lame -b:a 128k -c:v libx264 -b:v 1000k -
minrate:v 1000k -maxrate:v 1000k -bufsize 1835k -pass $pass -preset veryslow
-tune film -x264-params fast_pskip=0:frameref=15 out.avi

But I didn't get the same quality, I had to add 15 % to bitrate to get the 
same visual quality.

Is there any parameter which is set in mencoder but not in ffmpeg? I tried 
to set a dozen of parameters in ffmpeg to the defaults of mencoder but 
haven't found the responsible option.

Thank you in advance for any advice,
Jan Sever

More information about the ffmpeg-user mailing list