[FFmpeg-devel] [PATCH v10 4/4] fftools/ffprobe: Rename AVTextFormatContext variables (w => tfc)

2025-04-09 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/ffprobe.c | 518 +++--- 1 file changed, 259 insertions(+), 259 deletions(-) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index 141233a2e9..e0a7322523 100644 --- a/fftools/ffprobe.c +++ b/fftools/

[FFmpeg-devel] [PATCH v10 1/4] fftools/textformat: Extract and generalize textformat api from ffprobe.c

2025-04-09 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/textformat/avtextformat.c | 672 + fftools/textformat/avtextformat.h | 171 fftools/textformat/avtextwriters.h | 68 +++ fftools/textformat/tf_compact.c| 282 fftools/textformat/tf_defa

[FFmpeg-devel] [PATCH v10 0/4] print_graphs: Complete Filtergraph Printing

2025-04-09 Thread ffmpegagent
Due to the additional work on graph visualization (see https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2025-March/341296.html), I have removed the two graph printing commits from this patchset rather than adding to it, as to avoid wasting the effort already spent on reviewing. So, now it's a graph

Re: [FFmpeg-devel] [PATCH v11 1/8] libavcodec/decode.c: intercept `AV_PKT_DATA_METADATA_UPDATE` packet extra data, attach them to the next decoded frame with the same PTS.

2025-04-09 Thread Romain Beauxis
Le mer. 9 avr. 2025 à 20:12, Michael Niedermayer a écrit : > > On Fri, Apr 04, 2025 at 04:14:44PM -0500, Romain Beauxis wrote: > > --- > > libavcodec/decode.c | 130 > > 1 file changed, 130 insertions(+) > > > > diff --git a/libavcodec/decode.c b/libav

[FFmpeg-devel] [PATCH v10 3/3] doc/fftools-common-opts: document mem log flag

2025-04-09 Thread softworkz
From: softworkz Signed-off-by: softworkz --- doc/fftools-common-opts.texi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/fftools-common-opts.texi b/doc/fftools-common-opts.texi index f6d452c40e..5d66af6b02 100644 --- a/doc/fftools-common-opts.texi +++ b/doc/fftools-common-opts.texi @

Re: [FFmpeg-devel] [PATCH] libpostproc: remove big-endian AltiVec acceleration

2025-04-09 Thread Sean McGovern
Hi, On Wed, Apr 9, 2025 at 2:55 PM Michael Niedermayer wrote: > > Hi Sean > > On Sun, Apr 06, 2025 at 12:42:30PM -0400, Sean McGovern wrote: > > While POWER & PowerPC systems have technically > > supported little-endian from inception, > > it did not come into proper usage until the > > introduci

Re: [FFmpeg-devel] [PATCH v11 1/8] libavcodec/decode.c: intercept `AV_PKT_DATA_METADATA_UPDATE` packet extra data, attach them to the next decoded frame with the same PTS.

2025-04-09 Thread Michael Niedermayer
On Fri, Apr 04, 2025 at 04:14:44PM -0500, Romain Beauxis wrote: > --- > libavcodec/decode.c | 130 > 1 file changed, 130 insertions(+) > > diff --git a/libavcodec/decode.c b/libavcodec/decode.c > index fca0c7ff58..39d054bdea 100644 > --- a/libavcodec/d

[FFmpeg-devel] [PATCH v10 2/3] fftools: add mem log flag and disable printing addresses by default

2025-04-09 Thread softworkz
From: softworkz This commit adds the mem log flag. When specifying this flag at the command line, context prefixes will be printed with memory addresses like in earlier ffmpeg versions. Example with mem flag: [hevc @ 018e72a89cc0] . without (new behavior): [hevc] . Signed-off-by:

[FFmpeg-devel] [PATCH v10 0/3] avutil/log: Add log flag to control printing of memory addresses

