[FFmpeg-devel] TRAC Spam

2023-09-18 Thread Michael Koch
Ticket / Comment 2104 / 14 2776 / 6 3720 / 9 ___ 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 subject

Re: [FFmpeg-devel] [PATCH 3/5] avcodec/dcadec: Do not explode EAGAIN

2023-09-18 Thread James Almer
On 9/18/2023 7:35 PM, Michael Niedermayer wrote: Fixes: out of array access Fixes: 62164/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DCA_fuzzer-6041088751960064 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael

Re: [FFmpeg-devel] [PATCH 5/5] avcodec/decode: EAGAIN is not fully supported in decode_simple_internal()

2023-09-18 Thread James Almer
On 9/18/2023 7:35 PM, Michael Niedermayer wrote: Signed-off-by: Michael Niedermayer --- libavcodec/decode.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/decode.c b/libavcodec/decode.c index 169ee79acd9..376e4a4d373 100644 --- a/libavcodec/decode.c +++ b/libavcodec/decode.c

[FFmpeg-devel] [PATCH 5/5] avcodec/decode: EAGAIN is not fully supported in decode_simple_internal()

2023-09-18 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/decode.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/decode.c b/libavcodec/decode.c index 169ee79acd9..376e4a4d373 100644 --- a/libavcodec/decode.c +++ b/libavcodec/decode.c @@ -457,6 +457,7 @@ FF_ENABLE_DEPRECATION_WARNINGS

[FFmpeg-devel] [PATCH 4/5] avcodec/escape124: Do not return random numbers

2023-09-18 Thread Michael Niedermayer
Fixes: out of array access Fixes: 62164/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ESCAPE124_fuzzer-6035022714634240 Fixes: 62164/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ESCAPE124_fuzzer-6422176201572352 Found-by: continuous fuzzing process

[FFmpeg-devel] [PATCH 3/5] avcodec/dcadec: Do not explode EAGAIN

2023-09-18 Thread Michael Niedermayer
Fixes: out of array access Fixes: 62164/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DCA_fuzzer-6041088751960064 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/dcadec.c | 2 +- 1 file

[FFmpeg-devel] [PATCH 2/5] avcodec/apedec: Fix an integer overflow in predictor_update_filter()

2023-09-18 Thread Michael Niedermayer
Fixes: signed integer overflow: -2147483506 + -801380 cannot be represented in type 'int' Fixes: 62164/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-6578985923117056 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg

[FFmpeg-devel] [PATCH 1/5] tools/target_dec_fuzzer: Adjust wmapro threshold

2023-09-18 Thread Michael Niedermayer
Fixes: Timeout Fixes: 62266/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMAPRO_fuzzer-5125460729921536 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

Re: [FFmpeg-devel] [PATCH] avfilter: add libvmaf_cuda

2023-09-18 Thread Kyle Swanson
Hi, On Mon, Sep 18, 2023 at 12:41 PM Timo Rothenpieler wrote: > On 18.09.2023 21:21, Marvin Scholz wrote: > > I am far from an expert with the configure script but won't that cause > > --enable-libvmaf to fail when > > libvmaf is built without cuda support? Which seems undesirable to me… > >

Re: [FFmpeg-devel] [PATCH] avfilter: add libvmaf_cuda

2023-09-18 Thread Timo Rothenpieler
On 18.09.2023 21:21, Marvin Scholz wrote: enabled libvmaf && require_pkg_config libvmaf "libvmaf >= 2.0.0" libvmaf.h vmaf_init +enabled libvmaf && require_pkg_config libvmaf_cuda "libvmaf >= 2.0.0" libvmaf_cuda.h vmaf_cuda_state_init enabled libvo_amrwbenc&& require

Re: [FFmpeg-devel] [PATCH] avfilter: add libvmaf_cuda

