Re: [FFmpeg-devel] [RFC] 7.1 Release

2024-08-16 Thread Marth64
I would like to get DVD seeking in and some recent bugfixes (initial patchset was sent, working on revision). I'm chasing one last lingering issue with chapter-based extraction. Hopefully, I can make a breakthrough or get help to fix it soon. Beyond that I plan to leave DVD alone for a long time.

Re: [FFmpeg-devel] [PATCH] use proper macro to avoid issue with prior avutil/timestamp.c

2024-08-16 Thread James Almer
On 8/17/2024 12:09 AM, Mike Lieman wrote: From b2ddfdd9ed695a1f47ed6251369abca08864e3ab Mon Sep 17 00:00:00 2001 From: Mike Lieman Date: Fri, 16 Aug 2024 23:05:51 -0400 Subject: [PATCH] use proper macro to avoid issue with prior avutil/timestamp.c patch causing long startup times with some fi

[FFmpeg-devel] [PATCH] use proper macro to avoid issue with prior avutil/timestamp.c

2024-08-16 Thread Mike Lieman
>From b2ddfdd9ed695a1f47ed6251369abca08864e3ab Mon Sep 17 00:00:00 2001 From: Mike Lieman Date: Fri, 16 Aug 2024 23:05:51 -0400 Subject: [PATCH] use proper macro to avoid issue with prior avutil/timestamp.c patch causing long startup times with some files under mplayer (https://trac.mplayerhq.hu

Re: [FFmpeg-devel] [PATCH 3/5] avcodec/cbs_h265_syntax_template:

2024-08-16 Thread James Almer
On 8/16/2024 8:15 PM, Michael Niedermayer wrote: Fixes: Assertion width > 0 && width <= 32 failed Fixes: 71012/clusterfuzz-testcase-minimized-ffmpeg_BSF_HEVC_METADATA_fuzzer-6073354744823808 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Sig

Re: [FFmpeg-devel] [PATCH 2/9] avcodec/avcodec: Warn about data returned from get_buffer*()

2024-08-16 Thread epirat07
On 17 Aug 2024, at 1:11, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > doc/APIchanges | 4 > libavcodec/avcodec.h | 4 > 2 files changed, 8 insertions(+) > > diff --git a/doc/APIchanges b/doc/APIchanges > index 173f317ea1b..53d164959c0 100644 > --- a/d

Re: [FFmpeg-devel] [PATCH 5/5] avcodec/hevc/ps: use unsigned shift

2024-08-16 Thread James Almer
On 8/16/2024 8:15 PM, Michael Niedermayer wrote: Fixes: left shift of 1 by 31 places cannot be represented in type 'int' Fixes: 70726/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-6149928703819776 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/mast

[FFmpeg-devel] [PATCH 5/5] avcodec/hevc/ps: use unsigned shift

2024-08-16 Thread Michael Niedermayer
Fixes: left shift of 1 by 31 places cannot be represented in type 'int' Fixes: 70726/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-6149928703819776 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermay

[FFmpeg-devel] [PATCH 4/5] avcodec/hevc/hevcdec: Check refPicList

2024-08-16 Thread Michael Niedermayer
This is likely not the proper way to fix this Fixes: null pointer dereference Fixes: 70781/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-5010401476018176 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Ni

[FFmpeg-devel] [PATCH 3/5] avcodec/cbs_h265_syntax_template:

2024-08-16 Thread Michael Niedermayer
Fixes: Assertion width > 0 && width <= 32 failed Fixes: 71012/clusterfuzz-testcase-minimized-ffmpeg_BSF_HEVC_METADATA_fuzzer-6073354744823808 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/cb

[FFmpeg-devel] [PATCH 2/5] avformat/demux: Check packet duration

2024-08-16 Thread Michael Niedermayer
Fixes: signed integer overflow: 24320 + 9223372036854775573 cannot be represented in type 'long' Fixes: 71001/clusterfuzz-testcase-minimized-ffmpeg_dem_MATROSKA_fuzzer-5644785744936960 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off

[FFmpeg-devel] [PATCH 1/5] avcodec/get_buffer: Use av_buffer_mallocz() for audio same as its done for video

2024-08-16 Thread Michael Niedermayer
Fixes: Use of uninintialized value Fixes: 70993/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AAC_LATM_fuzzer-6378949754552320 For the AAC/USAC/SBR code which reads uninitialized memory, it would be good, if it did not a fix for that is welcome! Found-by: continuous fuzzing process https:/

[FFmpeg-devel] [PATCH 1/9] avformat/rmdec: check that bug if completely filled

2024-08-16 Thread Michael Niedermayer
Fixes: use of uninitialized value Fixes: 70988/clusterfuzz-testcase-minimized-ffmpeg_dem_IVR_fuzzer-5298245077630976 Signed-off-by: Michael Niedermayer --- libavformat/rmdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index 2

[FFmpeg-devel] [PATCH 4/9] avformat/jpegxl_anim_dec: clear buffer padding

2024-08-16 Thread Michael Niedermayer
Fixes: use of uninitialized value Fixes: 70992/clusterfuzz-testcase-minimized-ffmpeg_dem_IMAGE2_fuzzer-5735819170611200 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/jpegxl_anim_dec.c | 2 +

[FFmpeg-devel] [PATCH 3/9] avcodec/webp: Check ref_x/y

2024-08-16 Thread Michael Niedermayer
Fixes: 70991/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WEBP_fuzzer-5544067620995072 Fixes: use of uninintailized value Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/webp.c | 3 +++ 1

[FFmpeg-devel] [PATCH 2/9] avcodec/avcodec: Warn about data returned from get_buffer*()

2024-08-16 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- doc/APIchanges | 4 libavcodec/avcodec.h | 4 2 files changed, 8 insertions(+) diff --git a/doc/APIchanges b/doc/APIchanges index 173f317ea1b..53d164959c0 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -2,6 +2,10 @@ The last version inc

[FFmpeg-devel] [PATCH 1/1] Add option to set DASH stream start time, instead of relying on system clock

2024-08-16 Thread Jerome Berclaz via ffmpeg-devel
--- libavformat/dashenc.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index d4a6fe0304..e586e934cb 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -204,6 +204,7 @@ typedef struct DASHContext { AVRa

[FFmpeg-devel] [PATCH 0/1] Explanation for "Add option to set DASH stream start time"

2024-08-16 Thread Jerome Berclaz via ffmpeg-devel
The need for this patch arose while attempting to live stream a DASH feed with low latency. Since I did not use a timeline, having an accurate start time became crucial. Without it, the player might download segments at incorrect times. Currently, the start time is set to the system time, which mig

Re: [FFmpeg-devel] MV-HEVC support for decoding of Apple's stereo video

2024-08-16 Thread Danny Hong
Quoting Anton Khirnov (2024-08-16 09:32:28) > The way this will work is that different views will be output by decoder > as separate frames with side data indicating their view ID. Thanks for the info again! Wouldn't it be easier for the user/consumer of the decoded frames to simply have the sid

Re: [FFmpeg-devel] [PATCH 6/7] avutil/riscv/asm: add generic push/pop helpers

2024-08-16 Thread Rémi Denis-Courmont
Le 15 août 2024 15:13:57 GMT+03:00, Niklas Haas a écrit : >On Tue, 13 Aug 2024 18:55:24 +0300 Rémi Denis-Courmont wrote: >> >> >> Le 13 août 2024 17:03:35 GMT+03:00, "J. Dekker" a écrit : >> >From: Niklas Haas >> > >> >Generic helper macros to push/pop multiple registers at once. Expands to

Re: [FFmpeg-devel] [PATCH 1/7] checkasm: add csv/tsv bench output

2024-08-16 Thread Rémi Denis-Courmont
Le 16 août 2024 14:03:01 GMT+03:00, Anton Khirnov a écrit : >Quoting J. Dekker (2024-08-13 16:03:30) >> When collecting performance information from checkasm it is common >> to parse the output for use in graphs to compare vs different >> architectures. >> >> Signed-off-by: J. Dekker >> --- >>

Re: [FFmpeg-devel] [PATCH 1/7] checkasm: add csv/tsv bench output

2024-08-16 Thread J. Dekker
On Fri, Aug 16, 2024, at 13:03, Anton Khirnov wrote: > Quoting J. Dekker (2024-08-13 16:03:30) >> When collecting performance information from checkasm it is common >> to parse the output for use in graphs to compare vs different >> architectures. >> >> Signed-off-by: J. Dekker >> --- >> tests/c

[FFmpeg-devel] [PATCH] avcodec/shorten: Fix discard of ‘const’ qualifier

2024-08-16 Thread James Almer
Signed-off-by: James Almer --- libavcodec/shorten.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c index 12a179156a..46d3b7a615 100644 --- a/libavcodec/shorten.c +++ b/libavcodec/shorten.c @@ -563,7 +563,6 @@ static int sho

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: correctly reset subtitle stream counter per-varstream

2024-08-16 Thread Timo Rothenpieler
On 16/08/2024 04:20, Steven Liu wrote: Timo Rothenpieler 于2024年8月16日 周五08:03写道: Without resetting it, if there was a previous set of varstreams with subtitles, it would subtract from all the streams, leading to chaos and segfaults when trying to access for example stream -1. --- libavformat/h

Re: [FFmpeg-devel] [PATCH] avcodec/aarch64/me_cmp: add dotprod implementations of sse16 and vsse_intra16

2024-08-16 Thread Martin Storsjö
On Thu, 15 Aug 2024, Ramiro Polla wrote: checkasm --bench for Raspberry Pi 5 Model B Rev 1.0: sse_0_c: 241.5 sse_0_neon: 37.2 sse_0_dotprod: 22.2 vsse_4_c: 148.7 vsse_4_neon: 31.0 vsse_4_dotprod: 15.7 --- libavcodec/aarch64/me_cmp_init_aarch64.c | 14 +++ libavcodec/aarch64/me_cmp_neon.S

Re: [FFmpeg-devel] [PATCH 1/7] checkasm: add csv/tsv bench output

2024-08-16 Thread Anton Khirnov
Quoting J. Dekker (2024-08-13 16:03:30) > When collecting performance information from checkasm it is common > to parse the output for use in graphs to compare vs different > architectures. > > Signed-off-by: J. Dekker > --- > tests/checkasm/checkasm.c | 22 -- > 1 file chang

Re: [FFmpeg-devel] [PATCH 4/4] swscale/aarch64: add nv24/nv42 to yuv420p unscaled converter

2024-08-16 Thread Martin Storsjö
On Thu, 15 Aug 2024, Ramiro Polla wrote: Thank you for the review. New patch attached. Thanks - this looks very straightforward and nice now! Just one minor nit below: +add x4, x4, x5, sxtw// src1 += srcPadding +add x9, x9, x5, sxtw

Re: [FFmpeg-devel] [PATCH] libavcodec/arm/mlpdsp_armv5te: fix label format to work with binutils 2.43

2024-08-16 Thread Martin Storsjö
On Thu, 15 Aug 2024, Sebastian Ramacher wrote: On 2024-08-13 23:24:06 +0300, Martin Storsjö wrote: On Fri, 9 Aug 2024, Ross Burton wrote: > binutils 2.43 has stricter validation for labels[1] and results in errors > when building ffmpeg for armv5: > > src/libavcodec/arm/mlpdsp_armv5te.S:232:

Re: [FFmpeg-devel] [PATCH 6/7] avutil/riscv/asm: add generic push/pop helpers

2024-08-16 Thread J. Dekker
Rémi Denis-Courmont writes: > Le 13 août 2024 17:03:35 GMT+03:00, "J. Dekker" a écrit : >>From: Niklas Haas >> >>Generic helper macros to push/pop multiple registers at once. Expands to >>a single `addi` plus a sequence of XLEN-sized stores/loads. >>--- >> libavutil/riscv/asm.S | 37 +++

Re: [FFmpeg-devel] [PATCH 2/7] checkasm: improve print format

2024-08-16 Thread J. Dekker
Lynne via ffmpeg-devel writes: > On 13/08/2024 16:03, J. Dekker wrote: >> Port dav1d's checkasm output format to FFmpeg's checkasm, includes >> relative speedups and aligns results. >> Signed-off-by: J. Dekker >> --- >> tests/checkasm/checkasm.c | 53 +++ >>

Re: [FFmpeg-devel] [PATCH 01/22] avutil/dovi_meta: document static vs dynamic ext blocks

2024-08-16 Thread Niklas Haas
On Wed, 31 Jul 2024 14:14:02 +0200 Niklas Haas wrote: > On Sun, 28 Jul 2024 12:25:06 +0200 Niklas Haas wrote: > > From: Niklas Haas > > > > --- > > libavutil/dovi_meta.h | 28 +++- > > 1 file changed, 15 insertions(+), 13 deletions(-) > > > > diff --git a/libavutil/dov

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: Add more fields based on the linux kernel MAINTAINERs

2024-08-16 Thread Rémi Denis-Courmont
Le 15 août 2024 23:49:03 GMT+03:00, Michael Niedermayer a écrit : (...) >So here we established the fact that FFmpeg definitly reached the size >at which the kernel had "subsystems" even though the word occured only >once in MAINTAINER in 2.1 I think this is more a question of code size and co

Re: [FFmpeg-devel] [PATCH 36/39] lavc: add private container FIFO API

2024-08-16 Thread Anton Khirnov
ping -- 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".

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: Add more fields based on the linux kernel MAINTAINERs

2024-08-16 Thread Anton Khirnov
Quoting Michael Niedermayer (2024-08-15 22:49:03) > On Thu, Aug 15, 2024 at 07:38:50PM +0200, Anton Khirnov wrote: > > Quoting Michael Niedermayer (2024-08-15 09:33:07) > > > Text was stolen from the linux kernel > > > This is thus identical to the kernel just a different more compact format. > > >

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: Add more fields based on the linux kernel MAINTAINERs

2024-08-16 Thread Rémi Denis-Courmont
Hi, Le 15 août 2024 14:30:38 GMT+03:00, Michael Niedermayer a écrit : >Hi > >On Thu, Aug 15, 2024 at 11:24:31AM +0300, Rémi Denis-Courmont wrote: >> >> >> Le 15 août 2024 10:33:07 GMT+03:00, Michael Niedermayer >> a écrit : >> >Text was stolen from the linux kernel >> >This is thus identical

[FFmpeg-devel] [RFC] [libavfilter] eSSIM as option or new filter

2024-08-16 Thread Andrea Mastroberti
Hi all, I have worked on implementing some new features for computing enhanced SSIM (minkowski pooling and using integral images). As of right now I have done so by adding some options to the existing ssim filter in libavfilter, but was wondering if separating it into a new essim filter would be

Re: [FFmpeg-devel] MV-HEVC support for decoding of Apple's stereo video

2024-08-16 Thread Anton Khirnov
Quoting Danny Hong (2024-08-15 21:26:57) > Quoting Anton Khirnov (2024-08-15 19:36:47) > > Yes, it should be submitted to ML within a few months. > > Thank you for the info! This is great! We have experience with HEVC > implementation and also with the layered use case. If there is anything we

Re: [FFmpeg-devel] [PATCH] web/index: Add news entry about coverity

2024-08-16 Thread Anton Khirnov
Quoting Michael Niedermayer (2024-08-15 23:50:18) > Based on suggestion of Jonatas > > CC: "Jonatas L. Nogueira" > --- > src/index | 8 > 1 file changed, 8 insertions(+) > > diff --git a/src/index b/src/index > index 73e9a4c..b44f384 100644 > --- a/src/index > +++ b/src/index > @@ -35,