Re: [FFmpeg-devel] [PATCH] avcodec/libvpxenc: return quantizer parameter for an encoded frame

2022-04-05 Thread Danil Chapovalov
I've rechecked documentation for the "vpx_codec_control" - can't find any guarantee about the last parameter when the function fails, thus prefer to be on the safe side. On Tue, Apr 5, 2022 at 3:59 PM James Almer wrote: > > On 4/5/2022 9:15 AM, Danil Chapovalov wrote

[FFmpeg-devel] [PATCH] avcodec/libvpxenc: return quantizer parameter for an encoded frame

2022-04-05 Thread Danil Chapovalov
--- libavcodec/libvpxenc.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index dff1d06b0e..b1d56d99b7 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -1250,6 +1250,8 @@ static int storeframe(AVCodecCont

[FFmpeg-devel] [PATCH] avcodec/libvpxenc: return quantizer parameter for an encoded frame

2022-04-05 Thread Danil Chapovalov
--- libavcodec/libvpxenc.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index dff1d06b0e..0705863450 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -1250,6 +1250,8 @@ static int storeframe(AVCodecCo

Re: [FFmpeg-devel] [PATCH] avcodec/libvpxenc: return quantizer parameter for an encoded frame

2022-04-01 Thread Danil Chapovalov
Ping On Thu, Mar 24, 2022 at 6:26 PM Danil Chapovalov wrote: > > --- > libavcodec/libvpxenc.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c > index dff1d06b0e..5db31db5dc 100644 > ---

[FFmpeg-devel] [PATCH] avcodec/libvpxenc: enable dynamic max quantizer parameter reconfiguration

2022-03-30 Thread Danil Chapovalov
--- doc/encoders.texi | 3 +++ libavcodec/libvpxenc.c | 6 ++ 2 files changed, 9 insertions(+) diff --git a/doc/encoders.texi b/doc/encoders.texi index 4b8cc69c0d..a304f865a6 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -1996,8 +1996,11 @@ kilobits/s. @item keyint_min (@emp

Re: [FFmpeg-devel] [PATCH] avcodec/libvpxenc: enable dynamic max quantizer parameter reconfiguration

2022-03-28 Thread Danil Chapovalov
On Thu, Mar 24, 2022 at 7:27 PM James Zern wrote: > > On Thu, Mar 24, 2022 at 6:12 AM Danil Chapovalov > wrote: > > > > --- > > libavcodec/libvpxenc.c | 6 ++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/libavcodec/libvpxenc.c

[FFmpeg-devel] [PATCH] avcodec/libvpxenc: return quantizer parameter for an encoded frame

2022-03-24 Thread Danil Chapovalov
--- libavcodec/libvpxenc.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index dff1d06b0e..5db31db5dc 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -1250,6 +1250,7 @@ static int storeframe(AVCodecCo

[FFmpeg-devel] [PATCH] avcodec/libvpxenc: enable dynamic max quantizer parameter reconfiguration

2022-03-24 Thread Danil Chapovalov
--- libavcodec/libvpxenc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index dff1d06b0e..463a658bb0 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -1625,6 +1625,12 @@ static int vpx_encode(AVCodecContext *avctx, AVP

[FFmpeg-devel] [PATCH] avcodec/libvpxenc: enable dynamic max quantizer parameter reconfiguration

2022-03-17 Thread Danil Chapovalov
--- libavcodec/libvpxenc.c | 9 + 1 file changed, 9 insertions(+) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index 8f94ba15dc..4735e57620 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -44,6 +44,7 @@ #include "libavutil/mathematics.h" #include "lib

Re: [FFmpeg-devel] [PATCH] Allow to modify max qp configuration parameter in libvpx without reseting the encoder

2022-03-16 Thread Danil Chapovalov
On Mon, Mar 14, 2022 at 4:28 PM Jan Ekström wrote: > > On Mon, Mar 14, 2022 at 3:05 PM Danil Chapovalov > wrote: > > > > --- > > Probably something a la > > avcodec/libvpxenc: enable dynamic quantizer reconfiguration > > ? Thank you, resubmitted with new t

[FFmpeg-devel] [PATCH] avcodec/libvpxenc: enable dynamic max quantizer parameter reconfiguration

2022-03-16 Thread Danil Chapovalov
--- libavcodec/libvpxenc.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index 8f94ba15dc..45baeed435 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -1658,6 +1658,13 @@ static int vpx_encode(AVCodecContext *avctx, AV

[FFmpeg-devel] [PATCH] Allow to modify max qp configuration parameter in libvpx without reseting the encoder

2022-03-14 Thread Danil Chapovalov
--- libavcodec/libvpxenc.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index 8f94ba15dc..45baeed435 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -1658,6 +1658,13 @@ static int vpx_encode(AVCodecContext *avctx, AV

[FFmpeg-devel] [PATCH] Attach quantizer parameter to an encoded frame in libvpx wrapper

2022-03-09 Thread Danil Chapovalov
Signed-off-by: Danil Chapovalov --- libavcodec/libvpxenc.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index 8f94ba15dc..581282682c 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -1247,6 +1247,7

[FFmpeg-devel] [PATCH] Allow to modify max qp configuration parameter in libvpx without reseting the encoder

2022-03-09 Thread Danil Chapovalov
Signed-off-by: Danil Chapovalov --- libavcodec/libvpxenc.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index 8f94ba15dc..45baeed435 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -1658,6 +1658,13 @@ static int