[FFmpeg-user] Worse quality than mencoder

n32 at email.cz n32 at email.cz
Tue Nov 25 19:14:00 CET 2014

On 2014-11-25 18:31, Moritz Barsnick wrote:
"From what I can tell, libx264 embeds its encoder settings into the
resulting movie, whether employed from mencoder or from ffmpeg. As
discussed here:


those settings aren't exposed by any programs other than mediainfo, but
you can also see that embedded info doing something like this:

$ strings < out.avi | grep -E "x264.*core""
You read my thoughts: I just wanted to ask how I could get the parameters 
from mencoder (ffmpeg has it on its output). I should have known that it's 
as easy as plain text in the files.

"You should at least compare the settings from mencoder and ffmpeg (and
share the output here), as you/we might get an indicator as to which
setting is leading to bad results."
The output is surprisingly the same:

x264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.
videolan.org/x264.html - options: cabac=1 ref=15 deblock=1:-1:-1 analyse=0x
3:0x133 me=umh subme=10 psy=1 psy_rd=1.00:0.15 mixed_ref=1 me_range=24 
chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_
offset=-3 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 
interlaced=0 bluray_compat=0 constrained_intra=0 bframes=8 b_pyramid=2 b_
adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_
min=25 scenecut=40 intra_refresh=0 rc_lookahead=60 rc=2pass mbtree=1 bitrate
=1000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 cplxblur=20.0 qblur=
0.5 ip_ratio=1.40 aq=1:1.00

"I also haven't seen the full uncut console output of either encoding 
yet, please do provide. Just in case. :-)
It's very long, especially from mencoder, so I dropped some insignificant 
lines (marked as {more times}), which are similar to previous, so hopefully 
nobody feels flooded; and changed \r to \n to read it easier.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.txt.xz
Type: application/x-xz
Size: 2732 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20141125/89743135/attachment.xz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mencoder.txt.xz
Type: application/x-xz
Size: 2108 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20141125/89743135/attachment-0001.xz>

More information about the ffmpeg-user mailing list