[prev in list] [next in list] [prev in thread] [next in thread] 

List:       flac
Subject:    Re: [Flac] Re: flac default options no longer printed
From:       Josh Coalson <xflac () yahoo ! com>
Date:       2007-12-31 23:30:26
Message-ID: 420489.24679.qm () web60424 ! mail ! yahoo ! com
[Download RAW message or body]

--- Dat Head <dathead2@gmail.com> wrote:
> On Dec 28, 2007 12:37 PM, Dat Head <dathead2@gmail.com> wrote:
> > I was going to start storing the flac version number and options
> > in an ENCODER meta field and with v1.1.2 if you did:
> >     flac foo.flac 2>&1 | grep options
> > you could see the defaults options, in 1.2.1 it doesn't print the
> options (even
> > if you give it a valid flac file name)
> >
> > i.e. options: -P 4096 -b 4608 -m -l 8 -q 0 -r 3,3
> >
> > here was what i was going to do:
> >
> > metaflac --set-tag=ENCODER="$(flac --version; flac foo.flac 2>&1 |
> > grep options)"
> 
> could i propose a new flag for next release maybe --show-defaults -
> or incorporate into existing flag (maybe just have --help show it?

I think the reason I took it out was because of the amount of code
it took to show correctly.  encoding has a lot of options, both
default and overrideable and they interact in complex ways.

lemme think how to handle it.  but saving the version and the full
command line is enough to figure out what options and defaults were
used to encode.

Josh



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
_______________________________________________
Flac mailing list
Flac@xiph.org
http://lists.xiph.org/mailman/listinfo/flac
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic