[FFmpeg-devel] [PATCH] avcodec/dcaenc: Do not abort process in case of bitrate deficit
Rostislav Pehlivanov
atomnuker at gmail.com
Tue May 16 13:25:30 EEST 2017
On 12 May 2017 at 00:33, Даниил Чередник <dan.cherednik at gmail.com> wrote:
> 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
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>
Hi, sorry for the delay.
Tested the patch and it did help reduce the minimum bitrate a little,
though I suppose it helps quality more.
Thanks, patch applied!
More information about the ffmpeg-devel
mailing list