2023-09-18 Thread Marvin Scholz
> enabled libvmaf && require_pkg_config libvmaf "libvmaf >= 2.0.0" > libvmaf.h vmaf_init > +enabled libvmaf && require_pkg_config libvmaf_cuda "libvmaf >= > 2.0.0" libvmaf_cuda.h vmaf_cuda_state_init > enabled libvo_amrwbenc&& require libvo_amrwbenc vo-amrwbenc/enc_if.h

[FFmpeg-devel] [PATCH] avcodec/extract_extradata: filter what Metadata OBUs are included in AV1 extradata

2023-09-18 Thread James Almer
Only those that are relevant for the entire coded stream should be included. Signed-off-by: James Almer --- libavcodec/extract_extradata_bsf.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/libavcodec/extract_extradata_bsf.c

Re: [FFmpeg-devel] [PATCH] avcodec/libvpxdec: Remove redundant unreferencing of AVFrame

2023-09-18 Thread James Zern via ffmpeg-devel
On Mon, Sep 18, 2023 at 5:40 AM Andreas Rheinhardt wrote: > > The AVFrame of a decoder with the ordinary decode callback > is generically unreferenced on error. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/libvpxdec.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) >

Re: [FFmpeg-devel] [PATCH] avfilter: add libvmaf_cuda

2023-09-18 Thread Kyle Swanson
Hi, On Fri, Sep 15, 2023 at 3:34 PM Timo Rothenpieler wrote: > I don't see why it wouldn't work. It doesn't matter what it is, it's > just the name of the dependency. Patch attached. Thanks, Kyle 0001-avfilter-add-libvmaf_cuda.patch Description: Binary data

Re: [FFmpeg-devel] [PATCH] configure: rework parsing --cpu arguments to support all features unless blacklisted

2023-09-18 Thread James Almer
On 9/17/2023 3:49 PM, James Almer wrote: Keeping an ever growing list of CPUs just to pass -march to the compiler and enable fast_cmov is a waste of time. Every CPU we know has limitations is already handled here, so just fallback to enabling everything when a passed in argument is not covered

Re: [FFmpeg-devel] [PATCH 1/3] fftools/ffmpeg_enc: refactor setting encoding field_order

2023-09-18 Thread Anton Khirnov
Set pushed. -- 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 subject "unsubscribe".

[FFmpeg-devel] [PATCH] avcodec/libvpxdec: Remove redundant unreferencing of AVFrame

2023-09-18 Thread Andreas Rheinhardt
The AVFrame of a decoder with the ordinary decode callback is generically unreferenced on error. Signed-off-by: Andreas Rheinhardt --- libavcodec/libvpxdec.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavcodec/libvpxdec.c b/libavcodec/libvpxdec.c index

Re: [FFmpeg-devel] [PATCH] lavd/sdl2: postpone sdl2 window creation

2023-09-18 Thread Andreas Rheinhardt
Xiang, Haihao: > From: Haihao Xiang > > Since 2d924b3, sdl2_write_header() and sdl2_write_packet() are called > in two different threads. However SDL2 requires window creation and > rendering should be done in the same thread, otherwise it shows nothing > when specifying SDL2 output device.

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

2023-09-18 Thread Ting Hu
From: tinghu3 MFXVideoDECODE_DecodeFrameAsync always returns MFX_WRN_DEVICE_BUSY in special scenario. Client side received and decoded more than 9 video streams with different resolution in video conference call. Related to bug: https://github.com/oneapi-src/oneVPL-intel-gpu/issues/299

[FFmpeg-devel] [PATCH] lavd/sdl2: postpone sdl2 window creation

2023-09-18 Thread Xiang, Haihao
From: Haihao Xiang Since 2d924b3, sdl2_write_header() and sdl2_write_packet() are called in two different threads. However SDL2 requires window creation and rendering should be done in the same thread, otherwise it shows nothing when specifying SDL2 output device. $ ffmpeg -f lavfi -i

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/pthread_frame: Constify src pointees

2023-09-18 Thread Paul B Mahol
LGTM ___ 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 subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/pthread_frame: Remove FF_API_SLICE_OFFSET

2023-09-18 Thread Paul B Mahol
LGTM ___ 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 subject "unsubscribe".