Re: [FFmpeg-devel] [PATCH 1/2] avcodec/utils: use 32pixel alignment for bink

2023-01-26 Thread Peter Ross
On Sun, Jan 22, 2023 at 01:02:21AM +0100, Michael Niedermayer wrote: > bink supports 16x16 blocks in chroma planes thus we need to allocate enough. > Fixes: out of array access > Fixes: > 55026/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BINK_fuzzer-6013915371012096 > > Found-by:

Re: [FFmpeg-devel] [PATCH 00/26] Major library version bump

2023-01-26 Thread Jean-Baptiste Kempf
On Fri, 27 Jan 2023, at 00:19, Michael Niedermayer wrote: > On Thu, Jan 26, 2023 at 11:49:14PM +0100, Jean-Baptiste Kempf wrote: >> On Thu, 26 Jan 2023, at 23:16, Michael Niedermayer wrote: >> > I think in general these are the constraints to optimize our release timing >> > against: >> > >> >

Re: [FFmpeg-devel] [PATCH 00/26] Major library version bump

2023-01-26 Thread Michael Niedermayer
On Thu, Jan 26, 2023 at 11:49:14PM +0100, Jean-Baptiste Kempf wrote: > On Thu, 26 Jan 2023, at 23:16, Michael Niedermayer wrote: > > I think in general these are the constraints to optimize our release timing > > against: > > > > 1. We seem to want 2 releases per year > > Yes. > > > 2. If we do

Re: [FFmpeg-devel] [PATCH 00/26] Major library version bump

2023-01-26 Thread Jean-Baptiste Kempf
On Thu, 26 Jan 2023, at 23:16, Michael Niedermayer wrote: > I think in general these are the constraints to optimize our release timing > against: > > 1. We seem to want 2 releases per year Yes. > 2. If we do a major bump, it should ideally happen after a release not > before to give time for

[FFmpeg-devel] [BUMP PATCH 2/2] avutil/frame: change AVFrame.*_picture_number to int64_t

2023-01-26 Thread Marton Balint
Frame counters can overflow relatively easily (INT_MAX number of frames is slightly more than 1 year for 60 fps content), so make sure we use 64 bit values for them. We also change MpegEncContext picture number members to 64 bit in this change, because mpeg(ish) decoding/encoding usually use and

[FFmpeg-devel] [BUMP PATCH 1/2] avcodec: change AVCodecContext.frame_number to int64_t

2023-01-26 Thread Marton Balint
Frame counters can overflow relatively easily (INT_MAX number of frames is slightly more than 1 year for 60 fps content), so make sure we use 64 bit values for them. Most of the changes are printf() format string updates, which is kind of the necessary evil of this change, because API users need

Re: [FFmpeg-devel] [PATCH 00/26] Major library version bump

2023-01-26 Thread Michael Niedermayer
On Thu, Jan 26, 2023 at 12:25:39AM +0100, Marton Balint wrote: > > > On Wed, 25 Jan 2023, Jean-Baptiste Kempf wrote: > > > On Wed, 25 Jan 2023, at 23:28, Marton Balint wrote: > > > On Wed, 25 Jan 2023, Jean-Baptiste Kempf wrote: > > > > > > > On Wed, 25 Jan 2023, at 22:03, Marton Balint wrote:

Re: [FFmpeg-devel] [PATCH 1/5] avcodec/mpeg4videoenc: use MpegEncContext->picture_number instead of encode function parameter

2023-01-26 Thread Marton Balint
On Tue, 24 Jan 2023, Marton Balint wrote: They should be the same and that is what most encode functions use. Applied the series. Regards, Marton Signed-off-by: Marton Balint --- libavcodec/mpeg4videoenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[FFmpeg-devel] [PATCH] libavformat/mpegtsenc.c -- correctly re-emit extradata ahead of IDR pictures

2023-01-26 Thread John Coiner
Trying again to upload the same patch, this time inline: >From 09c4bbd3d4ef6fbcb1558fce5cff4d15d7839526 Mon Sep 17 00:00:00 2001 From: John Coiner Date: Thu, 26 Jan 2023 13:34:24 -0500 Subject: [PATCH] Proposed fix for https://trac.ffmpeg.org/ticket/10148 --- libavformat/mpegtsenc.c | 18

[FFmpeg-devel] [PATCH] libavformat/mpegtsenc.c -- correctly re-emit extradata ahead of IDR pictures

2023-01-26 Thread John Coiner
A proposed fix for https://trac.ffmpeg.org/attachment/ticket/10148 is attached to the bug, here: https://trac.ffmpeg.org/attachment/ticket/10148/0001-Proposed-fix-for-https-trac.ffmpeg.org-ticket-10148.patch ___ ffmpeg-devel mailing list

[FFmpeg-devel] [PATCH] avformat/rawdec: set correct timebase and framerate for raw video demuxers

2023-01-26 Thread Paul B Mahol
Patch attached. From b3e0b2efa3055be6b78d28345c816c560ddb556e Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 26 Jan 2023 17:43:49 +0100 Subject: [PATCH] avformat/rawdec: set correct timebase and framerate for raw video demuxers Signed-off-by: Paul B Mahol --- libavformat/rawdec.c | 4

