[MPlayer-DOCS] [PATCH] new section: muxing

Guillaume Poirier poirierg at gmail.com
Tue Apr 12 16:04:05 CEST 2005


Hi,

On Apr 12, 2005 3:48 PM, Nico Sabbi <nsabbi at tiscali.it> wrote:
> Guillaume Poirier wrote:
> 
> >Ok. I guess that for the purpose of coherency, I should explain why we
> >want to use a different container than AVI (ok, that's done) and MPEG
> >(?).
> >
> >My first thought would be that when I was an MPlayer-newbie, I never
> >managed to mux an existent video file and a audio file into a single
> >file (and quite frankly, I still don't know how).
> >
> >
> 
> mplayer -oac copy -ovc copy  -o x.avi -audiofile file.mp3 video.m4v
> 
> (works with mp2/1 audio, wav and few other formats too).
> If audio is ac3 it is now automatically demuxed (based on the extension)
> by demux_lavf.
> Other formats that are not automatically demuxed (such as aac) need
> 
> -audio-demuxer 20 -rawaudio format=0xyyyy:channels=n:bitrate=m:rate=w
> 
> BTW, muxer_lavf is beginning to work better: mpeg* and asf  (at least in
> my local tree)
> produce valid and synced files.


Ok, thanks for the tip. I'll include it in the docs as soon as I can.

In order to be able to use demux_lavf, don't you need to checkout
libavformat for the FFmpeg project?

Do you happen to know how to tell MEncoder to use a particular muxer
of libavformat?

I think it would be great to be able to mux into NUT as the manpage as
well as the XML doc does mention that NUT is supported, but doesn't
say how to create them...


Regards,
Guillaume




More information about the MPlayer-DOCS mailing list