[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

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

2025-04-09 Thread softworkz .
> > 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 *optct

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

2025-04-09 Thread softworkz .
> > > 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

[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

[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

[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 3/4] fftools/ffprobe: Rename writer_print_section_* and WriterContext

2025-04-10 Thread softworkz
From: softworkz separated for better clarity of the preceding commit Signed-off-by: softworkz ren --- fftools/ffprobe.c | 363 +++--- 1 file changed, 179 insertions(+), 184 deletions(-) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index

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

2025-04-10 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 v10 1/3] avutil/log: Add log flag AV_LOG_PRINT_MEMADDRESSES

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

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

2025-04-10 Thread softworkz .
> -Original Message- > From: Nicolas George > Sent: Donnerstag, 10. April 2025 08:51 > To: FFmpeg development discussions and patches > Cc: softworkz > Subject: Re: [FFmpeg-devel] [PATCH v10 2/3] fftools: add mem log flag > and disable printing addresses by d

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-10 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Nicolas George > Sent: Donnerstag, 10. April 2025 10:40 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [RFC] AVDictionary2 > > Michael Niedermayer (HE12025-04-08): > > As i have too many things to

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

2025-03-31 Thread softworkz .
> -Original Message- > From: Stefano Sabatini > Sent: Freitag, 21. März 2025 19:05 > To: FFmpeg development discussions and patches > Cc: softworkz > Subject: Re: [FFmpeg-devel] [PATCH v8 0/4] print_graphs: Complete > Filtergraph Printing > > On date We

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

2025-04-01 Thread softworkz .
> -Original Message- > From: ffmpegagent > Sent: Sonntag, 23. März 2025 04:42 > To: ffmpeg-devel@ffmpeg.org > Cc: softworkz > Subject: [PATCH v9 0/4] print_graphs: Complete Filtergraph Printing > > Due to the additional work on graph visualization (see &g

[FFmpeg-devel] SW's Patchsets Overview

2025-04-01 Thread softworkz .
Hello everybody, with freshly gained push access rights, I want to act responsibly and carefully, and also avoid unexpected surprises so I'm not going to rush things. Due to that change, I thought it might be good to post an overview of the patchsets I am intending to push in the near future:

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

2025-04-02 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Mittwoch, 2. April 2025 09:25 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v9 0/4] print_graphs: Complete > Filtergraph Printing > > softworkz .: > &g

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

2025-04-08 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of Marton > Balint Hi Marton, > As for the question of the default behaviour, I don't have a strong > opinion, both can make sense, maybe I would keep the existing behaviour > for the library, but change the default for the cli tools

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-08 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Dienstag, 8. April 2025 20:16 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [RFC] AVDictionary2 > > Hi softworkz > > On Tue, Ap

[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

[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

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 .:

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 .:

[FFmpeg-devel] [PATCH v7 2/3] fftools/opt_common: add memaddresses log flag

2025-04-08 Thread softworkz
From: softworkz This commit adds the memaddresses 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

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

2025-04-08 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..756c843c02 100644 --- a/doc/fftools-common-opts.texi +++ b/doc/fftools-common-opts.texi

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

2025-04-08 Thread 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. Signed-off-by: softworkz --- doc

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 > > sof

Re: [FFmpeg-devel] [RFC] FFmpeg Execution Graph Visualization

2025-04-11 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Nicolas George > Sent: Freitag, 11. April 2025 19:09 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [RFC] FFmpeg Execution Graph Visualization > > Michael Niedermayer (HE12025-03-29): > > can you r

Re: [FFmpeg-devel] [RFC] AVDictionary2

2025-04-11 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Freitag, 11. April 2025 21:06 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [RFC] AVDictionary2 > > Hi > > On Tue, Apr 08, 2025 at 09:30

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

2025-04-11 Thread softworkz .
> -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/id3v2: Check that > decode_str() did advance > > Fixes infinite loop with

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

2025-04-07 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Nicolas George > Sent: Montag, 7. April 2025 11:14 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] SW's Patchsets Overview > > Marton Balint (HE12025-04-06): > > I think a log flag to completely hi

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

2025-04-15 Thread softworkz .
decode_str() did advance > > softworkz . (HE12025-04-15): > > which breaks all usages. > > Please elaborate. > > -- > Nicolas George Please show me widely used implementations which do not break. sw _

Re: [FFmpeg-devel] [PATCH 2/3] doc/dict2: Add doc and api change for AVDictionary2

2025-04-17 Thread softworkz .
change for AVDictionary2 > > Hi > > On Wed, Apr 16, 2025 at 11:15:12PM +, softworkz . wrote: > > > > > > > -Original Message- > > > From: ffmpeg-devel On Behalf Of > > > Michael Niedermayer > > > Sent: Mittwoch, 16. April 2

Re: [FFmpeg-devel] [PATCH 1/2] avformat: add avformat_query_seekable

2025-04-13 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of Gyan > Doshi > Sent: Sonntag, 13. April 2025 13:16 > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH 1/2] avformat: add > avformat_query_seekable > > Utility function to report seekability features for a given input. >

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

2025-04-13 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of Gyan > Doshi > Sent: Sonntag, 13. April 2025 13:16 > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH 2/2] ffprobe: show seekability details in > format section > > --- > fftools/ffprobe.c| 49 ++

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

2025-04-14 Thread softworkz .
decode_str() did advance > > 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 > &g

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: > > Fr

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

2025-04-14 Thread softworkz .
e > > > > > On Apr 15, 2025, at 08:59, softworkz . hotmail@ffmpeg.org> wrote: > > > > > > > >> -Original Message- > >> From: ffmpeg-devel mailto:ffmpeg- > devel-boun...@ffmpeg.org>> On Behalf Of > >> Michael N

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

2025-04-14 Thread softworkz .
decode_str() did advance > > 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 > &g

Re: [FFmpeg-devel] [PATCH 2/3] doc/dict2: Add doc and api change for AVDictionary2

2025-04-16 Thread softworkz .
change for AVDictionary2 > > Hi softworkz > > I think we should use AI to support us and reduce the workload > on people. > I think this here cost you money This is part of an ongoing research for a project that is totally unrelated to FFmpeg. It wasn't my own money and it wa

Re: [FFmpeg-devel] [FFmpeg-cvslog] avformat/dump: Print stream start offsets for input streams

2025-04-20 Thread softworkz .
> > On 2025-04-19 08:35 pm, softworkz wrote: > > ffmpeg | branch: master | softworkz | Sat > Feb 23 04:59:10 2019 +0100| [02d7384ed5eec0152056c081b536c16cb86e6361] > | committer: softworkz > > > > avformat/dump: Print stream start offsets for input streams > > > >

[FFmpeg-devel] [PATCH v2] fftools/ffprobe: Print size of attachments

2025-04-20 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/ffprobe: Print size of attachments libavformat/asfdec: Fix regression bug when reading image attachments Versions V2 Fix spurious commit message text as noted by Andreas (thanks

[FFmpeg-devel] [PATCH] avformat/dump: Change precision of stream start offsets

2025-04-20 Thread softworkz
From: softworkz Changing this to 6 digits to align with other printed times Signed-off-by: softworkz --- avformat/dump: Change precision of stream start offsets Changing this to 6 digits to align with other printed times Signed-off-by: softworkz softwo...@hotmail.com

[FFmpeg-devel] [PATCH v3] fftools/ffprobe: Print size of attachments

2025-04-20 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/ffprobe: Print size of attachments Versions V2 Fix spurious commit message text as noted by Andreas (thanks!) V3 Also removed from the cover-letter part Published-As: https

[FFmpeg-devel] [PATCH v4 01/11] fftools/textformat: Formatting and whitespace changes

2025-04-20 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

[FFmpeg-devel] [PATCH v4 03/11] fftools/textformat: Introduce common header and deduplicate code

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

[FFmpeg-devel] [PATCH v4 02/11] fftools/textformat: Quality improvements

2025-04-20 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/textformat/avtextformat.c | 111 +++--- fftools/textformat/avtextformat.h | 6 +- fftools/textformat/tf_default.c | 8 ++- fftools/textformat/tf_ini.c | 2 +- fftools/textformat/tf_json.c | 8

[FFmpeg-devel] [PATCH v4 10/11] fftools/graphprint: Add execution graph printing

2025-04-20 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

[FFmpeg-devel] [PATCH v4 08/11] fftools/resources: Add resource manager files

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

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

2025-04-20 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_op

[FFmpeg-devel] [PATCH v4 06/11] fftools/ffmpeg_filter: Move some declaration to new header file

2025-04-20 Thread softworkz
From: softworkz to allow filtergraph printing to access the information. Signed-off-by: softworkz --- fftools/ffmpeg_filter.c | 190 +--- fftools/ffmpeg_filter.h | 234 2 files changed, 235 insertions(+), 189 deletions

[FFmpeg-devel] [PATCH v4 07/11] avfilter/avfilter: Add avfilter_link_get_hw_frames_ctx()

2025-04-20 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 75d66f87f3..d0869561f3 100644 --- a/doc

[FFmpeg-devel] [PATCH v4 05/11] fftools/textformat: Add function avtext_print_integer_flags()

2025-04-20 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

[FFmpeg-devel] [PATCH v4 04/11] fftools/tf_internal: Use ac_default_item_name

2025-04-20 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/textformat/tf_internal.h | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/fftools/textformat/tf_internal.h b/fftools/textformat/tf_internal.h index 7b326328cb..e145bc83bb 100644 --- a/fftools/textformat/tf_internal.h

[FFmpeg-devel] [PATCH v4 09/11] fftools/ffmpeg_mux: Make ms_from_ost() inline

2025-04-20 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/ffmpeg_mux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffmpeg_mux.h b/fftools/ffmpeg_mux.h index f41f2c18fa..4ca8ab73a4 100644 --- a/fftools/ffmpeg_mux.h +++ b/fftools/ffmpeg_mux.h @@ -123,7 +123,7

[FFmpeg-devel] [PATCH v2] fftools/ffmpeg: Log exit code on exit

2025-04-20 Thread softworkz
From: softworkz When viewing logs, there are situations where it is not entirely clear whether ffmpeg CLI has exited gracefully. The two primary cases are - A crash/segfault has occured Windows for example doesn't output any message to the calling shell - The process has been terminated

[FFmpeg-devel] [PATCH v2] libavformat/asfdec: Fix regression bug when reading image attachments

2025-04-20 Thread softworkz
From: softworkz Commit c8140fe7324f264faacf7395b27e12531d1f13f7 had introduced a check for value_len > UINT16_MAX. As a consequence, attached images of sizes larger than UINT16_MAX could no longer be read. This is a minimal fix of the regression, avoiding the controversies of my earl

[FFmpeg-devel] [PATCH v2] fftools/ffmpeg: Include elapsed-time in print_report()

2025-04-20 Thread softworkz
From: softworkz It's a highly useful metric, both at runtime and when viewing logs. Signed-off-by: softworkz --- fftools/ffmpeg: Include elapsed-time in print_report() It's a highly useful metric, both at runtime and when viewing logs. Signed-off-by: softwo

Re: [FFmpeg-devel] [PATCH v3 0/2] Improve HWDeviceContext logging

2025-04-20 Thread softworkz .
gt; > On Sat, Apr 19, 2025 at 03:15:26PM +, softworkz . wrote: > > > > > > > -Original Message- > > > From: ffmpegagent > > > Sent: Samstag, 19. April 2025 16:43 > > > To: ffmpeg-devel@ffmpeg.org > > > Cc: softworkz &

[FFmpeg-devel] [PATCH] avutil/opt: Print default option value for AV_OPT_TYPE_INT64

2025-04-20 Thread softworkz
From: softworkz Signed-off-by: softworkz --- avutil/opt: Print default option value for AV_OPT_TYPE_INT64 Signed-off-by: softworkz softwo...@hotmail.com Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-73%2Fsoftworkz%2Fsubmit_opt_default64-v1 Fetch-It

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg: Log 'EXIT' on exit

2025-04-20 Thread softworkz .
> > > > On Sat, 19 Apr 2025, softworkz wrote: > > > From: softworkz > > > > When viewing logs, there are situations where it is not entirely > > clear whether ffmpeg CLI has exited gracefully. The two primary > cases > > are > > > > - A cr

[FFmpeg-devel] [RFC] Shaping the AVTextFormat API Surface

2025-04-21 Thread softworkz .
Hi Stefano, Andreas, Nicolas and of course, anybody who's interested in the AVTextFormat APIs, let me start by saying that I have no intention to rush the publicization of those APIs. I think there's still a way to go. But it's also true that when you don't have a clear understanding of where yo

[FFmpeg-devel] [PATCH v3 04/11] fftools/tf_internal: Use ac_default_item_name

2025-04-17 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/textformat/tf_internal.h | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/fftools/textformat/tf_internal.h b/fftools/textformat/tf_internal.h index 7b326328cb..e145bc83bb 100644 --- a/fftools/textformat/tf_internal.h

[FFmpeg-devel] [PATCH v3 08/11] fftools/resources: Add resource manager files

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

Re: [FFmpeg-devel] [PATCH v2 02/10] fftools/textformat: Quality improvements

2025-04-17 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > softworkz . > Sent: Mittwoch, 16. April 2025 13:33 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH v2 02/10] fftools/textformat: &

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

2025-04-17 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > softworkz . > Sent: Montag, 14. April 2025 17:45 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] SW's Patchsets Overview > > Hello, > >

