[FFmpeg-devel] [PATCH] float values for libmp3lame quality

James Darnley james.darnley
Tue Sep 14 14:29:44 CEST 2010


This patch lets people use fractional quality settings for libmp3lame.
 This feature was added to lame so that a user could use -V 5.678
rather than integers alone.  Since I probably can't change
AVCodecContext->global_quality to a float, the libmp3lame quality
level is set to this value divided by 10.  This should allow
sufficient precision for most uses.  If the user forgets that the
scale is 10 times larger and sets a value less than 1 a warning will
be printed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-float-values-for-libmp3lame-quality.patch
Type: application/octet-stream
Size: 2939 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100914/de12ccbf/attachment.obj>



More information about the ffmpeg-devel mailing list