[MEncoder-users] ffmpeg vs. mencoder with libavcodec

The Wanderer inverseparadox at comcast.net
Sat Dec 17 20:03:49 CET 2005


On 12/17/2005 01:19 PM, Gary Steele wrote:

> Hey,
> 
> I've been playing around with comparing encoded movies from a set of
> image files using ffmpeg and mencoder.
> 
> Using what appears to be similar settings, I get much higher quality
> movies using mencoder, but I don't quite understand why, since it
> seems I'm using the same libavcodec encoder setting in both.
> 
> In particular, movies encoded with ffmpeg (CVS version) seem to be
> very "blocky": there are what appear to be macroblock (?) motion
> artifacts even in areas where the image is not changing.
> 
> As a demonstration, I have encoded two movies from the same set of
> image files to a very low target bitrate using the following
> commands:
> 
> $ ffmpeg -r 25 -b 50 -i %03d.jpg -vcodec msmpeg4v2 output_ffmpeg.avi
> 
> and
> 
> $ mencoder "mf://*.jpg" -mf fps=25 -o output.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=50

Well, that's almost certainly one problem right there: 'mpeg4' is not
the same as 'msmpeg4v2' (both of which are available in both MEncoder
and FFmpeg). Try using the same codec for both commands.

-- 
       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.




More information about the MEncoder-users mailing list