Re: [FFmpeg-devel] The "bad" Patch

2025-06-01 Thread Michael Niedermayer
On Sat, May 31, 2025 at 05:34:14PM +, softworkz . wrote: > CONCLUSIONS > === > > Meanwhile it should have become clear that this conversation is not about > whether the 15/15 patchset gets or should have gotten included or not. > It's about the things that happened around it and how th

Re: [FFmpeg-devel] [PATCH] avfilter: add vf_yazf filter

2025-06-01 Thread Michael Niedermayer
On Sun, Jun 01, 2025 at 01:51:05PM +0530, Gyan Doshi wrote: > > > On 2025-05-31 08:19 pm, Quentin RENARD wrote: > > zoompan filter with floating point precision > > If this filter is meant to be same as existing zoompan but more precise, > then you should modify the original filter with a mode o

Re: [FFmpeg-devel] [PATCH 1/2] Replace FFMIN/FFMAX by type specific macros

2025-06-01 Thread Michael Niedermayer
Hi On Sat, May 31, 2025 at 07:40:40PM +0200, Marton Balint wrote: > > > On Sat, 31 May 2025, Michael Niedermayer wrote: > > > This allows adjusting them to exactly match whatever is fastest on > > a given CPU for each type. > > Did you use some tool to make thi

Re: [FFmpeg-devel] [RFC] Cherry picks vs merges

2025-06-01 Thread Michael Niedermayer
Hi James On Sun, Jun 01, 2025 at 05:01:09PM -0300, James Almer wrote: > On 6/1/2025 4:23 PM, Michael Niedermayer wrote: > > Hi James > > > > On Sun, Jun 01, 2025 at 02:27:37PM -0300, James Almer wrote: > > > On 6/1/2025 12:22 PM, Michael Niedermayer wrote: > >

Re: [FFmpeg-devel] [RFC] Cherry picks vs merges

2025-06-01 Thread Michael Niedermayer
Hi James On Sun, Jun 01, 2025 at 02:27:37PM -0300, James Almer wrote: > On 6/1/2025 12:22 PM, Michael Niedermayer wrote: > > Hi all > > > > almpeg is now merged upto 1 months ago. (and since last merge it contains > > bits of AGPL code) > > > > The quest

[FFmpeg-devel] [RFC] Cherry picks vs merges

2025-06-01 Thread Michael Niedermayer
Hi all almpeg is now merged upto 1 months ago. (and since last merge it contains bits of AGPL code) The question now is, how does the community want to proceed from here? I think there are mainly 2 options 1. People review almpeg/master, fix any issues they want fixed, change anything they w

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-31 Thread Michael Niedermayer
Hi Remi On Fri, May 30, 2025 at 09:58:48AM +0300, Rémi Denis-Courmont wrote: > > > Le 30 mai 2025 03:46:05 GMT+03:00, Michael Niedermayer > a écrit : > >On Mon, May 26, 2025 at 11:43:15AM +0300, Rémi Denis-Courmont wrote: > >> > >> > >> Le 26 mai

Re: [FFmpeg-devel] [PATCH] Revert "ogg/vorbis: implement header packet skip in chained ogg bitstreams."

2025-05-31 Thread Michael Niedermayer
On Fri, May 30, 2025 at 10:19:37PM -0300, James Almer wrote: > On 5/30/2025 10:17 PM, Michael Niedermayer wrote: > > Hi > > > > On Sat, May 31, 2025 at 02:45:30AM +0200, Andreas Rheinhardt wrote: > > > Michael Niedermayer: > > > > non flat extradata

[FFmpeg-devel] [PATCH 2/2] avutil/opt: round min/max in integer context

2025-05-31 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavutil/opt.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavutil/opt.c b/libavutil/opt.c index 7a84a18bb59..cc4832daeee 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -607,8 +607,8 @@ static int set_string_fmt

Re: [FFmpeg-devel] [PATCH] Revert "ogg/vorbis: implement header packet skip in chained ogg bitstreams."

2025-05-30 Thread Michael Niedermayer
Hi On Sat, May 31, 2025 at 02:45:30AM +0200, Andreas Rheinhardt wrote: > Michael Niedermayer: > > non flat extradata is problematic and was missed by reviewers > > > > Found-by: mkver and jamrial > > Actual patch LGTM, but I'd rather prefer to have my actual

[FFmpeg-devel] [PATCH] Revert "ogg/vorbis: implement header packet skip in chained ogg bitstreams."

2025-05-30 Thread Michael Niedermayer
non flat extradata is problematic and was missed by reviewers Found-by: mkver and jamrial This reverts commit 574f634e49847e2225ee50013afebf0de03ef013. --- libavcodec/vorbis_parser.h | 11 libavcodec/vorbisdec.c | 75 +- libavformat/ogg

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/sanm: avoid using k in left pxoff check

2025-05-30 Thread Michael Niedermayer
Hi Manuel On Fri, May 30, 2025 at 10:54:01PM +0200, Manuel Lauss wrote: > Hi Michael, > > On Fri, May 30, 2025 at 9:52 PM Michael Niedermayer > wrote: > > > > Hi Manual > > > > On Wed, May 14, 2025 at 03:39:53AM +0200, Michael Niedermayer wrote: > > >

Re: [FFmpeg-devel] [PATCH 1/2] avformat/demux: use io_close2 when closing avfromat

2025-05-30 Thread Michael Niedermayer
On Fri, May 30, 2025 at 10:48:29PM +0200, Andreas Rheinhardt wrote: > Michael Niedermayer: > > On Sat, May 17, 2025 at 03:03:19PM +0200, Andreas Rheinhardt wrote: > >> Andreas Rheinhardt: > >>> Kacper Michajłow: > >>>> It's not valid to c

