[FFmpeg-user] XVID-Encoding with ffmpeg

Timothy Gu timothygu99 at gmail.com
Thu Feb 28 23:30:44 CET 2013

On Thu, Feb 28, 2013 at 10:55 AM, llarevo at gmx.net <llarevo at gmx.net> wrote:
> Hello,
> I would like to migrate from mencoder to ffmpeg, but I can't find
> sufficient information how to "translate" the parameters for encoding
> with xvid from the mencoder commandline to a sufficient ffmpeg
> commandline.

I don't think there is an "encopts" option in ffmpeg. You will need to
translate all the xvid options to ffmpeg options.

> The xvidenc-configuration in mencoder is
> -xvidencopts
> pass=1:profile=dxnhtpal:(no)greyscale:me_quality=6:max_bframes=1:noqpel:nogmc:(no)cartoon:quant_type=mpeg:trellis:(no)interlacing:chroma_me:chroma_opt:vhq=4

For example, -pass 1 -bf 1 and so on.
> The most important part for me is profile=dxhtnpal because this setting
> ensures a maximum bitrate over 3 sec not over 8 MBit/s, and a avaerage
> bitrate not higher than around 4,8 MBit/s (cf.
> http://www.mplayerhq.hu/DOCS/HTML/de/menc-feat-xvid.html)

Use the table on
to help you translate it.

You can set up a ffmpeg preset to avoid the mess to type in every
params every time. http://ffmpeg.org/ffmpeg.html#Preset-files-1

> How can I set the parameters above for encoding with libxvid in ffmpeg?
> Where can I find information about the xvid-Parameters? What are
> comparable parameters for the build-in mpeg4-codec?
> Thanks in advance!
> --
> Felix

> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

More information about the ffmpeg-user mailing list