[MPlayer-cvslog] CVS: main mencoder.c,1.326,1.327

Rich Felker dalias at aerifal.cx
Mon Dec 26 20:15:54 CET 2005


On Mon, Dec 26, 2005 at 11:21:29AM -0600, Joey Parrish wrote:
> >This was discussed to death already and there's really no sane way to
> >do it.. Just drop it.
> 
> Not true.  Sane way: in absence of -of, of is guessed.  If you don't 
> give an extension we recognize, either fail with warning or default to 
> avi.  Add of=avi to your config for the old behavior.  What's wrong with 
> that?

And what happens if you use -o foo.mpg? Does it use muxer_mpg or
muxer_lavf with mpeg format selected?? Should it be mpeg-ps, mpeg-pes,
or mpeg-ts??? Extension is simply not enough to know the desired
format to use. Same applies for avi since both lavc and native
muxer_avi can generate avi files..

Rich




More information about the MPlayer-cvslog mailing list