[MPlayer-users] MEncoder Sound Really Messed Up

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Jun 12 02:32:31 CEST 2011

On Sun, Jun 12, 2011 at 09:47:04AM +1200, Lobster wrote:
> On 12/06/2011 8:07 a.m., andrew at WARnux.com wrote:
> >I am using MEncoder r33579 (committed today) which is being called
> >into by DeVeDe to create a DVD formatted file for burning.  The
> >sound is really really messed up; it plays slow and skips every so
> >often.  The video is fine, but the sound is like it's in slow
> >motion.  Note that it didn't matter what video file I used, the
> >result was the same.  Here is the full command line that DeVeDe
> >used:
> >
> >/usr/bin/mencoder    -srate    48000    -af    lavcresample=48000
> >-oac    lavc    -aid    1    -ovc    lavc    -of    mpeg
> >-mpegopts    format=dvd:tsaf    -ofps    30000/1001    -vf
> >scale=352:240,harddup    -lavcopts    threads=2:vcodec=mpeg2video:trell:mbd=2:sc_threshold=1000000000:cgop:vstrict=0:vrc_maxrate=1600:vrc_buf_size=1835:vbitrate=800:keyint=12:acodec=ac3:abitrate=224:aspect=4/3
> >-o    movie_01_01.mpg    test.avi
> Change acodec=ac3 to acodec=ac3_fixed

>From SVN r33592 such hacks should no longer be necessary.
mencoder will from then on also use the more sensible behaviour
of mplayer, i.e. if the output of decoder+filter chain is
s16 it will try to encode as s16, if it is float it will try
to encode as float etc.
Which means that you can also chose between the fixed-point
and floating-point AC-3 encoder via -af format=s16ne and
-af format=floatne.
If the format is not supported, it will fallback to s16.

More information about the MPlayer-users mailing list