[Ffmpeg-devel] Differences between mencoder and ffmpeg when encoding using x264

Erik Slagter erik
Sun Feb 19 18:03:01 CET 2006


On Sun, 2006-02-19 at 16:50 +0100, Michael Niedermayer wrote:
> > Give very different results, although as far as I can see the relevant
> > options are the same. The mencoder command line gives much better
> > quality (visually) using the same bit rate, almost no blockyness, while
> > the ffmpeg output is full of blocks.
> 
> well, remove one option at a time until no removial is possible anymore witout
> reducing the diffence in quality

I have removed all options that are non-essential, leaving this:

mencoder -frames 500 -nosound -ovc x264 -of rawvideo -vf "lavcdeint" \
	-x264encopts   "bitrate=3000:nocabac:bframes=0:vbv_maxrate=9000:vbv_bufsize=8000:me=1:subq=1:threads=1" \
	-o $video $vob

ffmpeg -deinterlace -t 24 -y -i $1 -aspect 4:3 -minrate 0 -maxrate 9000 -b 3000 -bufsize 8000 -vcodec h264 -an -f h264 "$video"

The extra options for mencoder are to mimic ffmpeg behaviour.

The difference in quality is stunning.

I'll update (once again) and clean/recompile everyhing in the meantime,
you never know.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2771 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060219/13141e6f/attachment.bin>



More information about the ffmpeg-devel mailing list