Re: [FFmpeg-devel] [PATCH v8 1/5] Add FATE test for sample from track ticket #2739

2025-05-30 Thread Michael Niedermayer
Hi On Mon, May 26, 2025 at 05:28:50PM -0500, Romain Beauxis wrote: > Le lun. 26 mai 2025 à 13:38, Michael Niedermayer a > écrit : > > > > On Sat, May 24, 2025 at 01:14:04PM -0500, Romain Beauxis wrote: > > > Sample available at: > https://www.dropbox.co

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/sanm: avoid using k in left pxoff check

2025-05-30 Thread Michael Niedermayer
Hi Manual On Wed, May 14, 2025 at 03:39:53AM +0200, Michael Niedermayer wrote: > k is always 4 here and it seems this is not what was intended > replacing it with 0 works but it may be wrong > > This needs review > > Fixes: out of array read > Fixes: > 409593384/cluste

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/ffv1enc_template: Fix remaining space check

2025-05-30 Thread Michael Niedermayer
On Wed, May 14, 2025 at 03:39:52AM +0200, Michael Niedermayer wrote: > Fixes: Assertion sc->slice_coding_mode == 0 failed at > libavcodec/ffv1enc.c:1667 > Fixes: > 408838118/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FFV1_fuzzer-6493138204295168 > > Found-by: conti

Re: [FFmpeg-devel] [PATCH 1/2] avformat/demux: use io_close2 when closing avfromat

2025-05-30 Thread Michael Niedermayer
On Sat, May 17, 2025 at 03:03:19PM +0200, Andreas Rheinhardt wrote: > Andreas Rheinhardt: > > Kacper Michajłow: > >> It's not valid to call avio_close() on context that has not been open > >> with avio_open(). > >> > >> This fixes use of custom IO. (io_open / io_close2 callbacks) > >> > >> Note tha

Re: [FFmpeg-devel] [PATCH v5 1/3] lavc/hashtable: create generic robin hood hash table

2025-05-30 Thread Michael Niedermayer
On Sat, Apr 26, 2025 at 01:05:07AM +0900, Emma Worley wrote: > Adds a generic hash table with the DXV encoder as an initial use case. > > Signed-off-by: Emma Worley > --- > libavcodec/Makefile | 2 + > libavcodec/hashtable.c | 214 +++ > libavcode

Re: [FFmpeg-devel] [PATCH v5 3/3] lavc/dxvenc: improve compatibility with Resolume products

2025-05-30 Thread Michael Niedermayer
Hi Emma On Wed, May 28, 2025 at 03:35:29PM -0700, Emma Worley wrote: > I successfully used this patch series to encode DXV files for a couple > live events this past weekend and did not encounter any decoding > issues with Resolume's first-party Arena software. These DXVs included > inputs that ca

Re: [FFmpeg-devel] [PATCH v3 14/17] swscale/x86: add SIMD backend

2025-05-29 Thread Michael Niedermayer
On Tue, May 27, 2025 at 09:55:33AM +0200, Niklas Haas wrote: > From: Niklas Haas > > This covers most 8-bit and 16-bit ops, and some 32-bit ops. It also covers all > floating point operations. While this is not yet 100% coverage, it's good > enough for the vast majority of formats out there. > >

Re: [FFmpeg-devel] [PATCH] add yuv444p support to mcdeint

2025-05-29 Thread Michael Niedermayer
On Tue, May 27, 2025 at 01:24:57PM -0500, Ethan Halsall wrote: > Signed-off-by: Ethan Halsall > --- > libavfilter/vf_mcdeint.c | 32 > 1 file changed, 28 insertions(+), 4 deletions(-) > > diff --git a/libavfilter/vf_mcdeint.c b/libavfilter/vf_mcdeint.c > index 82

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-29 Thread Michael Niedermayer
On Mon, May 26, 2025 at 11:43:15AM +0300, Rémi Denis-Courmont wrote: > > > Le 26 mai 2025 00:37:08 GMT+03:00, Michael Niedermayer > a écrit : > >Hi Rémi > > > >On Sat, May 24, 2025 at 07:10:57PM +0300, Rémi Denis-Courmont wrote: > >> Le torstaina 22

Re: [FFmpeg-devel] [PATCH 2/7] avcodec/hevc/hevcdec: Check num_entry_point_offsets

2025-05-29 Thread Michael Niedermayer
On Thu, May 08, 2025 at 11:57:33PM +0200, Michael Niedermayer wrote: > The code uses int, unsigned int and uint16_t to store num_entry_point_offsets > This limits it to the smallest of the 3. > Alternatively uint16_t can be changed and then a larger limit used. > A Check will sti

Re: [FFmpeg-devel] [PATCH 3/7] avcodec/speexdec: Pass and check remaining packets to decode functions

2025-05-29 Thread Michael Niedermayer
On Thu, May 08, 2025 at 11:57:34PM +0200, Michael Niedermayer wrote: > Fixes: out of array access > Fixes: > 394638693/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SPEEX_fuzzer-4868142996455424 > > Found-by: continuous fuzzing process > https://github.com/google/os

Re: [FFmpeg-devel] [FFmpeg-devel, v2] gcc: Relaxing auto-vectorization limitation.

2025-05-29 Thread Michael Niedermayer
On Thu, May 29, 2025 at 07:26:09PM +0200, Andreas Rheinhardt wrote: > Michael Niedermayer: > > Hi > > > > On Thu, May 29, 2025 at 04:37:16PM +0800, Zhao Zhili wrote: > >> > >> > >>> On May 29, 2025, at 15:03, Jiawei wrote: > >>>

Re: [FFmpeg-devel] [FFmpeg-devel, v2] gcc: Relaxing auto-vectorization limitation.

