Re: [FFmpeg-devel] [PATCH] avcodec/lagarith: use VLC for probe code length

2023-09-13 Thread Paul B Mahol
New patch attached. From e7d44f39eba93d567bc8e70826793c3e032311b1 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 12 Sep 2023 01:29:55 +0200 Subject: [PATCH] avcodec/lagarith: use VLC for prob code length Signed-off-by: Paul B Mahol --- libavcodec/lagarith.c | 56

Re: [FFmpeg-devel] [PATCH v2 1/1] lavc/qsvdec: fix dead loop of qsv decoding

2023-09-13 Thread Xiang, Haihao
> This seems like a bug in libmfx/libvpl. I agree there should be a bug in libmfx/libvpl, but we have to avoid this dead loop in FFmpeg. > I encountered this problem in video conference scenario. Receive more over 9 > RTP h264 video streams simultaneously. Could you file a bug to https://githu

Re: [FFmpeg-devel] [PATCH v3] avformat/mov: add interleaved_read option

2023-09-13 Thread zhilizhao(赵志立)
> On Sep 14, 2023, at 09:41, Steven Liu wrote: > > Zhao Zhili 于2023年9月12日周二 01:10写道: >> >> From: Zhao Zhili >> >> For bad interleaved files, manually interleave multiple tracks at the >> demuxer level can trigger seeking back and forth, which can be >> dramatically slow depending on the pro

Re: [FFmpeg-devel] [PATCH 1/4] lavc/aarch64: new optimization for 8-bit hevc_epel_uni_v

2023-09-13 Thread Logan.Lyu
Hi Martin, You can try the attached patchset. If that doesn't work, My code branch address is https://github.com/myais2023/FFmpeg/tree/hevc-aarch64 Please try it again. Thanks 在 2023/9/12 19:48, Martin Storsjö 写道: Hi, Sorry for not tending to your patches sooner. Unfortunately, this patc

Re: [FFmpeg-devel] [PATCH v3] avformat/mov: add interleaved_read option

2023-09-13 Thread Steven Liu
Zhao Zhili 于2023年9月12日周二 01:10写道: > > From: Zhao Zhili > > For bad interleaved files, manually interleave multiple tracks at the > demuxer level can trigger seeking back and forth, which can be > dramatically slow depending on the protocol. Demuxer level interleave > can be useless sometimes, e.g

Re: [FFmpeg-devel] [PATCH] avcodec/lagarith: use VLC for probe code length

2023-09-13 Thread Andreas Rheinhardt
Paul B Mahol: > > +#include "libavutil/mem_internal.h" I don't get what this header is needed for. You are not adding anything ALIGNED and this file does not require it. > +#define VLC_BITS 11 > + > enum LagarithFrameType { > FRAME_RAW = 1,/**< uncompressed */ > FRAME_U_

[FFmpeg-devel] [PATCH 3/3] avcodec/aacdec_template: Better avoidance of signed integer overflow in imdct_and_windowing_eld()

2023-09-13 Thread Michael Niedermayer
Fixes: 62171/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AAC_FIXED_fuzzer-5644657180409856 Fixes: signed integer overflow: 2 * 1079352273 cannot be represented in type 'int' Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by:

[FFmpeg-devel] [PATCH 2/3] avcodec/vlc: Attempt to free buf after use in ff_vlc_init_multi_from_lengths()

2023-09-13 Thread Michael Niedermayer
Fixes: use after free Fixes: 62153/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MAGICYUV_fuzzer-4702814909366272 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/vlc.c | 7 +-- 1 file

[FFmpeg-devel] [PATCH 1/3] tools/target_dec_fuzzer: Adjust threshold for MVHA

2023-09-13 Thread Michael Niedermayer
Fixes: Timeout Fixes: 62120/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MVHA_fuzzer-5647877768347648 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- tools/target_dec_fuzzer.c | 1 + 1 file changed,

[FFmpeg-devel] [PATCH] avcodec/lagarith: use VLC for probe code length

2023-09-13 Thread Paul B Mahol
Patch Attached. From cd774229dcf32cb44455031663b4357f0597b4c0 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 12 Sep 2023 01:29:55 +0200 Subject: [PATCH] avcodec/lagarith: use VLC for prob code length Signed-off-by: Paul B Mahol --- libavcodec/lagarith.c | 57

Re: [FFmpeg-devel] J2K in HEIF was: [RFC]avformat: introduce AVStreamGroup

2023-09-13 Thread Tomas Härdin
ons 2023-09-13 klockan 07:33 -0700 skrev Pierre-Anthony Lemieux: > On Wed, Sep 13, 2023 at 2:35 AM Tomas Härdin wrote: > > > > ons 2023-09-06 klockan 16:16 -0300 skrev James Almer: > > > On 9/6/2023 2:53 PM, Tomas Härdin wrote: > > > > ons 2023-09-06 klockan 11:38 -0300 skrev James Almer: > > > >

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/libaribb24, ttmlenc, avutil/tx: Remove redundant init of AVBPrint

2023-09-13 Thread Andreas Rheinhardt
Andreas Rheinhardt: > An AVBPrint is initialized via av_bprint_init() (or > av_bprint_init_for_buffer()) which expects uninitialized > AVBPrints; it is therefore not necessary to zero them before > the actual initialization. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/libaribb24.c |

