Re: [FFmpeg-devel] [PATCH 01/12] fftools/textformat/avtextformat: Simplify avtext_print_rational()

2025-04-14 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Dienstag, 15. April 2025 03:00 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: [FFmpeg-devel] [PATCH 01/12] fftools/textformat/avtextformat: > Simplify avtext_print_rationa

Re: [FFmpeg-devel] [PATCH 2/9] fftools/textformat: Quality improvements

2025-04-14 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Dienstag, 15. April 2025 03:06 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH 2/9] fftools/textformat: Quality > improvements > > softworkz: > > From: softworkz > > > > Signed-off-by

[FFmpeg-devel] [PATCH 1/3] avcodec/tests/mjpegenc_huffman: Also test length counts

2025-04-14 Thread Andreas Rheinhardt
Patches attached. I also tried to sort equal length codes in such a way that codes that start and end with 1 bits are paired with values that occur less frequently as suggested by Michael in https://ffmpeg.org/pipermail/ffmpeg-devel/2025-April/341917.html. Yet strangely this worsened compression (f

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-14 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Dienstag, 15. April 2025 01:20 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that > decode_str() did advance > > On

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-14 Thread Ridley Combs via ffmpeg-devel
> On Apr 15, 2025, at 08:59, softworkz . > wrote: > > > >> -Original Message- >> From: ffmpeg-devel > > On Behalf Of >> Michael Niedermayer >> Sent: Dienstag, 15. April 2025 01:20 >> To: FFmpeg development discussions and patches > de...@ffmpe

Re: [FFmpeg-devel] [PATCH 2/9] fftools/textformat: Quality improvements

2025-04-14 Thread Andreas Rheinhardt
softworkz: > From: softworkz > > Signed-off-by: softworkz > --- > fftools/textformat/avtextformat.c | 121 +++--- > fftools/textformat/avtextformat.h | 6 +- > fftools/textformat/tf_default.c | 8 +- > fftools/textformat/tf_ini.c | 2 +- > fftools/textforma

Re: [FFmpeg-devel] [PATCH 01/23] avcodec/x86/vvc/dsp_init: Make put wrappers static

2025-04-14 Thread Andreas Rheinhardt
Michael Niedermayer: > On Sat, Apr 05, 2025 at 09:38:10AM +0200, Michael Niedermayer wrote: >> On Thu, Apr 03, 2025 at 10:31:26PM +0200, Andreas Rheinhardt wrote: >>> Patches attached. >>> >>> - Andreas >> >> [...] >> >>> libavcodec/mjpegenc_huffman.c| 33 ++ >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-14 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Ridley Combs via ffmpeg-devel > Sent: Dienstag, 15. April 2025 02:03 > To: ffmpeg-devel > Cc: Ridley Combs > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that > decode_str() did advance > > > > > On Apr 15, 20

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-14 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Dienstag, 15. April 2025 01:20 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that > decode_str() did advance > > On

Re: [FFmpeg-devel] [PATCH 2/2] avformat/id3v2: Check that decode_str() did advance

2025-04-14 Thread Michael Niedermayer
On Sat, Apr 12, 2025 at 01:49:53AM +, softworkz . wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Michael Niedermayer > > Sent: Samstag, 12. April 2025 00:27 > > To: FFmpeg development discussions and patches > > Subject: [FFmpeg-devel] [PATCH 2/2] avformat

Re: [FFmpeg-devel] [PATCH v2] libpostproc: deprecate the AMD 3DNow! define

2025-04-14 Thread Andreas Rheinhardt
Sean McGovern: > Hi, > > > On Fri, Apr 11, 2025, 09:52 Sean McGovern wrote: > >> It was left unreferenced in 1f0948272a0fcd0e4947f629b600983f3338c02f. >> --- >> libpostproc/postprocess.h | 2 ++ >> libpostproc/version.h | 2 ++ >> 2 files changed, 4 insertions(+) >> >> diff --git a/libpost

[FFmpeg-devel] [PATCH v3] libpostproc: deprecate the AMD 3DNow! define

2025-04-14 Thread Sean McGovern
It was left unreferenced in 1f0948272a0fcd0e4947f629b600983f3338c02f. --- libpostproc/postprocess.h | 2 ++ libpostproc/version_major.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/libpostproc/postprocess.h b/libpostproc/postprocess.h index 5decb7e8a9..e210e93b11 100644 --- a/libpostpr

Re: [FFmpeg-devel] SW's Patchsets Overview

2025-04-14 Thread softworkz .
Hello, this is a follow-up to the list of patches I had posted recently. From those, I would like to push the following by the end of the week: avformat/hls demuxer: Add WebVTT subtitle support GitHub:https://github.com/ffstaging/FFmpeg/pull/53 Patchwork: https://patchwork.ffmpeg.org/proj

Re: [FFmpeg-devel] [PATCH v5] libavcodec/dvbsubenc.c: add a disable_2bpp option to work around some decoders.

2025-04-14 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Ronan Waide > Sent: Sonntag, 30. März 2025 12:18 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH v5] libavcodec/dvbsubenc.c: add a > disable_2bpp option to work around some d