2025-05-29 Thread Michael Niedermayer
Hi On Thu, May 29, 2025 at 04:37:16PM +0800, Zhao Zhili wrote: > > > > On May 29, 2025, at 15:03, Jiawei wrote: > > > > This patch modifies the FFmpeg build system to remove the explicit disabling > > of GCC's auto-vectorization feature. > > > > Modern GCC versions have demonstrated stable au

Re: [FFmpeg-devel] Fuzzer fixes

2025-05-29 Thread Michael Niedermayer
On Wed, May 28, 2025 at 09:59:30PM +, Tristan Matthews via ffmpeg-devel wrote: > On Wednesday, May 28th, 2025 at 11:17 AM, Michael Niedermayer > wrote: > > > Hi > > > > If someone has spare time, there are some public open issues on: > > https://issues.

[FFmpeg-devel] Fuzzer fixes

2025-05-28 Thread Michael Niedermayer
Hi If someone has spare time, there are some public open issues on: https://issues.oss-fuzz.com/issues?q=status:open%20componentid:1638179%20title:ffmpeg check if they have pending fixes on the ML first and if so help review if no pending fix, please submit a fix. (its easy to check as fixes shou

Re: [FFmpeg-devel] [ANNOUNCEMENT] almpeg

2025-05-27 Thread Michael Niedermayer
On Mon, May 26, 2025 at 06:36:58PM +0200, Michael Niedermayer wrote: > Hi > > On Sun, May 25, 2025 at 09:22:52PM +0200, Michael Niedermayer wrote: > > Hi all > > > > Id like to announce that ive setup a repository to merge pauls work of > > the last 2 years

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: Add myself for graph printing

2025-05-27 Thread Michael Niedermayer
On Tue, May 27, 2025 at 02:35:06AM +, softworkz wrote: > From: softworkz > > ..and resources > > Signed-off-by: softworkz > --- > MAINTAINERS: Add myself for graph printing > > ..and resources > > Signed-off-by: softworkz softwo...@hotmail.com > > Published-As: > htt

Re: [FFmpeg-devel] [ANNOUNCEMENT] almpeg

2025-05-26 Thread Michael Niedermayer
Hi sw On Mon, May 26, 2025 at 05:56:06PM +, softworkz . wrote: [...] > > But i certainly was and am open to talk with paul. > > I'd make at least an attempt before going the hard way. I intended to wait for him to contact me, but sure ill mail him first then > > > > > And when you really n

Re: [FFmpeg-devel] [PATCH] Makefile: Split ALLFFLIBS

2025-05-26 Thread Michael Niedermayer
On Fri, May 23, 2025 at 12:54:10AM +0200, Michael Niedermayer wrote: > This matches other lists and reduces conflicts between patches > > Signed-off-by: Michael Niedermayer > --- > Makefile | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) will apply [...] --

Re: [FFmpeg-devel] [PATCH] avcodec/ffv1enc: Fix explicitly set -slicecrc 2

2025-05-26 Thread Michael Niedermayer
Hi Andreas On Sun, May 25, 2025 at 05:46:50AM +0200, Andreas Rheinhardt wrote: > Patch attached. > > - Andreas > ffv1enc.c |5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > eb1d6b708766f131b006f572ef9119184025c3fa > 0001-avcodec-ffv1enc-Fix-explicitly-set-slicecrc-2.patch > Fr

Re: [FFmpeg-devel] [PATCH v8 1/5] Add FATE test for sample from track ticket #2739

2025-05-26 Thread Michael Niedermayer
On Sat, May 24, 2025 at 01:14:04PM -0500, Romain Beauxis wrote: > Sample available at: > https://www.dropbox.com/scl/fo/xrtrna2rxr1j354hrtymq/AGwemlxHYecBLNmQ8Fsy--4?rlkey=lzilr4m9w4gfdqygoe172vvy8&dl=0 that file is too big for fate IMHO du -m trac/2739/lavf_ogm_seeking_borked.ogm 231 trac/2

Re: [FFmpeg-devel] [ANNOUNCEMENT] almpeg

2025-05-26 Thread Michael Niedermayer
Hi On Mon, May 26, 2025 at 12:21:24PM +, softworkz . wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of Michael > > Niedermayer > > Sent: Montag, 26. Mai 2025 13:37 > > To: FFmpeg development discussions and patches > >

Re: [FFmpeg-devel] [ANNOUNCEMENT] almpeg

2025-05-26 Thread Michael Niedermayer
Hi On Sun, May 25, 2025 at 09:22:52PM +0200, Michael Niedermayer wrote: > Hi all > > Id like to announce that ive setup a repository to merge pauls work of > the last 2 years. > > * Currently ive merged everything up to first february 2025 another month merged, now up

Re: [FFmpeg-devel] [ANNOUNCEMENT] almpeg

2025-05-26 Thread Michael Niedermayer
nd patches > > Subject: Re: [FFmpeg-devel] [ANNOUNCEMENT] almpeg > > > > Hi, > > > > Le 25 mai 2025 22:22:52 GMT+03:00, Michael Niedermayer > > a écrit : > > >Note the license of this code is a bit wonky. The files have one > > >license and

Re: [FFmpeg-devel] [PATCH v5 4/4] lavc: implement a Vulkan-based VC-2 encoder Implements a Vulkan based dirac encoder. Supports Haar and Legall wavelets and should work with all wavelet depths.

