[MPlayer-dev-eng] libavcodec support in mencoder

Alex Beregszaszi alex at naxine.org
Sat Dec 22 15:39:44 CET 2001


Hi folk,

I've completed libavcodec support in mencoder, please test it.

Add #define CONFIG_ENCODERS 1 to config.h and recompile mencoder.
You can set libavcodec values with -lavcopts subconfig.

The options are:
vcodec=<Video codec, e.g: mjpeg,h263,h263p,mpeg4,msmpeg4,rv10,mpeg1video>
vhq  -> high quality
vbitrate -> bitrate
keyint -> keyframe interval

Also i prefer to use -ffourcc to specify output fourcc in avi.

A simple commandline to encode with libavcodec:

 ./mencoder input.avi -o output.avi -ovc lavc -lavcopts \
 vcodec=mpeg1video:vhq -ffourcc mpg1

Good luck,
alex



More information about the MPlayer-dev-eng mailing list