[FFmpeg-devel] [PATCH v3 02/11] fftools/textformat: Quality improvements

2025-04-17 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/textformat/avtextformat.c | 111 +++--- fftools/textformat/avtextformat.h | 6 +- fftools/textformat/tf_default.c | 8 ++- fftools/textformat/tf_ini.c | 2 +- fftools/textformat/tf_json.c | 8

Re: [FFmpeg-devel] [PATCH v2 09/10] fftools/graphprint: Add execution graph printing

2025-04-17 Thread softworkz .
execution graph printing > > Hi > > On Wed, Apr 16, 2025 at 10:12:19AM +, softworkz wrote: > > From: softworkz > > > > The key benefits are: > > > > - Different to other graph printing methods, this is outputting: > > - all graphs with runtime sta

[FFmpeg-devel] [PATCH v3 01/11] fftools/textformat: Formatting and whitespace changes

2025-04-17 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

[FFmpeg-devel] [PATCH v3 10/11] fftools/graphprint: Add execution graph printing

2025-04-17 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

[FFmpeg-devel] [PATCH v3 03/11] fftools/textformat: Introduce common header and deduplicate code

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

[FFmpeg-devel] [PATCH v3 06/11] fftools/ffmpeg_filter: Move some declaration to new header file

2025-04-17 Thread softworkz
From: softworkz to allow filtergraph printing to access the information. Signed-off-by: softworkz --- fftools/ffmpeg_filter.c | 190 +--- fftools/ffmpeg_filter.h | 234 2 files changed, 235 insertions(+), 189 deletions