2025-05-25 Thread Michael Niedermayer
On Fri, May 23, 2025 at 11:23:48PM +0300, IndecisiveTurtle wrote: > From: IndecisiveTurtle > > Performance wise, encoding a 3440x1440 1-minute video is performed in about > 2.4 minutes with the cpu encoder running on my Ryzen 5 4600H, while it takes > about 1.3 minutes on my NVIDIA GTX 1650 >

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-25 Thread Michael Niedermayer
Hi Rémi On Sat, May 24, 2025 at 07:10:57PM +0300, Rémi Denis-Courmont wrote: > Le torstaina 22. toukokuuta 2025, 9.32.18 Itä-Euroopan kesäaika Jiawei a > écrit > : > > > The RISC-V autovectorised output looks like it has a warning "Odd > > > rotation angle" which is not present in the non-autove

Re: [FFmpeg-devel] [PATCH v7 3/4] ogg/vorbis: implement header packet skip in chained ogg bitstreams.

2025-05-25 Thread Michael Niedermayer
Hi Romain On Sat, May 24, 2025 at 01:08:06PM -0500, Romain Beauxis wrote: [...] > I'm gonna send an updated patchset. I've also added a FATE test for this > sample, given it's importance during this review, it seems natural to > include it. yes, tests are important thank you [...] -- Michael

[FFmpeg-devel] [ANNOUNCEMENT] almpeg

2025-05-25 Thread Michael Niedermayer
Hi all Id like to announce that ive setup a repository to merge pauls work of the last 2 years. * Currently ive merged everything up to first february 2025 * all fate tests pass * Some filters and decoders where split in 2 versions thats because either teh added chanegs are buggy, break API/c

Re: [FFmpeg-devel] [PATCH v2] lavc/h2645_parse: More descriptive NALU header error

2025-05-24 Thread Michael Niedermayer
On Thu, May 22, 2025 at 07:43:02PM +0100, Frank Plowman wrote: > Signed-off-by: Frank Plowman > --- > Changes since v1: Spotted just after sending this that there was ongoing > effort to remove av_strerror calls in favour of av_err2str, so made that > substitution here. > --- > libavcodec/h2645_p

Re: [FFmpeg-devel] [PATCH] aacdec_ac: fix signed overflow in ff_aac_ac_update_context()

2025-05-24 Thread Michael Niedermayer
On Fri, May 23, 2025 at 06:46:53AM +0900, Lynne wrote: > The issue is that state->cur[] is 8-bits, but a+b+1 can overflow > before being clipped to 0xF in the following line, causing an incorrect > state to be saved for the next symbol. > > This solves numerous bitstream desyncs, particularly when

[FFmpeg-devel] Previous trac server hosting Was: STF RaptorQ

2025-05-24 Thread Michael Niedermayer
Hi On Fri, May 23, 2025 at 01:13:05PM +0100, Kieran Kunhya via ffmpeg-devel wrote: [...] > > As an example i could have instead replied with a tone matching yours: > > (below is a (true) example of communication in the same tone as yours > > that i avoid) > > > > "I appreciated the stellar servic

Re: [FFmpeg-devel] [PATCH v7 3/4] ogg/vorbis: implement header packet skip in chained ogg bitstreams.

2025-05-23 Thread Michael Niedermayer
Hi Romain On Wed, May 21, 2025 at 05:05:37PM -0500, Romain Beauxis wrote: > --- > libavcodec/vorbis_parser.h | 11 > libavcodec/vorbisdec.c | 75 +- > libavformat/oggparsevorbis.c | 63 +- > tests/ref/fate/

Re: [FFmpeg-devel] STF RaptorQ

2025-05-23 Thread Michael Niedermayer
Hi Kieran On Fri, May 23, 2025 at 04:45:53PM +0100, Kieran Kunhya via ffmpeg-devel wrote: > On Fri, May 23, 2025 at 4:00 PM Kieran Kunhya > wrote: > > > > On Fri, May 23, 2025 at 3:50 PM Devin Heitmueller > > wrote: > > > > > > Hello Michael, > >

Re: [FFmpeg-devel] [PATCH] avformat/sdp: add framerate entry

2025-05-23 Thread Michael Niedermayer
Hi Marvin On Fri, May 23, 2025 at 02:11:24AM +0200, Marvin Scholz wrote: > --- > libavformat/sdp.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavformat/sdp.c b/libavformat/sdp.c > index 215e38f8fc..21ada5d1ce 100644 > --- a/libavformat/sdp.c > +++ b/libavformat/sdp.c > @@ -867

Re: [FFmpeg-devel] [PATCH v2 08/17] swscale/ops_internal: add internal ops backend API

2025-05-23 Thread Michael Niedermayer
On Wed, May 21, 2025 at 02:43:54PM +0200, Niklas Haas wrote: > From: Niklas Haas > > This adds an internal API for ops backends, which are responsible for > compiling op lists into executable functions. > --- > libswscale/ops.c | 62 ++ > libswscale/ops_internal.h |

Re: [FFmpeg-devel] STF RaptorQ

2025-05-23 Thread Michael Niedermayer
Hi Devin On Fri, May 23, 2025 at 10:57:37AM -0400, Devin Heitmueller wrote: > On Fri, May 23, 2025 at 5:58 AM Michael Niedermayer > wrote: > > Theres also the human element, where people are not machienes that can > > be placed and told things arbitrary. RaptorQ is &qu

Re: [FFmpeg-devel] [PATCH 1/2] avformat/rtsp: parse framerate in sdp

2025-05-23 Thread Michael Niedermayer
On Fri, May 23, 2025 at 01:59:37AM +0200, Marvin Scholz wrote: > From: Erik Linge > > Co-authored-by: Marvin Scholz > --- > libavformat/rtsp.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c > index 5ea471b40c..6807e1d6b5 100644 > --- a/l

Re: [FFmpeg-devel] STF RaptorQ

