[MPlayer-dev-eng] [SURVEY] change mencoder's default ofilename extension?

Reynaldo H. Verdejo Pinochet reynaldo at opendot.cl
Mon Nov 28 21:58:31 CET 2005


On Mon, Nov 28, 2005 at 09:52:34PM +0200, Oded Shimon wrote:
> On Mon, Nov 28, 2005 at 02:58:41PM -0300, Reynaldo H. Verdejo Pinochet wrote:
> > On Mon, Nov 28, 2005 at 12:16:58PM -0500, The Wanderer wrote:
> > > There is, of course, a fourth possibility, even though it may be too
> > > difficult to code feasibly at this stage: detect the file type and
> > > determine the default filename (or, rather, the default extension) based
> > > on that. I don't expect anyone to support that unless they're willing to
> > > do the work necessary to code it, but the option does theoretically
> > > exist, and it is in principle probably the most correct way.
> > 
> > lets just add this as '4.-' to the poll, I totally forgot it, weird toh
> > in my first post I suggested this as a solution too.
> 
> I suggest a variant of this idea - 
> keep everything the same, except:
> a BIG FAT warning, when you use an output file extention which doesn't math 
> the output file you're giving.
> 
> way too many idiots do 'mencoder -o bla.mpg' and expect an mpeg file. 
> making this automatic is NOT a good idea imo, because (for ex.) both lavf 
> and mpeg muxer support 'mpg', so, which to choose... so, instead, just say 
> extremely loudly "OUTPUT FILE IS AN AVI FILE. SEE -of help" (but still 
> encode as usual, after all, "the user is always right".)
> 
> coding this should be easy, only ones that need checking is muxer_avi and 
> muxer_mpeg, the rest don't fit. i'm thinking, 'avi' is a valid extention 
> for muxer_avi, and 'mpg', 'mpeg', and 'vob' are valid for muxer_mpeg...
> 
> anyone for this idea? against?
> 
> - ods15
> 

I like it, a lot, option '5.-' then ;)

 Reynaldo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20051128/4460d1ba/attachment.pgp>


More information about the MPlayer-dev-eng mailing list