Re: [FFmpeg-devel] [PATCH] avformat: Inline raw_codec_id where known

2023-09-13 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Signed-off-by: Andreas Rheinhardt > --- > libavformat/aacdec.c | 2 +- > libavformat/adxdec.c | 2 +- > libavformat/dfpwmdec.c | 2 +- > libavformat/gsmdec.c | 2 +- > libavformat/loasdec.c | 2 +- > libavformat/serdec.c | 2 +- > libavformat/wsddec.c | 2 +- > 7

Re: [FFmpeg-devel] [PATCH] avfilter/avfilter: Don't report deprecated pkt_pos

2023-09-13 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Signed-off-by: Andreas Rheinhardt > --- > libavfilter/avfilter.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c > index 23bf8685e9..ab7782862a 100644 > --- a/libavfilter/avfilter.c > +++ b/libavfi

Re: [FFmpeg-devel] trac backups

2023-09-13 Thread Michael Niedermayer
On Wed, Sep 13, 2023 at 11:05:23AM +0200, Jean-Baptiste Kempf wrote: > On Wed, 13 Sep 2023, at 01:33, Michael Niedermayer wrote: > >> Who else other than you has access to the infrastructure? > > > > all the root admins do > > but that isnt the problem, even if 100 more people had access > > the on

[FFmpeg-devel] J2K in HEIF was: [RFC]avformat: introduce AVStreamGroup

2023-09-13 Thread Pierre-Anthony Lemieux
On Wed, Sep 13, 2023 at 2:35 AM Tomas Härdin wrote: > > ons 2023-09-06 klockan 16:16 -0300 skrev James Almer: > > On 9/6/2023 2:53 PM, Tomas Härdin wrote: > > > ons 2023-09-06 klockan 11:38 -0300 skrev James Almer: > > > > Signed-off-by: James Almer > > > > --- > > > > This is an initial proof of

[FFmpeg-devel] [PATCH 3/3] avcodec/vp3: Use range-based loop variables

2023-09-13 Thread Andreas Rheinhardt
Motivated by: #if CONFIG_VP4_DECODER int j; #endif Signed-off-by: Andreas Rheinhardt --- libavcodec/vp3.c | 264 +-- 1 file changed, 120 insertions(+), 144 deletions(-) diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index f27e9cd1cd.

[FFmpeg-devel] [PATCH 2/3] avcodec/vp3: Add const where appropriate

2023-09-13 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/vp3.c | 36 +++- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 272dd89117..f27e9cd1cd 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -472,7 +472,7

[FFmpeg-devel] [PATCH 1/3] avcodec/vp3: Move work after ff_thread_finish_setup

2023-09-13 Thread Andreas Rheinhardt
all_fragments is not synced between threads; resetting it can wait. Signed-off-by: Andreas Rheinhardt --- libavcodec/vp3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 5002800ef2..272dd89117 100644 --- a/libavcodec/vp3.c +++ b/liba

[FFmpeg-devel] [PATCH] avformat/libssh: avoid deprecated functions

2023-09-13 Thread Leo Izen
Avoid using the deprecated functions ssh_try_publickey_from_file among others in favor of symbols introduced in libssh 0.6.0 (Jan 2014) and update configure to require this version. Signed-off-by: Leo Izen --- configure| 2 +- libavformat/libssh.c | 11 --- 2 files changed,

Re: [FFmpeg-devel] trac backups

2023-09-13 Thread Paul B Mahol
On Wed, Sep 13, 2023 at 11:05 AM Jean-Baptiste Kempf wrote: > On Wed, 13 Sep 2023, at 01:33, Michael Niedermayer wrote: > >> Who else other than you has access to the infrastructure? > > > > all the root admins do > > but that isnt the problem, even if 100 more people had access > > the only way

Re: [FFmpeg-devel] [PATCH] [RFC]avformat: introduce AVStreamGroup

2023-09-13 Thread Tomas Härdin
ons 2023-09-06 klockan 16:16 -0300 skrev James Almer: > On 9/6/2023 2:53 PM, Tomas Härdin wrote: > > ons 2023-09-06 klockan 11:38 -0300 skrev James Almer: > > > Signed-off-by: James Almer > > > --- > > > This is an initial proof of concept for AVStream groups, > > > something > > > that's > > > ne

Re: [FFmpeg-devel] trac backups

2023-09-13 Thread Jean-Baptiste Kempf
On Wed, 13 Sep 2023, at 01:33, Michael Niedermayer wrote: >> Who else other than you has access to the infrastructure? > > all the root admins do > but that isnt the problem, even if 100 more people had access > the only way that was noticable it seems was if someone looked I disagree. The infrast

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/av1dec: Pass AVCodecContext* as logctx in get_sw_pixel_format()

2023-09-13 Thread Andreas Rheinhardt
James Almer: > On 9/12/2023 9:22 PM, Andreas Rheinhardt wrote: >> Andreas Rheinhardt: >>> It indicates to the reader that said function does not modify >>> any state. >>> >>> Signed-off-by: Andreas Rheinhardt >>> --- >>>   libavcodec/av1dec.c | 12 ++-- >>>   1 file changed, 6 insertions(+)