[MPlayer-users] MEncoder: my avi output file has no audio (long)

D Richard Felker III dalias at aerifal.cx
Sat Oct 2 17:20:44 CEST 2004


On Sat, Oct 02, 2004 at 01:35:36PM +0200, Ivo wrote:
> On Fri, 1 Oct 2004 12:19:04 -0400
> D Richard Felker III <dalias at aerifal.cx> wrote:
> 
> > 3-pass was meant to be a workaround, but it's buggy and can also cause
> > a/v desync. i do know one real workaround, but it's a pain:
> > 
> > 1. encode both passes with -oac copy
> > 2. dump the audio in whatever way you like and encode it with an
> > external program (e.g. lame).
> > 3. remux the new audio into your file.
> > 
> > if you want avi/mp3, step 3 can be dome with mencoder -oac copy -ovc
> > copy -audiofile foo.mp3 ... but the nice thing about this approach is
> > that you can instead opt for ogm or mkv (or in the near future, nut)
> > with vorbis audio by doing the second step with oggenc or your
> > favorite vorbis encoder, then using ogmtools/mkvtools/etc. for step 3.
> > 
> > rich
> > 
> So, if I want an avi/ac3 file how can I prepare audio and video?

you just do a plain 2-pass video encode with -oac copy both times.

rich




More information about the MPlayer-users mailing list