Re: [FFmpeg-devel] [PATCH] vc2enc: prevent bitrate overshoots

2018-02-01 Thread James Darnley
On 2018-01-31 15:56, James Darnley wrote: > From: Rostislav Pehlivanov > > The rounding caused by the size scaler wasn't compensated for and the > slice sizes grew beyond what is allowed per frame. > > Signed-off-by: Rostislav Pehlivanov > --- I forgot to say that I pushed this patch after get

[FFmpeg-devel] [PATCH] vc2enc: prevent bitrate overshoots

2018-01-31 Thread James Darnley
From: Rostislav Pehlivanov The rounding caused by the size scaler wasn't compensated for and the slice sizes grew beyond what is allowed per frame. Signed-off-by: Rostislav Pehlivanov --- libavcodec/vc2enc.c | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --

[FFmpeg-devel] [PATCH] vc2enc: prevent bitrate overshoots

2016-04-06 Thread Rostislav Pehlivanov
Attached patch solves the overshoots the encoder has. From 5e4e428fdf3fcc58431b80947dc399dfacb82724 Mon Sep 17 00:00:00 2001 From: Rostislav Pehlivanov Date: Wed, 6 Apr 2016 11:51:24 +0100 Subject: [PATCH] vc2enc: prevent bitrate overshoots The rounding caused by the size scaler wasn't compensate