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

Erik Slagter erik
Mon Feb 20 22:02:29 CET 2006


On Mon, 2006-02-20 at 19:17 +0000, M?ns Rullg?rd wrote:
> > 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
> 
> diff -u, please

Are you suggestion here that your going to "apply" this? It's not a
patch, it's the diff between the settings as found in the h264 streams
from mencoder and ffmpeg. I sent for information, I will have a look at
actually changing some things in the code shortly.

FWIW, here the diff -u:

--- ffmpeg      2006-02-20 19:38:28.000000000 +0100
+++ mencoder    2006-02-20 19:33:03.000000000 +0100
@@ -1,31 +1,31 @@
-cabac=0
+cabac=1
 ref=1
-deblock=0:0:0
-analyse=0x1:0
-me=dia
-subme=6
+deblock=1:0:0
+analyse=0x1:0x111
+me=hex
+subme=5
 brdo=0
 mixed_ref=0
-me_range=4
-chroma_me=0
-trellis=0
+me_range=16
+chroma_me=1
+trellis=1
 8x8dct=0
 cqm=0
 chroma_qp_offset=0
 slices=1
 nr=0
 bframes=0
-keyint=12
-keyint_min=7
-scenecut=0
+keyint=250
+keyint_min=25
+scenecut=40
 rc=cbr
 bitrate=3000
-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
 vbv_maxrate=9000
-vbv_bufsize=65536
-ip_ratio=1.25
+vbv_bufsize=8000
+ip_ratio=1.40

-------------- 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/0395551d/attachment.bin>



More information about the ffmpeg-devel mailing list