[FFmpeg-devel] [PATCH 6/7] libkvazaar: Fix setting target bitrate
Carl Eugen Hoyos
cehoyos at ag.or.at
Mon Sep 28 14:11:31 CEST 2015
Arttu Ylä-Outinen <arttu.yla-outinen <at> tut.fi> writes:
> The divisor and dividend in the equation had been swapped,
> making the result the inverse of the actual bitrate.
> cfg->framerate =
> - (double)(avctx->time_base.num * avctx->ticks_per_frame) /
> avctx->time_base.den;
> + avctx->time_base.den / (double)(avctx->time_base.num *
> avctx->ticks_per_frame);
The patch description and the patch do not
match - framerate != bitrate - or do I misunderstand?
Carl Eugen
More information about the ffmpeg-devel
mailing list