2025-04-09 Thread ffmpegagent
--and disable by default in fftools. The benefits are: * Smaller log file sizes * Makes log files better readable * Allows comparing and viewing log file diffs without almost every line being different due to those addresses Before == [hevc @ 018e72a89cc0] nal_unit_type: [hevc @ 0

Re: [FFmpeg-devel] [PATCH v2] avformat/fifo: Check for keyframe video type before stop dropping

2025-04-09 Thread Michael Niedermayer
On Sat, Apr 05, 2025 at 02:49:30PM -0300, Arthur Grillo wrote: > The current behavior when using restart_with_keyframe is that it will > recover if it also encounters any audio packet, as they are flagged as a > keyframe. > > The expectation is that packets are dropped until the next _video_ > key

[FFmpeg-devel] [PATCH] avcodec/avcodec: Remove always-false check

2025-04-09 Thread Andreas Rheinhardt
Patch attached. - Andreas From 3c24d5628ff39af7f6c6d8b9484e4fc0be791ab9 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Wed, 9 Apr 2025 14:47:35 +0200 Subject: [PATCH] avcodec/avcodec: Remove always-false check avcodec_free_context() only calls ff_codec_close() if there is an AVCodecCont

Re: [FFmpeg-devel] [PATCH 1/3] doc/encoders: Document compression_level for PNG

2025-04-09 Thread Michael Niedermayer
On Thu, Feb 06, 2025 at 02:47:41PM +0100, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > doc/encoders.texi | 7 +++ > 1 file changed, 7 insertions(+) will apply patchset [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Take away the

[FFmpeg-devel] [PATCH v9 1/3] avutil/log: Add log flag AV_LOG_PRINT_MEMADDRESSES

2025-04-09 Thread softworkz
From: softworkz which is controls prefix formatting. With this flag set, the prefix is printed without the memory address, otherwise it is included. Signed-off-by: softworkz --- doc/APIchanges | 3 +++ libavutil/log.c | 6 -- libavutil/log.h | 5 + libavutil/version.h | 2

Re: [FFmpeg-devel] [PATCH] libpostproc: remove big-endian AltiVec acceleration

2025-04-09 Thread Michael Niedermayer
Hi Sean On Sun, Apr 06, 2025 at 12:42:30PM -0400, Sean McGovern wrote: > While POWER & PowerPC systems have technically > supported little-endian from inception, > it did not come into proper usage until the > introducion of the POWER8 in 2013. > > The AltiVec acceleration present here has not >

Re: [FFmpeg-devel] avcodec/ffv1enc: permit 1024 slices

2025-04-09 Thread Michael Niedermayer
Hi Jerome On Tue, Apr 08, 2025 at 10:54:47PM +0200, Jerome Martinez wrote: > The FFV1 decoder accepts 1024 slices but the encoder does not currently > permit it. > Let's permit 32x32 (which is the GPU encoder setting, by the way). > ffv1enc.c |2 +- > 1 file changed, 1 insertion(+), 1 deleti

Re: [FFmpeg-devel] [PATCH v9 2/3] fftools: add mem log flag and disable printing addresses by default

2025-04-09 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of Gyan > Doshi > Sent: Mittwoch, 9. April 2025 20:27 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v9 2/3] fftools: add mem log flag and > disable printing addresses by default > > > > On 2025-04-09 11:49 pm, so

[FFmpeg-devel] [PATCH] libavutil: Replace obsolete functions with 2-suffix

2025-04-09 Thread Link Mauve
From: Link Mauve These functions got replaced in the Vulkan API because they had forgotten extensibility through the pNext pointer, otherwise used everywhere in the API. For two of these functions we already had the 2 pointer loaded, so this avoids loading the old one as well. On most drivers t

Re: [FFmpeg-devel] [PATCH v9 2/3] fftools: add mem log flag and disable printing addresses by default

2025-04-09 Thread Gyan Doshi
On 2025-04-09 11:49 pm, softworkz wrote: diff --git a/fftools/opt_common.c b/fftools/opt_common.c index 2ac3fd4fb3..edf2f49d0b 100644 --- a/fftools/opt_common.c +++ b/fftools/opt_common.c @@ -1304,6 +1304,12 @@ int opt_loglevel(void *optctx, const char *opt, const char *arg) } e

