[FFmpeg-devel] [PATCH v2] avformat/ivfenc: Set the "number of frames" in IVF header

2023-06-04 Thread Dai, Jianhui J
Should set "number of frames" to bytes 24-27 of IVF header, not duration. It is described by [1], and confirmed by parsing all IVF files in [2]. This commit also updates the md5sum of refs to pass fate-cbs. [1] Duck IVF - MultimediaWiki https://wiki.multimedia.cx/index.php/Duck_IVF [2] webm/vp8-

Re: [FFmpeg-devel] [PATCH] avcodec/noise_bsf: Check for wrapped frames

2023-06-04 Thread Michael Niedermayer
On Mon, Jun 05, 2023 at 12:06:15AM +0530, Gyan Doshi wrote: > > > On 2023-06-04 11:43 pm, Michael Niedermayer wrote: > > On Sun, Jun 04, 2023 at 08:07:25PM +0200, Michael Niedermayer wrote: > > > Wrapped frames contain pointers so they need specific code to > > > noise them, the generic code woul

[FFmpeg-devel] [PATCH v2] avcodec/noise_bsf: Check for wrapped frames

2023-06-04 Thread Michael Niedermayer
Wrapped frames contain pointers so they need specific code to noise them, the generic code would lead to segfaults Signed-off-by: Michael Niedermayer --- libavcodec/noise_bsf.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/noise_bsf.c b/libavcodec/noise_bsf.c index 168f3a

Re: [FFmpeg-devel] [PATCH] avcodec/noise_bsf: Check for wrapped frames

2023-06-04 Thread Gyan Doshi
On 2023-06-04 11:43 pm, Michael Niedermayer wrote: On Sun, Jun 04, 2023 at 08:07:25PM +0200, Michael Niedermayer wrote: Wrapped frames contain pointers so they need specific code to noise them, the generic code would lead to segfaults Signed-off-by: Michael Niedermayer --- libavcodec/nois

Re: [FFmpeg-devel] [PATCH] MXF - Add jpeg2000 subdescriptor - Sponsored by INA

2023-06-04 Thread Tomas Härdin
tor 2023-06-01 klockan 17:19 +0200 skrev Cédric Le Barz: > Attach to this mail, is my new patch for adding jpeg2000 sub- > descriptor > in MXF file  taking into account remarks from FFmpeg community > (remarks > from Pierre-Anthony above as well as this from Tomas), i.e. : > > 1 - When there is

Re: [FFmpeg-devel] [PATCH] avcodec/noise_bsf: Check for wrapped frames

2023-06-04 Thread Michael Niedermayer
On Sun, Jun 04, 2023 at 08:07:25PM +0200, Michael Niedermayer wrote: > Wrapped frames contain pointers so they need specific code to > noise them, the generic code would lead to segfaults > > Signed-off-by: Michael Niedermayer > --- > libavcodec/noise_bsf.c | 5 + > 1 file changed, 5 inserti

[FFmpeg-devel] [PATCH] avcodec/noise_bsf: Check for wrapped frames

2023-06-04 Thread Michael Niedermayer
Wrapped frames contain pointers so they need specific code to noise them, the generic code would lead to segfaults Signed-off-by: Michael Niedermayer --- libavcodec/noise_bsf.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavcodec/noise_bsf.c b/libavcodec/noise_bsf.c index 168f3aa3

Re: [FFmpeg-devel] [PATCH] avcodec: add RTV1 decoder

2023-06-04 Thread Paul B Mahol
Attached. From 0c68defd7f0169fe228c6f105ddc5852999f036a Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 3 Jun 2023 12:29:25 +0200 Subject: [PATCH] avcodec: add RTV1 decoder Signed-off-by: Paul B Mahol --- configure | 1 + libavcodec/Makefile | 1 + libavcodec/allcod

Re: [FFmpeg-devel] [PATCH] Optimization: support for libx264's mb_info

2023-06-04 Thread Stefano Sabatini
On date Monday 2023-05-29 17:56:55 +, Carotti, Elias wrote: [...] > From 7cb97ee977197e310a932b2d7a53bf5c6e0e Mon Sep 17 00:00:00 2001 > From: Elias Carotti > Date: Wed, 19 Apr 2023 11:49:39 +0200 > Subject: [PATCH] Add support for libx264's MB_INFO > > libx264's x264_image_properties_t,

Re: [FFmpeg-devel] [PATCH] avcodec: add RTV1 decoder

2023-06-04 Thread James Almer
From cdd867aa1c88fa8b89dfe473ae0e2caf69c74313 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 3 Jun 2023 12:29:25 +0200 Subject: [PATCH] avcodec: add RTV1 decoder Signed-off-by: Paul B Mahol --- libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/codec_desc.c |

Re: [FFmpeg-devel] [PATCH 1/3] avutil/dict: add av_dict_pop

2023-06-04 Thread Marvin Scholz
On 4 Jun 2023, at 16:25, Stefano Sabatini wrote: > On date Friday 2023-05-26 11:11:48 +0200, Marvin Scholz wrote: >> On 26 May 2023, at 8:05, Stefano Sabatini wrote: >> >>> On date Monday 2023-05-22 11:23:24 +0200, Marvin Scholz wrote: On 22 May 2023, at 1:52, Stefano Sabatini wrote: > [..

Re: [FFmpeg-devel] [PATCH 1/3] doc/examples/transcode: set packet timebase for decoding

2023-06-04 Thread Stefano Sabatini
On date Wednesday 2023-05-31 16:02:13 -0300, James Almer wrote: > On 5/31/2023 12:32 PM, Anton Khirnov wrote: > > It is recommended for callers to set it, though not required. > Add this comment to the file. It's meant to be an example for library users > to refer to for their implementations, aft

Re: [FFmpeg-devel] [PATCH 1/3] avutil/dict: add av_dict_pop

2023-06-04 Thread Stefano Sabatini
On date Friday 2023-05-26 11:11:48 +0200, Marvin Scholz wrote: > On 26 May 2023, at 8:05, Stefano Sabatini wrote: > > > On date Monday 2023-05-22 11:23:24 +0200, Marvin Scholz wrote: > >> On 22 May 2023, at 1:52, Stefano Sabatini wrote: [...] > > Should we also support the case with multiple same-

Re: [FFmpeg-devel] [PATCH] tests/fate/ffmpeg: add tests for -max_error_rate

2023-06-04 Thread James Almer
On 6/3/2023 2:03 PM, Anton Khirnov wrote: --- Please upload https://up.khirnov.net/sq.mkv to mkv/h264_tta_undecodable.mkv. Thanks Done. --- tests/fate/ffmpeg.mak | 6 ++ tests/ref/fate/ffmpeg-error-rate-fail | 0 tests/ref/fate/ffmpeg-error-rate-pass | 0 3 files chan

[FFmpeg-devel] [PATCH] avcodec: add RTV1 decoder

2023-06-04 Thread Paul B Mahol
Attached. From cdd867aa1c88fa8b89dfe473ae0e2caf69c74313 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 3 Jun 2023 12:29:25 +0200 Subject: [PATCH] avcodec: add RTV1 decoder Signed-off-by: Paul B Mahol --- libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/codec_