2025-05-23 Thread Michael Niedermayer
Hi Devin On Fri, May 23, 2025 at 10:50:32AM -0400, Devin Heitmueller wrote: > Hello Michael, > > On Fri, May 23, 2025 at 5:45 AM Michael Niedermayer > wrote: > > On Thu, May 22, 2025 at 07:55:40PM -0400, Devin Heitmueller wrote: > > > On Thu, May 22, 2025 at 7:42 

Re: [FFmpeg-devel] STF RaptorQ

2025-05-23 Thread Michael Niedermayer
Hi Kieran On Fri, May 23, 2025 at 01:13:05PM +0100, Kieran Kunhya via ffmpeg-devel wrote: > On Fri, 23 May 2025, 12:33 Michael Niedermayer, > wrote: > > > Hi Kieran > > > > On Fri, May 23, 2025 at 08:51:43AM +0100, Kieran Kunhya via ffmpeg-devel > > wrote: >

Re: [FFmpeg-devel] STF RaptorQ

2025-05-23 Thread Michael Niedermayer
On Fri, May 23, 2025 at 11:45:14AM +0200, Michael Niedermayer wrote: > Hi [...] > > I agree with Kieran that this seems to largely be outside the STF > > objectives (i.e. sustainability for open source projects). > > A new implementation of RIST, SRT, Raptor and so on m

Re: [FFmpeg-devel] [RFC] Error handing with CBS

2025-05-23 Thread Michael Niedermayer
On Fri, May 23, 2025 at 11:44:26AM +0800, Zhao Zhili wrote: > I have created a ticket on trac and uploaded a sample. > > https://trac.ffmpeg.org/ticket/11603 > > The issue is CBS can detect invalid data in the bitstream, and report error. > How to handle these error is a problem. > > With a sing

Re: [FFmpeg-devel] [FEATURE PROPOSAL] Extracting codec-level data to binary files

2025-05-23 Thread Michael Niedermayer
On Fri, May 23, 2025 at 11:33:40AM +0200, Timothée wrote: > On 2025-05-23T02:57:36.000+02:00, Michael Niedermayer > wrote: > > > On Fri, May 23, 2025 at 02:45:59AM +0200, Michael Niedermayer wrote: > >  > >>  Hi Ronald On Thu, May 22, 2025 at 07:59:06AM -0400

Re: [FFmpeg-devel] STF RaptorQ

2025-05-23 Thread Michael Niedermayer
Hi Kieran On Fri, May 23, 2025 at 08:51:43AM +0100, Kieran Kunhya via ffmpeg-devel wrote: [...] > I appreciate the way the 2024 organisers ran STF was not exactly stellar It seems every mail you post is an attack on FFmpeg or the FFmpeg Team And its alot of different people you target. And often

Re: [FFmpeg-devel] STF RaptorQ

2025-05-23 Thread Michael Niedermayer
Hi On Thu, May 22, 2025 at 07:55:40PM -0400, Devin Heitmueller wrote: > On Thu, May 22, 2025 at 7:42 PM Kieran Kunhya via ffmpeg-devel > wrote: > > I wanted to put on the record that adding RaptorQ to FFmpeg isn't > > maintenance of FFmpeg. i agree adding RaptorQ itself is probably not maintenan

Re: [FFmpeg-devel] [FEATURE PROPOSAL] Extracting codec-level data to binary files

2025-05-22 Thread Michael Niedermayer
On Fri, May 23, 2025 at 02:45:59AM +0200, Michael Niedermayer wrote: > Hi Ronald > > On Thu, May 22, 2025 at 07:59:06AM -0400, Ronald S. Bultje wrote: > > Hi, > > > > On Wed, May 21, 2025 at 9:34 AM Timothée < > > timothee.informati...@regaud-chapuy.fr> wr

Re: [FFmpeg-devel] [FEATURE PROPOSAL] Extracting codec-level data to binary files

2025-05-22 Thread Michael Niedermayer
Hi Ronald On Thu, May 22, 2025 at 07:59:06AM -0400, Ronald S. Bultje wrote: > Hi, > > On Wed, May 21, 2025 at 9:34 AM Timothée < > timothee.informati...@regaud-chapuy.fr> wrote: > > > Hello, > > > > I am interested in expanding ffmpeg's capabilities to extract > > low-level data from video codec

[FFmpeg-devel] [RFC] "Additional Emails for New Defect Notifications" from coverity