[FFmpeg-devel] [PATCH v3 07/11] avfilter/avfilter: Add avfilter_link_get_hw_frames_ctx()

2025-04-17 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 22aa6fa5c7..4f60bbbe3d 100644 --- a/doc

[FFmpeg-devel] [PATCH v3 05/11] fftools/textformat: Add function avtext_print_integer_flags()

2025-04-17 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

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

2025-04-17 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_op

Re: [FFmpeg-devel] [PATCH v2 02/10] fftools/textformat: Quality improvements

2025-04-17 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > softworkz . > Sent: Mittwoch, 16. April 2025 13:33 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH v2 02/10] fftools/textformat: &

[FFmpeg-devel] [PATCH] fftools/ffmpeg: Log 'EXIT' on exit

2025-04-19 Thread softworkz
From: softworkz When viewing logs, there are situations where it is not entirely clear whether ffmpeg CLI has exited gracefully. The two primary cases are - A crash/segfault has occured Windows for example doesn't output any message to the calling shell - The process has been terminated

[FFmpeg-devel] [PATCH] fftools/ffmpeg: Include elapsed-time in print_report()

2025-04-19 Thread softworkz
From: softworkz It's a highly useful metric, both at runtime and when viewing logs. Signed-off-by: softworkz --- fftools/ffmpeg: Include elapsed-time in print_report() It's a highly useful metric, both at runtime and when viewing logs. Signed-off-by: softwo

