Re: [FFmpeg-devel] [PATCH] avformat/movenc: fixed fmp4 packets containing incorrect flags after transcoding

2023-04-22 Thread Steven Liu
<1035567...@qq.com> 于2023年4月10日周一 20:43写道: > > From: Wang Yaqiang > > When write multi-trun box, the MOV_TRUN_FIRST_SAMPLE_FLAGS flag > need judge by first param, not 0. > If the original video contains consecutive I frames, > this will cause the packets of fmp4 have error sample_flags , > and

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

2023-04-22 Thread Pierre-Anthony Lemieux
On Wed, Mar 29, 2023 at 1:54 PM Cédric Le Barz wrote: > > Add jpeg2000 subdescriptor in MXF file. > > Signed-off-by: Cedric Le Barz > --- > ffmpeg/libavformat/mxf.h| 1 + > ffmpeg/libavformat/mxfenc.c | 74 - > 2 files changed, 74 insertions(+), 1

[FFmpeg-devel] [PATCH] avcodec/bonk: Avoid undefined integer overflow in predictor_calc_error()

2023-04-22 Thread Michael Niedermayer
Fixes: signed integer overflow: -159584 * 5105950 cannot be represented in type 'int' Fixes: 55165/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BONK_fuzzer-5796023719297024 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by:

Re: [FFmpeg-devel] [PATCH] avcodec/vorbisdec: Check codebook float values to be finite

2023-04-22 Thread Michael Niedermayer
On Mon, Feb 13, 2023 at 01:33:30AM +0100, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: > 55116/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VORBIS_fuzzer-4572159970508800 > > Signed-off-by: Michael Niedermayer > --- > libavcodec/vorbisdec.c | 4 > 1 file changed, 4

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/g2meet: Replace fake allocation avoidance for framebuf

2023-04-22 Thread Michael Niedermayer
On Wed, Jan 25, 2023 at 12:42:53AM +0100, Michael Niedermayer wrote: > framebuf is only allocated when the new width/height are larger than the old > but nothing sets the old so its always allocated. > Use av_fast_mallocz() instead. > > Fixes: Timeout > Fixes: >

Re: [FFmpeg-devel] [PATCH 2/2] avutil/tx_priv: Use unsigned in BF() to avoid signed overflows

2023-04-22 Thread Michael Niedermayer
On Sun, Jan 22, 2023 at 01:02:22AM +0100, Michael Niedermayer wrote: > Fixes: signed integer overflow: 100183269 - -2132769113 cannot be represented > in type 'int' > Fixes: > 55063/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AAC_FIXED_fuzzer-5039294027005952 > > Found-by: continuous

[FFmpeg-devel] [PATCH] avfilter: add audio rls filter

2023-04-22 Thread Paul B Mahol
Attached. From cda21a1e12c8dbc5dbf39556cec26b3e255184ec Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 16 Apr 2023 18:53:07 +0200 Subject: [PATCH] avfilter: add arls filter Signed-off-by: Paul B Mahol --- libavfilter/Makefile | 1 + libavfilter/af_arls.c| 353

[FFmpeg-devel] [PATCH] Add support for flac in-stream metadata.

2023-04-22 Thread toots
From: Romain Beauxis This patch adds support for in-stream metadata updates in the ogg/flac parser. Code for detecting metadata frame is based on libavcodec/flacdec.c, code for handling comment update is based on libavformat/oggparsevorbis.c. This has been successfully tested locally. To

Re: [FFmpeg-devel] [PATCH v2] fftools/ffmpeg_mux: fix reporting muxer EOF as error

2023-04-22 Thread Anton Khirnov
Quoting Zhao Zhili (2023-04-22 14:56:34) > From: Zhao Zhili > > Fix #10327. > > Signed-off-by: Zhao Zhili > --- > fftools/ffmpeg_mux.c | 12 +--- > 1 file changed, 9 insertions(+), 3 deletions(-) > > diff --git a/fftools/ffmpeg_mux.c b/fftools/ffmpeg_mux.c > index

Re: [FFmpeg-devel] [RFC/PATCH] fftools/ffmpeg: stop printing PSNR information in status report

2023-04-22 Thread Anton Khirnov
If nobody has more comments or objections, I'm planning to push this on Monday. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email

Re: [FFmpeg-devel] [PATCH] fate/h264: add a test disabling cropping

2023-04-22 Thread James Almer
On 4/21/2023 9:12 AM, James Almer wrote: Signed-off-by: James Almer --- tests/fate/h264.mak | 4 ++ tests/ref/fate/h264-no-cropping | 95 + 2 files changed, 99 insertions(+) create mode 100644 tests/ref/fate/h264-no-cropping diff --git

Re: [FFmpeg-devel] [PATCH] avcodec/hevcdec: further constrain some slice header field values

2023-04-22 Thread James Almer
On 4/20/2023 10:14 AM, James Almer wrote: num_ref_idx_l0_active_minus1, num_ref_idx_l1_active_minus1, num_ref_idx_l0_default_active, and num_ref_idx_l1_default_active are all in the range 1 to 15, inclusive. Signed-off-by: James Almer --- libavcodec/hevc_ps.c | 10 --

[FFmpeg-devel] [PATCH v2] fftools/ffmpeg_mux: fix reporting muxer EOF as error

2023-04-22 Thread Zhao Zhili
From: Zhao Zhili Fix #10327. Signed-off-by: Zhao Zhili --- fftools/ffmpeg_mux.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/fftools/ffmpeg_mux.c b/fftools/ffmpeg_mux.c index a2e8873ad2..0e1a5d7dc5 100644 --- a/fftools/ffmpeg_mux.c +++

Re: [FFmpeg-devel] [PATCH 31/92] Vulkan patchset part 1 - common code changes

2023-04-22 Thread Anton Khirnov
Quoting Lynne (2023-04-19 16:39:28) > Apr 17, 2023, 11:25 by an...@khirnov.net: > > > Quoting Lynne (2023-03-14 07:33:43) > > > >> From 6e2dfc44e50798264eb16bc2dcabfdbf2fbac2d7 Mon Sep 17 00:00:00 2001 > >> From: Lynne > >> Date: Thu, 15 Dec 2022 01:06:52 +0100 > >> Subject: [PATCH 24/92]

Re: [FFmpeg-devel] [PATCH 31/92] Vulkan patchset part 1 - common code changes

2023-04-22 Thread Anton Khirnov
Quoting Lynne (2023-04-19 16:47:11) > Apr 17, 2023, 11:07 by an...@khirnov.net: > > > Quoting Anton Khirnov (2023-04-16 22:38:16) > > > >> Quoting Lynne (2023-03-14 07:33:43) > >> > From 61f412eea3fbcb1e2a8625796760c0e24fa3fb83 Mon Sep 17 00:00:00 2001 > >> > From: Lynne > >> > Date: Tue, 17 Jan

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_mux: fix regression with muxer EOF

2023-04-22 Thread Anton Khirnov
Quoting Zhao Zhili (2023-04-21 18:58:09) > From: Zhao Zhili > > Regression introduced by b40856. > > Fix #10327. The commit message is entirely useless, it tells the reader nothing about what the problem is or how it is fixed. > --- > fftools/ffmpeg_mux.c | 11 --- > 1 file changed,