[MPlayer-dev-eng] Any plan to add libavformat mencoder -of driver?

D Richard Felker III dalias at aerifal.cx
Mon Feb 21 16:33:27 CET 2005


On Mon, Feb 21, 2005 at 01:31:59PM +0100, Nico Sabbi wrote:
> Michael Niedermayer wrote:
> 
> >
> >s/priv->pb/priv->oc->pb/
> >
> >and
> >
> >+  fmt = guess_format(NULL, out_filename, NULL);
> >-  fmt = guess_format(out_filename, NULL, NULL);
> >
> >and IMHO this should be commited ASAP so its easier to test/debug/improve
> >though iam not sure why many of the changes in mencoder.c and muxer.c/h 
> >are needed, maybe you could elaborate on these?
> >
> >[...]
> > 
> >
> the changes in mencoder.c are needed to identify the codecs and the 
> parameters
> (samplerate, bitrate, channels, etc.) of the streams being encoded and 
> muxed.
> They are used both by muxer_lavf and the new muxer_mpeg that I will commit
> tonight.
> They can be reduced if I dereference directly WAVEFORMAT and BITMAP*
> in mux_a and mux_v.

this is the correct way to do it. please don't commit any changes to
mencoder.c until oded's multi-file support is committed.

> The other changes in muxer*.[ch] guarantee that muxers can really be 
> initialized
> and used, and exit gracefully otherwise.
> 
> I can't commit anything before tonight, sorry.

no problem. :)

rich




More information about the MPlayer-dev-eng mailing list