[FFmpeg-devel] [PATCH] fftools/ffprobe: Disable stderr buffering on Windows

2025-04-19 Thread softworkz
From: softworkz An identical call exists in ffmpeg.c With POSIX/glibc, stderr is already unbuffered (or line-buffered when a terminal is connected), but not in case of MSVCRT. Explicitly calling setvbuf() like in this commit, makes the Windows runtime behave like POSIX, giving the same “print

[FFmpeg-devel] [PATCH] fftools/ffprobe: Print size of attachments

2025-04-19 Thread softworkz
From: softworkz libavformat/asfdec: Fix regression bug when reading image attachments --- fftools/ffprobe: Print size of attachments libavformat/asfdec: Fix regression bug when reading image attachments Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-71

[FFmpeg-devel] [PATCH] libavformat/asfdec: Fix regression bug when reading image attachments

2025-04-19 Thread softworkz
From: softworkz Commit c8140fe7324f264faacf7395b27e12531d1f13f7 had introduced a check for value_len > UINT16_MAX. As a consequence, attached images of sizes larger than UINT16_MAX could no longer be read. This is a minimal fix of the regression, avoiding the controversies of my earl

Re: [FFmpeg-devel] [RFC] Shaping the AVTextFormat API Surface

2025-04-28 Thread softworkz .
025-04-27 17:54:21 +, softworkz . wrote: > > > > > > > -Original Message- > > > From: ffmpeg-devel On Behalf Of > > > Stefano Sabatini > > > Sent: Sonntag, 27. April 2025 12:42 > > > To: FFmpeg development discussions and p