Re: [FFmpeg-devel] [PATCH] lavc/vaapi_encode_av1: Always use slot 0 with 1 l0 ref

2025-04-14 Thread David Rosca
On Tue, Mar 4, 2025 at 8:43 AM David Rosca wrote: > > On Tue, Mar 4, 2025 at 2:55 AM Wang, Fei W > wrote: > > > > On Mon, 2025-03-03 at 14:47 +0100, David Rosca wrote: > > > On Wed, Jan 15, 2025 at 10:41 PM David Rosca > > > wrote: > > > > > > > > Don't need to alternate when only one reference

Re: [FFmpeg-devel] AVDictionary vs. AVSet (AVDictionary2 approximation)

2025-04-14 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Montag, 14. April 2025 13:33 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: [FFmpeg-devel] AVDictionary vs. AVSet (AVDictionary2 > approximation) > > Hi > > I just post

Re: [FFmpeg-devel] [PATCH 0/3] avutil/dict2: Add AVDictionary2 with hash-based lookup

2025-04-14 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Nicolas George > Sent: Montag, 14. April 2025 13:02 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 0/3] avutil/dict2: Add > AVDictionary2 with hash-based lookup > > ffmpeg

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

2025-04-14 Thread softworkz
From: softworkz remember this: -sg <= show-graph Signed-off-by: softworkz --- doc/ffmpeg.texi | 4 + fftools/Makefile | 1 + fftools/ffmpeg.c | 2 +- fftools/ffmpeg.h | 1 + fftools/ffmpeg_filter.c | 2 +- fftools/ffmpeg_opt.c

Re: [FFmpeg-devel] AVDictionary vs. AVSet (AVDictionary2 approximation)

2025-04-14 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > softworkz . > Sent: Montag, 14. April 2025 14:40 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] AVDictionary vs. AVSet (AVDictionary2 > approximation) > > > > > -Original M

[FFmpeg-devel] [PATCH 7/9] fftools/resources: Add resource manager files

2025-04-14 Thread softworkz
From: softworkz Signed-off-by: softworkz --- ffbuild/common.mak | 28 ++- fftools/resources/.gitignore | 4 + fftools/resources/Makefile | 27 +++ fftools/resources/graph.css | 353 +++ fftools/resources/graph.html | 86 + fftools/resour

[FFmpeg-devel] [PATCH 8/9] fftools/graphprint: Add execution graph printing

2025-04-14 Thread softworkz
From: softworkz The key benefits are: - Different to other graph printing methods, this is outputting: - all graphs with runtime state (including auto-inserted filters) - each graph with its inputs and outputs - all filters with their in- and output pads - all connections between all

[FFmpeg-devel] [PATCH 6/9] avfilter/avfilter: Add avfilter_link_get_hw_frames_ctx()

2025-04-14 Thread softworkz
From: softworkz Signed-off-by: softworkz --- doc/APIchanges | 3 +++ libavfilter/avfilter.c | 9 + libavfilter/avfilter.h | 12 3 files changed, 24 insertions(+) diff --git a/doc/APIchanges b/doc/APIchanges index 65bf5a9419..32374f5453 100644 --- a/doc/APIchanges

[FFmpeg-devel] [PATCH 4/9] fftools/textformat: Add function avtext_print_integer_flags()

2025-04-14 Thread softworkz
From: softworkz This function works analog to the avtext_print_string() which already has a flags parameter. Signed-off-by: softworkz --- fftools/textformat/avtextformat.c | 21 + fftools/textformat/avtextformat.h | 2 ++ 2 files changed, 23 insertions(+) diff --git a/fft

[FFmpeg-devel] [PATCH 3/9] fftools/textformat: Introduce common header and deduplicate code

2025-04-14 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/textformat/avtextwriters.h | 2 +- fftools/textformat/tf_compact.c| 31 --- fftools/textformat/tf_default.c| 27 +++--- fftools/textformat/tf_flat.c | 27 +++--- fftools/textformat/tf_ini.c| 24 +++--

[FFmpeg-devel] [PATCH 1/9] fftools/textformat: Formatting and whitespace changes

2025-04-14 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/textformat/avtextformat.c | 104 +++-- fftools/textformat/avtextformat.h | 16 ++--- fftools/textformat/avtextwriters.h | 11 ++- fftools/textformat/tf_compact.c| 91 ++--- fftools/textform

[FFmpeg-devel] [PATCH 0/9] Execution Graph Printing

2025-04-14 Thread ffmpegagent
Shortest cover letter for my longest-running FFmpeg patchset: * Apply * Build * Add the "-sg" switch to any FFmpeg command line SG = Show Graph Documentation and examples can be found here: https://github.com/softworkz/ffmpeg_output_apis/wiki softworkz (9): fftools/textformat: Formatting

Re: [FFmpeg-devel] [PATCH 0/3] avutil/dict2: Add AVDictionary2 with hash-based lookup

2025-04-14 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Nicolas George > Sent: Montag, 14. April 2025 13:02 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 0/3] avutil/dict2: Add > AVDictionary2 with hash-based lookup > > ffmpega