2025-05-22 Thread Michael Niedermayer
Hi all Coverity screwed up the mails they send out about new defects. It seems they now have a "Additional Emails for New Defect Notifications" if someone wants to be added to that list, reply here and say so or should we do something more fancy like just adding ffmpeg-devel ? (would need timo t

Re: [FFmpeg-devel] [PATCH 2/2] avformat/imfdec: inherit opaque from parent AVFormatContext

2025-05-22 Thread Michael Niedermayer
Hi Pierre On Fri, May 16, 2025 at 09:15:58PM -0700, Pierre-Anthony Lemieux wrote: > On Fri, May 16, 2025 at 8:51 PM Kacper Michajłow wrote: > > > > io_open and io_close2 callbacks may use opaque pointer stored in the > > context. They are already inherited, so opaque should also be passed > > thr

Re: [FFmpeg-devel] [PATCH] avformat/matroskadec: Accept WebVTT subtitles with empty cues

2025-05-22 Thread Michael Niedermayer
On Tue, May 20, 2025 at 11:26:21AM +0200, Marcos Del Sol Vives via ffmpeg-devel wrote: > Fixes: #11493 > --- > libavformat/matroskadec.c | 3 --- > 1 file changed, 3 deletions(-) will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Into a blind dark

[FFmpeg-devel] [PATCH] Makefile: Split ALLFFLIBS

2025-05-22 Thread Michael Niedermayer
This matches other lists and reduces conflicts between patches Signed-off-by: Michael Niedermayer --- Makefile | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2759e40b773..877b0071f6c 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,14

Re: [FFmpeg-devel] [PATCH v3] avformat/dhav: fix backward scanning for get_duration and optimize seeking

2025-05-22 Thread Michael Niedermayer
Hi On Wed, May 21, 2025 at 02:23:00PM +0100, Derek Buitenhuis wrote: > From: Justin Ruggles > > The backwards scanning done for incomplete final packets should not > assume a specific alignment at the end of the file. Truncated files > result in hundreds of thousands of seeks if the final packet

Re: [FFmpeg-devel] Graphprint Patches Overview

2025-05-22 Thread Michael Niedermayer
Hi Kieran On Thu, May 22, 2025 at 08:21:48AM +0100, Kieran Kunhya via ffmpeg-devel wrote: > It's obvious basic testing was not done on this patchset seeing the scale > of memory leaks. > > I would like the TC to decide on reverting and proper resubmission later. Iam not speaking for the TC here

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-21 Thread Michael Niedermayer
On Wed, May 21, 2025 at 06:32:49PM +0800, Jiawei wrote: > > 在 2025/5/21 15:46, Michael Niedermayer 写道: > > On Wed, May 21, 2025 at 02:17:50PM +0800, Jiawei wrote: > > > This patch modifies the FFmpeg build system to remove the explicit > > > disabling > > &

Re: [FFmpeg-devel] [PATCH v6 3/4] ogg/vorbis: implement header packet skip in chained ogg bitstreams.

2025-05-21 Thread Michael Niedermayer
Hi Romain On Tue, May 20, 2025 at 05:45:01PM -0500, Romain Beauxis wrote: > Le mar. 20 mai 2025 à 16:46, Michael Niedermayer > a écrit : > > > > On Mon, May 19, 2025 at 09:46:38AM -0500, Romain Beauxis wrote: > > > --- > > > libavcodec/vorbis_parser.h

Re: [FFmpeg-devel] gcc: Remove auto-vectorization limitation.

2025-05-21 Thread Michael Niedermayer
On Wed, May 21, 2025 at 02:17:50PM +0800, Jiawei wrote: > This patch modifies the FFmpeg build system to remove the explicit disabling > of GCC's auto-vectorization feature. > > Modern GCC versions (>= 10.0) have demonstrated stable auto-vectorization > capabilities through extensive optimizations

Re: [FFmpeg-devel] [PATCH 1/1] [ffmpeg-deve] avcodec/mpegaudiodec optimizing code size

2025-05-21 Thread Michael Niedermayer
On Wed, May 21, 2025 at 02:46:42AM +0200, Michael Niedermayer wrote: > On Mon, May 19, 2025 at 08:15:37PM +0800, chenyu202...@gmail.com wrote: > > From: chenyu > > > > Optimizing 160k code size by converting static array to dynamic malloc > > memory. >

Re: [FFmpeg-devel] [PATCH 1/1] [ffmpeg-deve] avcodec/mpegaudiodec optimizing code size

2025-05-20 Thread Michael Niedermayer
On Mon, May 19, 2025 at 08:15:37PM +0800, chenyu202...@gmail.com wrote: > From: chenyu > > Optimizing 160k code size by converting static array to dynamic malloc memory. > > Signed-off-by: chenyu > --- > libavcodec/mpegaudiodata.h| 4 ++-- > libavcodec/mpegaudiodec_common_tabl

Re: [FFmpeg-devel] [PATCH v6 3/4] ogg/vorbis: implement header packet skip in chained ogg bitstreams.

2025-05-20 Thread Michael Niedermayer
On Mon, May 19, 2025 at 09:46:38AM -0500, Romain Beauxis wrote: > --- > libavcodec/vorbis_parser.h | 11 > libavcodec/vorbisdec.c | 76 +- > libavformat/oggparsevorbis.c | 63 +- > tests/ref/fate/ogg-vorbis-

Re: [FFmpeg-devel] [PATCH] swscale: rgb_to_yuv neon optimizations

2025-05-20 Thread Michael Niedermayer
On Mon, May 19, 2025 at 09:50:18PM +0200, Dmitriy Kovalenko wrote: > I've found quite a few ways to optimize existing ffmpeg's rgb to yuv > subsampled conversion. In this patch stack I'll try to > improve the performance. > > This particular set of changes is a small improvement to all the > exist

Re: [FFmpeg-devel] [PATCH] avformat/framecrcenc: List types and checksums for for side data

2025-05-18 Thread Michael Niedermayer
On Sun, May 18, 2025 at 11:43:14AM -0300, James Almer wrote: > On 5/18/2025 9:25 AM, Michael Niedermayer wrote: > > This allows detecting changes and regressions in side data related code, > > same as what > > framecrc does for before already for packet data itself. &

Re: [FFmpeg-devel] [PATCH] avformat/framecrcenc: List types and checksums for for side data

2025-05-18 Thread Michael Niedermayer
Hi On Sun, May 18, 2025 at 04:43:01PM +0200, Andreas Rheinhardt wrote: > Michael Niedermayer: > > This allows detecting changes and regressions in side data related code, > > same as what > > framecrc does for before already for packet data itself. > > > > S

Re: [FFmpeg-devel] [PATCH] avformat/framecrcenc: List types and checksums for for side data

2025-05-18 Thread Michael Niedermayer
On Sun, May 18, 2025 at 02:25:38PM +0200, Michael Niedermayer wrote: > This allows detecting changes and regressions in side data related code, same > as what > framecrc does for before already for packet data itself. This code is also available as source plugin at: https://github.com/

Re: [FFmpeg-devel] [PATCH] avformat/flvenc: Specify codec tag with MKTAG

2025-05-17 Thread Michael Niedermayer
Hi Zhao Zhili On Sat, May 17, 2025 at 10:05:34PM +0800, Zhao Zhili wrote: > > > > On May 17, 2025, at 19:14, Timo Rothenpieler wrote: > > > > On 17.05.2025 06:35, Zhao Zhili wrote: > >>> 在 2025年5月17日,上午1:39,Timo Rothenpieler 写道: > >>> > >>> On 16.05.2025 19:24, Zhao Zhili wrote: > >> On

Re: [FFmpeg-devel] [PATCH v5 1/7] libavformat/oggdec.h: Document packet function return value.

2025-05-17 Thread Michael Niedermayer
On Fri, May 16, 2025 at 12:39:36PM -0500, Romain Beauxis wrote: > Le mer. 14 mai 2025 à 17:32, Michael Niedermayer a > écrit : > > > > On Fri, May 09, 2025 at 06:43:21PM -0500, Romain Beauxis wrote: > > > --- > > > libavformat/oggdec.h | 6 ++

Re: [FFmpeg-devel] [PATCH v5 6/7] ogg/vorbis: implement header packet skip in chained ogg bitstreams.

2025-05-17 Thread Michael Niedermayer
On Sat, May 17, 2025 at 01:10:26PM -0500, Romain Beauxis wrote: > Le mar. 13 mai 2025 à 14:23, Michael Niedermayer a > écrit : > > > > On Fri, May 09, 2025 at 06:43:26PM -0500, Romain Beauxis wrote: > > > --- > > > libavcodec/vorbisdec.c

Re: [FFmpeg-devel] FFmpeg 6.1.3 and 7.0.3

2025-05-17 Thread Michael Niedermayer
On Sat, May 17, 2025 at 05:03:22PM +0200, Michael Niedermayer wrote: > On Sat, Mar 15, 2025 at 01:36:59AM +0100, Michael Niedermayer wrote: > > On Wed, Mar 12, 2025 at 02:17:32PM +0100, Michael Niedermayer wrote: > > > On Mon, Mar 03, 2025 at 02:10:49AM +0100, Michael Niedermayer

Re: [FFmpeg-devel] FFmpeg 4.4.6 and 4.2.11

2025-05-17 Thread Michael Niedermayer
On Sat, Mar 15, 2025 at 01:36:59AM +0100, Michael Niedermayer wrote: > On Wed, Mar 12, 2025 at 02:17:32PM +0100, Michael Niedermayer wrote: > > On Mon, Mar 03, 2025 at 02:10:49AM +0100, Michael Niedermayer wrote: > > > Hi all > > > > > > As ive already backport

[FFmpeg-devel] Fw: Registration now open! GSoC 2025 Mentor Summit (Oct 23-25)

2025-05-16 Thread Michael Niedermayer
Hi Forwarding for transparency and in case people want to disucss who wants/should go - Forwarded message from summerofcode-nore...@google.com - Date: Tue, 13 May 2025 17:05:46 -0700 From: summerofcode-nore...@google.com To: mich...@niedermayer.cc Subject: Registration now open! GSoC 202

Re: [FFmpeg-devel] [FFmpeg-cvslog] fftools/graphprint: Now, make it a Killer-Feature!

2025-05-16 Thread Michael Niedermayer
On Fri, May 16, 2025 at 11:50:30AM +0200, Nicolas George wrote: > softworkz . (HE12025-05-16): > > Sadly, this is once another feature from which FFmpeg > > developers are thinking that you should not have it. > > > > I have tried my best, but I have no interest in endless > > arguing and upsett

Re: [FFmpeg-devel] [PATCH] Boost FPS and performance: Optimize vertical loop for cache-friendly access [libavcodec/jpeg2000dwt.c:dwt_decode97_float]

2025-05-16 Thread Michael Niedermayer
On Thu, May 15, 2025 at 10:19:57PM +0200, Michael Niedermayer wrote: > Hi > > On Wed, May 14, 2025 at 06:40:03PM +0200, Michael Niedermayer wrote: > > Hi Chitra > > > > On Wed, May 14, 2025 at 03:55:59AM +, Chitra Dey Sarkar via > > ffmpeg-devel wro

Re: [FFmpeg-devel] [FFmpeg-cvslog] fftools/graphprint: Now, make it a Killer-Feature!

2025-05-15 Thread Michael Niedermayer
Hi On Fri, May 16, 2025 at 12:17:14AM +, softworkz . wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of Marton > > Balint > > Sent: Freitag, 16. Mai 2025 02:00 > > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [FFmpeg-cvslog] ffto

Re: [FFmpeg-devel] [PATCH] Boost FPS and performance: Optimize vertical loop for cache-friendly access [libavcodec/jpeg2000dwt.c:dwt_decode97_float]

2025-05-15 Thread Michael Niedermayer
Hi On Wed, May 14, 2025 at 06:40:03PM +0200, Michael Niedermayer wrote: > Hi Chitra > > On Wed, May 14, 2025 at 03:55:59AM +, Chitra Dey Sarkar via ffmpeg-devel > wrote: > > Original Implementation: > > - > > In the origin

Re: [FFmpeg-devel] [PATCH v2 1/2] tools/merge-all-source-plugins: Try merging a tag or branch matching the current version

2025-05-15 Thread Michael Niedermayer
On Thu, May 15, 2025 at 04:23:44PM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > tools/merge-all-source-plugins | 26 +- > 1 file changed, 25 insertions(+), 1 deletion(-) > mode change 100644 => 100755 tools/merge-all-so

Re: [FFmpeg-devel] [PATCH] Add tools/merge-all-source-plugins

2025-05-15 Thread Michael Niedermayer
Hi Zhao Zhili On Thu, May 15, 2025 at 06:58:54PM +0800, Zhao Zhili wrote: > > > > On May 14, 2025, at 18:55, Michael Niedermayer > > wrote: > > > > Simple script to merge all source plugins. > > I think this is confusing. The operation of mergin

[FFmpeg-devel] [PATCH v2 2/2] tools/merge-all-source-plugins: Check that there are no uncommited changes

2025-05-15 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- tools/merge-all-source-plugins | 11 +++ 1 file changed, 11 insertions(+) diff --git a/tools/merge-all-source-plugins b/tools/merge-all-source-plugins index 4dbfa898723..536e1664a43 100755 --- a/tools/merge-all-source-plugins +++ b/tools/merge-all

[FFmpeg-devel] [PATCH v2 1/2] tools/merge-all-source-plugins: Try merging a tag or branch matching the current version

2025-05-15 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- tools/merge-all-source-plugins | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) mode change 100644 => 100755 tools/merge-all-source-plugins diff --git a/tools/merge-all-source-plugins b/tools/merge-all-source-plugins