Re: [FFmpeg-devel] [PATCH v7 02/13] fftools/textformat: Apply quality improvements

2025-04-28 Thread softworkz .
> -Original Message- > From: Stefano Sabatini > Sent: Montag, 28. April 2025 23:47 > To: softworkz . > Cc: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v7 02/13] fftools/textformat: Apply quality > improvements > > On date

[FFmpeg-devel] [PATCH v8 01/15] fftools/textformat: Formatting and whitespace changes

2025-04-28 Thread softworkz
From: softworkz Reviewed-by: Stefano Sabatini Signed-off-by: softworkz --- fftools/textformat/avtextformat.c | 92 +++--- fftools/textformat/avtextformat.h | 20 +++ fftools/textformat/avtextwriters.h | 11 ++-- fftools/textformat/tf_compact.c| 91

[FFmpeg-devel] [PATCH v8 02/15] fftools/textformat: Apply quality improvements

2025-04-28 Thread softworkz
From: softworkz Perform multiple improvements to increase code robustness. In particular: - favor unsigned counters for loops - add missing checks - avoid possible leaks - move variable declarations to inner scopes when feasible - provide explicit type-casting when needed Signed-off-by

[FFmpeg-devel] [PATCH v8 05/15] fftools/avtextformat: Re-use BPrint in loop

2025-04-28 Thread softworkz
From: softworkz Instead of initializing a new BPrint in each iteration of the loop, re-use the same BPrint struct and just clear it for each iteration. Signed-off-by: softworkz --- fftools/textformat/avtextformat.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions

[FFmpeg-devel] [PATCH v8 04/15] fftools/textformat: Rename name param to key for API consistency

2025-04-28 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/textformat/avtextformat.c | 14 +++--- fftools/textformat/avtextformat.h | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/fftools/textformat/avtextformat.c b/fftools/textformat/avtextformat.c index

[FFmpeg-devel] [PATCH v8 03/15] fftools/textformat: Remove unused print_rational() pointer from AVTextFormatter

2025-04-28 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/textformat/avtextformat.h | 1 - fftools/textformat/avtextwriters.h | 5 - 2 files changed, 6 deletions(-) diff --git a/fftools/textformat/avtextformat.h b/fftools/textformat/avtextformat.h index 86feb9d09d..c61dca159f 100644 --- a

[FFmpeg-devel] [PATCH v8 14/15] fftools/graphprint: Add execution graph printing

2025-04-28 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

[FFmpeg-devel] [PATCH v8 12/15] fftools/resources: Add resource manager files

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

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