[FFmpeg-devel] [PATCH] tools: Fix deprecation warning in patcheck

2025-04-09 Thread Link Mauve
From: Link Mauve GNU apparently deprecated their egrep alias, replace it with 'grep -E' to avoid getting flooded with deprecation warnings. --- tools/patcheck | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patcheck b/tools/patcheck index 934e5b9451..ab6f73a784 100755 -

[FFmpeg-devel] [PATCH v9 2/3] fftools: add mem log flag and disable printing addresses by default

2025-04-09 Thread softworkz
From: softworkz This commit adds the mem log flag. When specifying this flag at the command line, context prefixes will be printed with memory addresses like in earlier ffmpeg versions. Example with mem flag: [hevc @ 018e72a89cc0] . without (new behavior): [hevc] . Signed-off-by:

[FFmpeg-devel] [PATCH v9 3/3] doc/fftools-common-opts: document mem log flag

2025-04-09 Thread softworkz
From: softworkz Signed-off-by: softworkz --- doc/fftools-common-opts.texi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/fftools-common-opts.texi b/doc/fftools-common-opts.texi index f6d452c40e..5d66af6b02 100644 --- a/doc/fftools-common-opts.texi +++ b/doc/fftools-common-opts.texi @

[FFmpeg-devel] [PATCH v9 0/3] avutil/log: Add log flag to control printing of memory addresses

