[MPlayer-users] mencoder: flac audio output?

matthew.garman at gmail.com matthew.garman at gmail.com
Thu Feb 15 21:29:25 CET 2007


On Thu, Feb 15, 2007 at 06:18:37PM +0100, Reimar D?ffinger wrote:
> Hello,
> On Thu, Feb 15, 2007 at 09:53:56AM -0600, matthew.garman at gmail.com wrote:
> > Does mencoder support FLAC audio output?  I can't seem to find any
> > indication that it does, but I just want to make sure I'm not
> > missing anything.
> 
> You are missing something.
> -oac lavc -lavcopts acodec=flac

Cool.  Where'd you find that info?

Do you know if mencoder also supports outputting to an audio/video
container capable of storing h264 video and flac audio?

I couldn't determine if AVI supports h264+flac or not.  Trying it in
mplayer failed.  I'm not sure if this is a limitation of AVI or
something else:

$ mencoder -aid 128 -alang en -oac lavc -lavcopts acodec=flac \
-ovc x264 -x264encopts bitrate=2200:partitions=all:8x8dct:\
me=umh:subq=6:frameref=5:threads=auto:pass=1:turbo=1:bframes=4:\
b_pyramid:weight_b -ofps 24000/1001 -of avi \
-vf pullup,hqdn3d=2:1:2,softskip,pp=ac,harddup -idx -o /dev/null
dvd://2

Results in:

[ ... ]

Too many audio packets in the buffer: (4096 in 8257091 bytes).

Too many audio packets in the buffer: (4096 in 8257091 bytes).

[ x264 info & stats... ]

With mencoder quitting about 1/10 the way through the encode.

Also tried the same command with setting bframes=0 (and removing the
b_pyramid:weight_b options).  Same result.

Matt




More information about the MPlayer-users mailing list