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

Joey Parrish joey at nicewarrior.org
Mon Dec 26 18:21:29 CET 2005


Rich Felker wrote:

 >On Sun, Dec 25, 2005 at 07:23:11PM +0100, Alexander Strasser wrote:
 >>The Wanderer wrote:
 >>>On 12/24/2005 07:00 AM, Diego Biurrun wrote:
 >>>>On Fri, Dec 23, 2005 at 05:52:23PM -0500, The Wanderer wrote:
 >>>>>On 12/23/2005 09:47 AM, Oded Shimon wrote:
 >>>>>>On Fri, Dec 23, 2005 at 07:53:47AM -0600, Joey Parrish wrote:
 >>>>>>
 >>>>>>>Now, the next thing I'd like to see done is to set default
 >>>>>>>output format to MUXER_TYPE_AUTO and use filename extension
 >>>>>>>here to set muxer type. Any objections?
 >>>>>>
 >>>>>>ugh, we already discussed this, absoloutely not.
 >>>>>
 >>>>>Agreed. I was supporting using muxer type to set filename
 >>>>>extension, in the case of 'no output filename specified' and in no
 >>>>>other case; I would definitely not support using filename extension
 >>>>>to set muxer type.
 >>>>
 >>>>FFmpeg chooses muxer type by filename extension.  I don't see why
 >>>>this should be such a bad idea...
 >>>
 >>>Partly because it supports the "extension matters" paradigm, I think.
 >>>Beyond that, my previous comment does not appear to have been well
 >>>considered; however, I still would raise the issue of what would be done
 >>>when no extension is given and no -of is specified. FFmpeg simply fails
 >>>out, but FFmpeg is also (in my limited experience) rather less
 >>>user-friendly than MPlayer is.
 >>
 >>  I think it is perfectly fine to choose muxer from the given
 >>output filename extension as long as you can still optionally
 >>override it.
 >>
 >>  Implementation may still be more of a problem though.
 >
 >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?
It does not support the "extension matters" paradigm either.  If you 
want to use arbitrary extensions, simply specify of explicitly.  Not 
difficult.

--Joey




More information about the MPlayer-cvslog mailing list