[FFmpeg-user] XVID-Encoding with ffmpeg

llarevo at gmx.net llarevo at gmx.net
Tue Mar 5 11:30:12 CET 2013


Hi,

> > > > 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.
> > OK, I thought so.
> > 
> > > > The xvidenc-configuration in mencoder is
> > > >
> > > > -xvidencopts
> > > >
> > pass=1:profile=dxnhtpal:(no)greyscale:me_quality=6:max_bframes=1:noqp
> > el:nogmc:(no)cartoon:quant_type=mpeg:trellis:(no)interlacing:chroma_me:c
> > hroma_opt:vhq=4
> > >
> > > For example, -pass 1 -bf 1 and so on.
> > OK, I found these already, but not all of them.
> > 
> > > >
> > > > 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
> > > http://www.mplayerhq.hu/DOCS/HTML/de/menc-feat-xvid.html#menc-
> > feat-xvid-encoding-profiles
> > > to help you translate it.
> > I know that site. My problem is, that I don't find some options from the
> > mplayer site in the ffmpeg man pages or ffmpeg-documentation.
> > 
> > So my concrete question is: what is ffmpeg-syntax-equivalent for
> > 
> > profile=htdxnpal
> > me_quality=6
> > quant_type=mpeg
> > trellis
> > interlacing
> > chroma_me
> > chroma_opt
> > vhq=4
> > 
> > Additional questions are:
> > 
> > Where should I look for the syntax of these parameters?
> 
> If ffmpeg's MPEG-2 and MPEG-4 syntax is similar or the same, some work I did
> a while ago translating my mencoder MPEG-2 command line to ffmpeg might be
> of use. Let me know if you want to have a look at it.

Any help is very appreciated. So if it is not to much effort, I would be
interested in your command line. I'm new to ffmpeg, and I have also
mpeg2-tasks to migrate from mencoder to ffmpeg.

Thank You!
-- 
Felix



More information about the ffmpeg-user mailing list