[FFmpeg-devel] [PATCH 2/2] tools/merge-all-source-plugins: Check that there are no uncommited changes

2025-05-15 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- tools/merge-all-source-plugins | 11 +++ 1 file changed, 11 insertions(+) diff --git a/tools/merge-all-source-plugins b/tools/merge-all-source-plugins index 05f4fe5e97b..231d9ddcb64 100755 --- a/tools/merge-all-source-plugins +++ b/tools/merge-all

[FFmpeg-devel] [PATCH 1/2] tools/merge-all-source-plugins: Try merging a tag or branch matching the current version first

2025-05-15 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- tools/merge-all-source-plugins | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) mode change 100644 => 100755 tools/merge-all-source-plugins diff --git a/tools/merge-all-source-plugins b/tools/merge-all-source-plugins old mode 100644 new m

Re: [FFmpeg-devel] [PATCH] Add tools/merge-all-source-plugins

2025-05-15 Thread Michael Niedermayer
On Wed, May 14, 2025 at 12:55:09PM +0200, Michael Niedermayer wrote: > Simple script to merge all source plugins. > > Signed-off-by: Michael Niedermayer > --- > INSTALL.md | 3 +++ > tools/merge-all-source-plugins | 3 +++ > 2 files changed, 6 inserti

Re: [FFmpeg-devel] [PATCH 1/5] tools/target_dec_fuzzer: Adjust threshold for WEBP

