[FFmpeg-devel] [PATCH] Eliminate -dc option from ffmpeg.c options

Michael Niedermayer michaelni
Sat Aug 9 04:28:14 CEST 2008


On Fri, Aug 08, 2008 at 02:48:57PM -0700, Baptiste Coudurier wrote:
> Hi,
> 
> Stefano Sabatini wrote:
> > Hi all,
> > 
> > this seems unnecessary since it may be set using AVOptions.
> > 
> > Also I honestly cannot understand the -8 logic, but it seems to me
> > plain wrong/misleading.
> > 
> 
> Not at all, everybody express MPEG-2 (at least) DC precision in bits, so
> you say 9/10/11 bits for dc 1/2/3.
> 
> This change command line usage and Im against it for now, some more
> advanced AVOption system like eval() possibility would be better I think.

hmm, i think having command line options and internal variables do very
different things could be confusing.

We could just make intra_dc_precision have 8,9,10,11 as value instead of
1/2/3 this would IMHO be the cleanest solution but would have to be
done under #if VERSION with the next major version bump ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- 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/ffmpeg-devel/attachments/20080809/dfea8e44/attachment.pgp>



More information about the ffmpeg-devel mailing list