[MPlayer-users] mencoder conversion to flac

Ken Bass daytooner at gmail.com
Fri Jan 8 17:40:16 CET 2010


On Fri, Jan 8, 2010 at 2:06 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Ken Bass <daytooner <at> gmail.com> writes:
>
> > 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
>
> ffmpeg -i winners-p.avi -vcodec copy -acodec flac winners-flac.avi
>
> Carl Eugen
>

OK, tried ffmpeg instead, just as you listed above. But the audio now is
about 4 seconds lagging the video.

And I still get the  "flac @ 0xaafac30]output buffer too small" when running
mencoder, which I would like to know what it means, and can I fix it using
mencoder.

As for the editing application, it is obvious that it has serisous problems
handling different audio formats. I can load a flac audio only file into the
app (which is why I am trying to convert to flac), but the app gets very
confused with both a flac audio and any kind of video stream. If anyone has
suggestions for a good, simple editing app (trim, cut, convert) please let
me know. (I will probably switch back to LiVES, even though it is very much
overkill for my needs.

One other thing: if I go to using ffmpeg rather than mencoder, then how do I
capture from a tuner card? According to the manual, I need to set up the
v4l2 parameters in another running app, before starting up the ffmpeg
capture. Not quite the most elegant solution I would hope for :-(.

Thanks, Carl, for the suggestion. I will RTFM some more and see if there is
something I can tweak to get the audio back in sync.

ken


More information about the MPlayer-users mailing list