2025-05-14 Thread Michael Niedermayer
On Tue, May 13, 2025 at 01:58:28AM +0200, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: > 403345121/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WEBP_fuzzer-6408323910139904 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/mast

Re: [FFmpeg-devel] [PATCH 1/8] avcodec/dnxuc_parser: Use ff_parse_close()

2025-05-14 Thread Michael Niedermayer
On Sun, May 11, 2025 at 02:32:38AM +0200, Michael Niedermayer wrote: > Fixes: buffer leak > Fixes: > 398894512/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-6716597473705984 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projec

Re: [FFmpeg-devel] [PATCH 7/8] avcodec/svq3: Check that for 8 byte space before subtracting

2025-05-14 Thread Michael Niedermayer
On Wed, May 14, 2025 at 06:34:25PM +0200, Andreas Rheinhardt wrote: > Michael Niedermayer: > > No testcase > > > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/svq3.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > &g

Re: [FFmpeg-devel] [PATCH 2/3] avformat/avidec: Ignore duplicate GAB2

2025-05-14 Thread Michael Niedermayer
On Sat, May 10, 2025 at 04:36:07PM +0200, Michael Niedermayer wrote: > Fixes: memleak > Fixes: > 398401912/clusterfuzz-testcase-minimized-ffmpeg_dem_AVI_fuzzer-4669849976766464 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/f

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: Add entry for samples-request

2025-05-14 Thread Michael Niedermayer
On Sun, May 11, 2025 at 10:13:36PM +0200, Michael Niedermayer wrote: > This is based on discussion with the GA and its simply the people > who have done or tried to do some uploads recently. > > Everyone who has a shell account on ffmpeg.org should have powers to > upload samples.

Re: [FFmpeg-devel] [PATCH v5 2/7] libavformat/oggdec.{c, h}: Implement packet skip on packet return value of 1

2025-05-14 Thread Michael Niedermayer
On Fri, May 09, 2025 at 06:43:22PM -0500, Romain Beauxis wrote: > --- > libavformat/oggdec.c | 22 ++ > libavformat/oggdec.h | 1 + > 2 files changed, 15 insertions(+), 8 deletions(-) will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC78704

Re: [FFmpeg-devel] [PATCH v5 1/7] libavformat/oggdec.h: Document packet function return value.

2025-05-14 Thread Michael Niedermayer
On Fri, May 09, 2025 at 06:43:21PM -0500, Romain Beauxis wrote: > --- > libavformat/oggdec.h | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/libavformat/oggdec.h b/libavformat/oggdec.h > index 43df23f4cb..5225b77a07 100644 > --- a/libavformat/oggdec.h > +++ b/libavformat/oggdec.h >

Re: [FFmpeg-devel] [PATCH] Boost FPS and performance: Optimize vertical loop for cache-friendly access [libavcodec/jpeg2000dwt.c:dwt_decode97_float]

2025-05-14 Thread Michael Niedermayer
Hi Chitra On Wed, May 14, 2025 at 03:55:59AM +, Chitra Dey Sarkar via ffmpeg-devel wrote: > Original Implementation: > - > In the original implementation, the "VER_SD" section processes image data > stored in *data using strided memory access in a vertical fas

  1   2   3   4   5   6   7   8   9   10   >