2025-04-28 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_op

[FFmpeg-devel] [PATCH v8 11/15] avfilter/avfilter: Add avfilter_link_get_hw_frames_ctx()

2025-04-28 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 75d66f87f3..d0869561f3 100644 --- a/doc

[FFmpeg-devel] [PATCH v8 13/15] fftools/ffmpeg_mux: Make ms_from_ost() inline

2025-04-28 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/ffmpeg_mux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffmpeg_mux.h b/fftools/ffmpeg_mux.h index f41f2c18fa..4ca8ab73a4 100644 --- a/fftools/ffmpeg_mux.h +++ b/fftools/ffmpeg_mux.h @@ -123,7 +123,7

[FFmpeg-devel] [PATCH v8 07/15] fftools/textformat: Introduce common header and deduplicate code

2025-04-28 Thread softworkz
From: softworkz Also change writer_printf signature in AVTextWriter to use va_list, so that it can be called by the new function writer_printf() in tf_internal.h. Reviewed-by: Stefano Sabatini Signed-off-by: softworkz --- fftools/textformat/avtextwriters.h | 2 +- fftools/textformat

[FFmpeg-devel] [PATCH v8 10/15] fftools/ffmpeg_filter: Move some declaration to new header file

2025-04-28 Thread softworkz
From: softworkz to allow filtergraph printing to access the information. Signed-off-by: softworkz --- fftools/ffmpeg_filter.c | 190 +--- fftools/ffmpeg_filter.h | 234 2 files changed, 235 insertions(+), 189 deletions

[FFmpeg-devel] [PATCH v8 09/15] fftools/textformat: Add flags param to function avtext_print_integer()

2025-04-28 Thread softworkz
From: softworkz Make this function work analog to avtext_print_string() which already has a flags parameter. Signed-off-by: softworkz --- fftools/ffprobe.c | 2 +- fftools/textformat/avtextformat.c | 24 ++-- fftools/textformat/avtextformat.h | 2 +- 3

[FFmpeg-devel] [PATCH v8 06/15] fftools/textformat: Introduce AVTextFormatOptions for avtext_context_open()

2025-04-28 Thread softworkz
From: softworkz This allows future addition of options without changes to the signature of avtext_context_open(). Reviewed-by: Stefano Sabatini Signed-off-by: softworkz --- fftools/ffprobe.c | 13 + fftools/textformat/avtextformat.c | 21

[FFmpeg-devel] [PATCH v8 08/15] fftools/tf_internal: Use av_default_item_name

2025-04-28 Thread softworkz
From: softworkz Reviewed-by: Stefano Sabatini Signed-off-by: softworkz --- fftools/textformat/tf_internal.h | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/fftools/textformat/tf_internal.h b/fftools/textformat/tf_internal.h index 362a4cbc38..484886b7a7 100644 --- a

Re: [FFmpeg-devel] [PATCH v5 02/14] fftools/textformat: Apply quality improvements

2025-04-23 Thread softworkz .
> -Original Message- > From: Stefano Sabatini > Sent: Donnerstag, 24. April 2025 00:35 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Cc: softworkz > Subject: Re: [FFmpeg-devel] [PATCH v5 02/14] fftools/textformat: Apply > quality i

Re: [FFmpeg-devel] [PATCH v4 04/11] fftools/tf_internal: Use ac_default_item_name

2025-04-22 Thread softworkz .
> -Original Message- > From: Stefano Sabatini > Sent: Montag, 21. April 2025 19:31 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Cc: softworkz > Subject: Re: [FFmpeg-devel] [PATCH v4 04/11] fftools/tf_internal: Use > ac_default_item_

[FFmpeg-devel] [PATCH v5 01/14] fftools/textformat: Formatting and whitespace changes

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

[FFmpeg-devel] [PATCH v5 03/14] fftools/avtextformat: Re-use BPrint in loop

2025-04-22 Thread softworkz
From: softworkz Instead of initializing a new BPrint in each iteration of the loop, re-use the same BPrint struct and just clear it for each iteration. Signed-off-by: softworkz --- fftools/textformat/avtextformat.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions

<    1   2   3   4   5   6   7   8   9   >