[FFmpeg-devel] [PATCH 1/3] avutil/tree: av_tree_find2() to also find the first and last elements comparing equal

2025-04-14 Thread Michael Niedermayer
This patch also improves the worst case of O(n) (with n equal elements) to O(log n) This may be used by AVDictionary2 And AVSet for iterating over identical keys Signed-off-by: Michael Niedermayer --- libavutil/tree.c | 33 - libavutil/tree.h | 6 ++ 2 file

[FFmpeg-devel] AVDictionary vs. AVSet (AVDictionary2 approximation)

2025-04-14 Thread Michael Niedermayer
Hi I just posted a AVSet implementation i wrote in the last 2 days (yes thats why i did dissapear for the last 2 days) My plan was to use that AVSet as basis for AVDictionary2 in case benchmarks indicate that its worth it, so is it ? with 3 entries (10 runs) AVDictionary0.040sec AVSet

[FFmpeg-devel] [PATCH v2] lavc: add an av1_vulkan encoder

2025-04-14 Thread Lynne
This commit adds a Vulkan AV1 encoder, using the native acceleration API. --- configure |1 + libavcodec/Makefile|2 + libavcodec/allcodecs.c |1 + libavcodec/vulkan_encode_av1.c | 1385 libavcodec/vulkan_video.c

[FFmpeg-devel] [PATCH 3/3] libavutil: Add AVSet

2025-04-14 Thread Michael Niedermayer
AVL Tree based set compared to AVDIctionary this has * clone is O(n) instead of O(n²) * copy is O(n*log n) instead of O(n²) * malloc() calls are O(log n) instead of O(n) * get/add/delete is O(log n) * * You can add and remove entries while a iterator stays valid * copy is atomic, a failure

[FFmpeg-devel] [PATCH 2/3] avutil/tree: Add av_tree_move

2025-04-14 Thread Michael Niedermayer
This will allow storing a tree in a flat array and reallocating it Signed-off-by: Michael Niedermayer --- libavutil/tree.c | 15 +++ libavutil/tree.h | 11 +++ 2 files changed, 26 insertions(+) diff --git a/libavutil/tree.c b/libavutil/tree.c index a084ecab08c..44f7af3 1

Re: [FFmpeg-devel] [PATCH 0/3] avutil/dict2: Add AVDictionary2 with hash-based lookup

2025-04-14 Thread Nicolas George
ffmpegagent (HE12025-04-12): > This whole patchset has been antirely authored by AI, wich means that I > haven't written a single line of code. You have got to be kidding. And not just because you waste everybody's time submitting a series of bullshit code, but by the fact that you did it in the f

Re: [FFmpeg-devel] [PATCH 2/2] ffprobe: show seekability details in format section

2025-04-14 Thread Gyan Doshi
On 2025-04-14 12:57 pm, softworkz . wrote: -Original Message- From: ffmpeg-devel On Behalf Of Gyan Doshi Sent: Montag, 14. April 2025 08:54 To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [PATCH 2/2] ffprobe: show seekability details in format section On 2025-04-14 10:22

Re: [FFmpeg-devel] [PATCH] avformat/rtpdec_av1: Fix fragment continuation check when OBU_HAS_SIZE_FIELD is set

2025-04-14 Thread Parallelc
On Mon, Apr 14, 2025 at 3:13 PM Chris Hodges wrote: > > Hi there, > > On 4/13/25 17:56, Parallelc wrote: > > > When OBU_HAS_SIZE_FIELD is set in the OBU header, frag_obu_size remains 0. > > The code used !frag_obu_size to check for unexpected fragment continuation, > > which resulted in incorrect

Re: [FFmpeg-devel] [PATCH 2/2] ffprobe: show seekability details in format section

2025-04-14 Thread Nicolas George
Gyan Doshi (HE12025-04-14): > yes|time(pts),frame-index|demuxer,packet-scan|fast Do not use delimiters that are active characters in regexps. Regards, -- Nicolas George ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman

Re: [FFmpeg-devel] [PATCH 2/2] ffprobe: show seekability details in format section

2025-04-14 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of Gyan > Doshi > Sent: Montag, 14. April 2025 08:54 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH 2/2] ffprobe: show seekability > details in format section > > > > On 2025-04-14 10:22 am, softworkz . wrote: >

Re: [FFmpeg-devel] [PATCH 2/2] ffprobe: show seekability details in format section

2025-04-14 Thread Gyan Doshi
On 2025-04-14 10:22 am, softworkz . wrote: Hi Gyan, the problem that I see here is that it's not machine-readable and would require non-trivial parsing to translate back to the actual information behind it. I think that either a separate sub-section or at least three separate values would

Re: [FFmpeg-devel] [PATCH] avformat/rtpdec_av1: Fix fragment continuation check when OBU_HAS_SIZE_FIELD is set

2025-04-14 Thread Chris Hodges
Hi there, On 4/13/25 17:56, Parallelc wrote: When OBU_HAS_SIZE_FIELD is set in the OBU header, frag_obu_size remains 0. The code used !frag_obu_size to check for unexpected fragment continuation, which resulted in incorrect drops. Introduce expect_frag_cont to explicitly track continuation expe