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

Aurelien Jacobs aurel at gnuage.org
Mon Dec 26 22:45:16 CET 2005


On Mon, 26 Dec 2005 14:15:54 -0500
Rich Felker <dalias at aerifal.cx> wrote:

> 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??

Then why does `mplayer file.mpeg` works ?? why doesn't it require the
-demuxer option ? There is also multiple demuxer available for the
same format. But for every format, there is a prefered one.

> Should it be mpeg-ps, mpeg-pes, or mpeg-ts???

The same as when you simply specify -of mpeg.

> Extension is simply not enough to know the desired
> format to use.

Sure. It's also not enough to deduce the desired video bitrate, etc...
But when no format is specified, and that a well know extension
is used, we can decide to automaticaly select the most common format
for this extension, instead of simply failing.

Aurel




More information about the MPlayer-cvslog mailing list