2025-04-09 Thread ffmpegagent
--and disable by default in fftools. The benefits are: * Smaller log file sizes * Makes log files better readable * Allows comparing and viewing log file diffs without almost every line being different due to those addresses Before == [hevc @ 018e72a89cc0] nal_unit_type: [hevc @ 0

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-09 Thread Michael Niedermayer
On Tue, Apr 08, 2025 at 08:00:20PM -0400, Leo Izen wrote: > On 4/8/25 06:19, Michael Niedermayer wrote: > > Hi all > > > > As i have too many things to do already i did the most logic thing and > > started thinking about a new and unrelated idea. > > > > This is a list of problems and ideas, that

[FFmpeg-devel] [REFUND-REQUEST] Ryzen 9 CPU + Mainboard + RAM

2025-04-09 Thread Niklas Haas
Hi all, I ordered the parts as discussed and approved in the previous thread: https://ffmpeg.org//pipermail/ffmpeg-devel/2025-April/341873.html The total cost was 1381.28 EUR. Thanks, Niklas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https:/

Re: [FFmpeg-devel] [PATCH v8 2/3] fftools: add memaddress log flag and disable printing addresses by default

2025-04-09 Thread Gyan Doshi
On 2025-04-09 02:55 pm, softworkz wrote: From: softworkz This commit adds the memaddress log flag. When specifying this flag at the command line, context prefixes will be printed with memory addresses like in earlier ffmpeg versions. Example with memaddresses flag: [hevc @ 018e72a89cc0

Re: [FFmpeg-devel] [PATCH 1/3] swscale/swscale: Do not crash on floats

2025-04-09 Thread Michael Niedermayer
On Tue, Feb 04, 2025 at 03:58:43AM +0100, Michael Niedermayer wrote: > Fixes: shift exponent 32 is too large for 32-bit type 'unsigned int' > Fixes: division by zero > Fixes: > 391981061/clusterfuzz-testcase-minimized-ffmpeg_SWS_fuzzer-6691017763389440 > Fixes: > 392929028/clusterfuzz-testcase-mi

Re: [FFmpeg-devel] [PATCH] libpostproc: remove big-endian AltiVec acceleration

2025-04-09 Thread Sean McGovern
On Sun, Apr 6, 2025, 12:42 Sean McGovern wrote: > While POWER & PowerPC systems have technically > supported little-endian from inception, > it did not come into proper usage until the > introducion of the POWER8 in 2013. > > The AltiVec acceleration present here has not > had meaningful change s

Re: [FFmpeg-devel] [PATCH v8 2/3] fftools: add memaddress log flag and disable printing addresses by default

2025-04-09 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of Gyan > Doshi > Sent: Mittwoch, 9. April 2025 16:28 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v8 2/3] fftools: add memaddress log > flag and disable printing addresses by default > > > > On 2025-04-09 02:5

Re: [FFmpeg-devel] ffmpeg.git test compile fail

2025-04-09 Thread Andrew Randrianasulu
I think exact conditionals should be more like 61.0.100 but for single test it worked ... for some reason our x264 failed to encode (segfault) on i686 with AVX ? but x265 worked this is not yet for commiting, but more like for testing with ffmpeg git. cc: ffmpeg-devel in case they have b

Re: [FFmpeg-devel] [PATCH v11 0/8] Properly decode ogg metadata in ogg/{vorbis, flac, opus} chained bitstreams.

2025-04-09 Thread Romain Beauxis
Hi all, Le ven. 4 avr. 2025 à 16:14, Romain Beauxis a écrit : > > This is a series of patches to allow proper decoding of ogg metadata in > chained > `ogg/vorbis, `ogg/flac` and `ogg/opus` streams. > > ## Changes since last version: > * Fixed indentation and spaces. Any update on this? It wou

[FFmpeg-devel] [PATCH] avformat/dashdec: just make seg->url in absolute path once

2025-04-09 Thread Jack Lau via ffmpeg-devel
Should fix ticket 11543 if input url is relative path, the seg-url would make absolute url twice in get_content_url and open_input function but it doesn't need make absolute url in open_input since we set it already Signed-off-by: Jack Lau --- libavformat/dashdec.c | 2 +- 1 file changed, 1 i

[FFmpeg-devel] ffmpeg.git test compile fail

2025-04-09 Thread Andrew Randrianasulu
ffmpeg shallow git copy commit 890b8da1ce27fd365eaffefc7efcbadae9f01f2a our patches 2 and 8 fail, but this is not really my point yet ffmpeg.C:313:42: error: 'avcodec_close' was not declared in this scope; did you mean 'avio_close'? ffmpeg.C:476:33: error: 'avcodec_close' was not declared

[FFmpeg-devel] [PATCH 1/2] avcodec/h261dec: Export key frame information

2025-04-09 Thread Andreas Rheinhardt
Patches attached. - Andreas From 312fa0762798ea2207a29fde378f451e693b5981 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Wed, 9 Apr 2025 14:23:32 +0200 Subject: [PATCH 1/2] avcodec/h261dec: Export key frame information Implements ticket #8343. Signed-off-by: Andreas Rheinhardt --- li

Re: [FFmpeg-devel] ffmpeg.git test compile fail

2025-04-09 Thread James Almer
On 4/9/2025 8:49 AM, Andrew Randrianasulu wrote: ffmpeg shallow git copy commit 890b8da1ce27fd365eaffefc7efcbadae9f01f2a our patches 2 and 8 fail, but this is not really my point yet ffmpeg.C:313:42: error: 'avcodec_close' was not declared in this scope; did you mean 'avio_close'? ffmpeg

Re: [FFmpeg-devel] [PATCH v2] nvdec/vc1: add marker insertion logic

2025-04-09 Thread Timo Rothenpieler
On 08/04/2025 22:50, averne wrote: This mirrors existing code in d3dxx and dxva hwaccels --- Changes since v1: use the codec-specific handler for wmv3. Insert the relevant marker into the bitstream on slice submission. This is analogous to the logic found in DXVA and D3D hwaccels. Fixes decodi

[FFmpeg-devel] [PATCH v8 0/3] avutil/log: Add log flag to control printing of memory addresses

2025-04-09 Thread ffmpegagent
--and disable by default in fftools. The benefits are: * Smaller log file sizes * Makes log files better readable * Allows comparing and viewing log file diffs without almost every line being different due to those addresses Before == [hevc @ 018e72a89cc0] nal_unit_type: [hevc @ 0

Re: [FFmpeg-devel] [PATCH v7 1/3] avutil/log: Add log flag AV_LOG_PRINT_MEMADDRESSES

2025-04-09 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Mittwoch, 9. April 2025 10:12 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v7 1/3] avutil/log: Add log flag > AV_LOG_PRINT_MEMADDRESSES > > softworkz .: > > > > > >> -Original M

Re: [FFmpeg-devel] [PATCH v7 1/3] avutil/log: Add log flag AV_LOG_PRINT_MEMADDRESSES

2025-04-09 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Mittwoch, 9. April 2025 10:28 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v7 1/3] avutil/log: Add log flag > AV_LOG_PRINT_MEMADDRESSES > > softworkz .: > > > > > >> -Original M

[FFmpeg-devel] [PATCH v8 3/3] doc/fftools-common-opts: document memaddress log flag

2025-04-09 Thread softworkz
From: softworkz Signed-off-by: softworkz --- doc/fftools-common-opts.texi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/fftools-common-opts.texi b/doc/fftools-common-opts.texi index f6d452c40e..15a54fdbb6 100644 --- a/doc/fftools-common-opts.texi +++ b/doc/fftools-common-opts.texi @

[FFmpeg-devel] [PATCH v8 2/3] fftools: add memaddress log flag and disable printing addresses by default

2025-04-09 Thread softworkz
From: softworkz This commit adds the memaddress log flag. When specifying this flag at the command line, context prefixes will be printed with memory addresses like in earlier ffmpeg versions. Example with memaddresses flag: [hevc @ 018e72a89cc0] . without (new behavior): [hevc] .

Re: [FFmpeg-devel] [PATCH v7 1/3] avutil/log: Add log flag AV_LOG_PRINT_MEMADDRESSES

2025-04-09 Thread Andreas Rheinhardt
softworkz .: > > >> -Original Message- >> From: ffmpeg-devel On Behalf Of >> Andreas Rheinhardt >> Sent: Mittwoch, 9. April 2025 10:12 >> To: ffmpeg-devel@ffmpeg.org >> Subject: Re: [FFmpeg-devel] [PATCH v7 1/3] avutil/log: Add log flag >> AV_LOG_PRINT_MEMADDRESSES >> >> softworkz .: >>>

Re: [FFmpeg-devel] [PATCH v7 1/3] avutil/log: Add log flag AV_LOG_PRINT_MEMADDRESSES

2025-04-09 Thread Andreas Rheinhardt
softworkz .: > > >> -Original Message- >> From: ffmpeg-devel On Behalf Of >> Andreas Rheinhardt >> Sent: Mittwoch, 9. April 2025 09:28 >> To: ffmpeg-devel@ffmpeg.org >> Subject: Re: [FFmpeg-devel] [PATCH v7 1/3] avutil/log: Add log flag >> AV_LOG_PRINT_MEMADDRESSES >> >> softworkz: >>> F

Re: [FFmpeg-devel] [PATCH v7 1/3] avutil/log: Add log flag AV_LOG_PRINT_MEMADDRESSES

2025-04-09 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Mittwoch, 9. April 2025 09:28 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v7 1/3] avutil/log: Add log flag > AV_LOG_PRINT_MEMADDRESSES > > softworkz: > > From: softworkz > > > >

Re: [FFmpeg-devel] [PATCH v7 1/3] avutil/log: Add log flag AV_LOG_PRINT_MEMADDRESSES

2025-04-09 Thread Andreas Rheinhardt
softworkz: > From: softworkz > > which is controls prefix formatting. With this flag set, the prefix is > printed including the memory address, otherwise it is omitted. > In libavutil, the flag is set by default, retaining the previous > behavior. fftools remove the flag as default. The implemen