Re: [FFmpeg-devel] drawtext filter

2023-01-26 Thread Paul B Mahol
On 1/26/23, Francesco Carusi wrote: > On 26/01/2023 14:21, Paul B Mahol wrote: >> On 1/26/23, Francesco Carusi wrote: >>> The drawtext reinit command is also used in the docs as an example for >>> the sendcmd filter, so I thought it was fine to use commands in that >>> way. In my opinion it is

[FFmpeg-devel] [PATCH] avutil/{color_utils, csp}: merge color_utils into csp and expose API

2023-01-26 Thread Leo Izen
libavutil/color_utils contains some avpriv_ symbols that map enum AVTransferCharacteristic values to gamma-curve approximations and to the actual transfer functions to invert them (i.e. -> linear). There's two issues with this: (1) avpriv is evil and should be avoided whenever possible (2)

Re: [FFmpeg-devel] drawtext filter

2023-01-26 Thread Francesco Carusi
On 26/01/2023 14:21, Paul B Mahol wrote: On 1/26/23, Francesco Carusi wrote: The drawtext reinit command is also used in the docs as an example for the sendcmd filter, so I thought it was fine to use commands in that way. In my opinion it is also a convenient way to modify multiple options at

Re: [FFmpeg-devel] Let us review and collebrate on vvc native decoder.

2023-01-26 Thread Nuo Mi
On Thu, Jan 26, 2023 at 8:23 PM Thilo Borgmann wrote: > Am 14.01.23 um 14:32 schrieb Nuo Mi: > > On Sat, Jan 14, 2023 at 9:13 PM Nuo Mi wrote: > > > >> Hi Experts: > >> I am happy to send out the first draft of vvc decoder. > >> It's not ready for upstream yet, but it's a good base ground for

Re: [FFmpeg-devel] drawtext filter

2023-01-26 Thread Paul B Mahol
On 1/26/23, Francesco Carusi wrote: > The drawtext reinit command is also used in the docs as an example for > the sendcmd filter, so I thought it was fine to use commands in that > way. In my opinion it is also a convenient way to modify multiple > options at the same time. > Should the command

Re: [FFmpeg-devel] drawtext filter

2023-01-26 Thread Francesco Carusi
The drawtext reinit command is also used in the docs as an example for the sendcmd filter, so I thought it was fine to use commands in that way. In my opinion it is also a convenient way to modify multiple options at the same time. Should the command match the name of a filter option instead?

Re: [FFmpeg-devel] Let us review and collebrate on vvc native decoder.

2023-01-26 Thread Thilo Borgmann
Am 14.01.23 um 14:32 schrieb Nuo Mi: On Sat, Jan 14, 2023 at 9:13 PM Nuo Mi wrote: Hi Experts: I am happy to send out the first draft of vvc decoder. It's not ready for upstream yet, but it's a good base ground for review and future improvement. It has the following features: * C only +

Re: [FFmpeg-devel] drawtext filter

2023-01-26 Thread Paul B Mahol
On 1/26/23, Francesco Carusi wrote: > Hi, I'm new to contributing to ffmpeg! > > I modified the drawtext filter to improve text rendering and add some > features. You can find a high level description of the changes at this > link: > >

[FFmpeg-devel] drawtext filter

2023-01-26 Thread Francesco Carusi
Hi, I'm new to contributing to ffmpeg! I modified the drawtext filter to improve text rendering and add some features. You can find a high level description of the changes at this link: https://github.com/yethie/FFmpeg/blob/master/drawtext/CHANGES.md I'm also attaching the patch file. I

Re: [FFmpeg-devel] [PATCH 2/2] FATE: add tests for v360/ssim360 filters

2023-01-26 Thread Andreas Rheinhardt
Anton Khirnov: > Would someone please copy > https://up.khirnov.net/d8.mkv to > spherical/Worlds_First_Live_360_Rocket_Launch-_Orbital_ATK_CRS-7_cut.mkv > > Thanks 1. Why don't you use a smaller file? 2. Why does this file not indicate its projection parameters? - Andreas

Re: [FFmpeg-devel] [PATCH 1/2] lavfi: Add vf_ssim360 filter

2023-01-26 Thread Anton Khirnov
Will push in a few days if nobody wants to comment. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with

Re: [FFmpeg-devel] [PATCH 2/2] FATE: add tests for v360/ssim360 filters

2023-01-26 Thread Anton Khirnov
Would someone please copy https://up.khirnov.net/d8.mkv to spherical/Worlds_First_Live_360_Rocket_Launch-_Orbital_ATK_CRS-7_cut.mkv Thanks -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

[FFmpeg-devel] [PATCH] lavc/libwebpenc_animencoder: handle frame durations and AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE

2023-01-26 Thread Anton Khirnov
--- libavcodec/libwebpenc_animencoder.c | 39 +++-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/libavcodec/libwebpenc_animencoder.c b/libavcodec/libwebpenc_animencoder.c index 977f880d6c..440cae1de5 100644 --- a/libavcodec/libwebpenc_animencoder.c +++