[MPlayer-users] mencoder conversion to flac

Ken Bass daytooner at gmail.com
Fri Jan 8 03:24:45 CET 2010


I am trying to convert an avi file (mpeg4 video, mp3 audio) to flac audio.
Using "-lavcopts acodec=flac", I get an error message that the ouput buffer
is too small, among other messages:
--------------------------------------------------------------------------
[ken at Bugs root]$ mencoder /xfs/good/winners-p.avi -ovc copy -oac lavc
-lavcopts acodec=flac -o /xfs/winners-flac.avi
MEncoder SVN-r29701-4.4.1 (C) 2000-2009 MPlayer Team
success: format: 0  data: 0x0 - 0x639b772a
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
AVI: ODML: Building ODML index (2 superindexchunks).
VIDEO:  [FMP4]  704x480  24bpp  29.970 fps  2700.0 kbps (329.6 kbyte/s)
[V] filefmt:3  fourcc:0x34504D46  size:704x480  fps:29.970  ftime:=0.0334
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
videocodec: framecopy (704x480 24bpp fourcc=34504d46)
[flac @ 0xaafac30]output buffer too small

Badly interleaved AVI file detected - switching to -ni mode...
-----------------------------------------------------------------------------------------------------

At this point, mencoder froze for awhile, then started dumping out "video
buffer full" lines.

I would also like to be able to capture directly to flac from my tuner card,
instead of mp3, as I did for the file above.

As always any and all help greatly appreciated.

ken


More information about the MPlayer-users mailing list