[FFmpeg-devel] [PATCH] ffmpeg: complain loudly and exit in case of -sameq
Stefano Sabatini
stefasab at gmail.com
Fri Nov 2 13:39:18 CET 2012
On date Friday 2012-11-02 13:35:18 +0100, Nicolas George encoded:
> Le duodi 12 brumaire, an CCXXI, Clément Bœsch a écrit :
> > I'd say something like "Option '%s' was removed. If you are looking for an
> > option to preserve the quality (which is not what -%s was for), use -qscale
> > 0 or an equivalent quality factor option." instead.
>
> A FAQ entry may be a better solution:
>
> Q: Where did the -sameq option go?
>
> A: The -sameq option meant "same quantizer", and made sense only in a very
> limited set of cases. Unfortunately, a lot of people mistook it for "same
> quality" and used it in places where it did not make sense: it had roughly
> the expected visible effect, but achieved it in a very inefficient way.
I'm fine with it.
> Each encoder has its own set of options to set the quality-vs-size balance,
> use the options for the encoder you are using to set the quality level to a
> point acceptable for your tastes. The most common options to do that are
> -qscale and -qmin.
I believe -qmax is more useful if you want to limit the "worst
possible quality". Also this raises the problem that we have a lot of
global options which only apply to a limited subsets of codecs (MPEG
based), and these options really belong to a private context rather
than in the global context.
--
FFmpeg = Freak Friendly Magical Purposeless Elected God
More information about the ffmpeg-devel
mailing list