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

Erik Slagter erik
Mon Feb 20 19:56:31 CET 2006


On Mon, 2006-02-20 at 12:42 +0000, M?ns Rullg?rd wrote:
> >> yes, just dump the x264 parameters using x264_param2string() and see.
> > Brilliant! Thx!
> It gets better.  That string is written at the start of the bitstream.  Just
> run "strings" on the output files.

Results from:

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

and

mencoder -frames 500 -nosound -ovc x264 -of rawvideo -vf "lavcdeint" \
	-x264encopts "bitrate=3000:vbv_maxrate=9000:vbv_bufsize=8000" \
	-o $video $vob

The results are ehrm... interesting!

artemis erik:/var/tv/bewaren/bbc $ diff ffmpeg mencoder
1c1
< cabac=0
---
> cabac=1
3,6c3,6
< deblock=0:0:0
< analyse=0x1:0
< me=dia
< subme=6
---
> deblock=1:0:0
> analyse=0x1:0x111
> me=hex
> subme=5
9,11c9,11
< me_range=4
< chroma_me=0
< trellis=0
---
> me_range=16
> chroma_me=1
> trellis=1
18,20c18,20
< keyint=12
< keyint_min=7
< scenecut=0
---
> keyint=250
> keyint_min=25
> scenecut=40
23,28c23,28
< ratetol=1.3
< rceq='tex^qComp'
< qcomp=0.50
< qpmin=2
< qpmax=31
< qpstep=3
---
> ratetol=1.0
> rceq='blurCplx^(1-qComp)'
> qcomp=0.60
> qpmin=10
> qpmax=51
> qpstep=2
30,31c30,31
< vbv_bufsize=65536
< ip_ratio=1.25
---
> vbv_bufsize=8000
> ip_ratio=1.40

Pity that analyse isn't split up, this will take some effort to find
out :-(
-------------- 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/20060220/cec2ce91/attachment.bin>



More information about the ffmpeg-devel mailing list