[FFmpeg-devel] [PATCH] avcodec/dcaenc: Do not abort process in case of bitrate deficit

Даниил Чередник dan.cherednik at gmail.com
Fri May 12 02:33:22 EEST 2017


Hi.

This patch removes assert which can cause abort process in case of limited
bitrate:

Old behaviour - abort if at least one subband has 1bit quantizer
and consumed_bits still greater than frame_bits size. It was
a bit strange - we still could reduce bits consumption by reducing
SNR for other subbands. Same strange logic with upper threshold -
stop bits allocation if at least one subband reach 26bits.

New behaviour - if consumed_bits greater than frame_bits and all
subbands has 1 bit quantizer we restart bits allocation and allow
zero subbands.

-- 
Daniil Cherednik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avcodec-dcaenc-Do-not-abort-process-in-case-of-bitra.patch
Type: application/octet-stream
Size: 6269 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170512/047c2cb5/attachment.obj>


More information about the ffmpeg-devel mailing list