Re: [FFmpeg-devel] [POLL] [VOTE] code.ffmpeg.org

2025-07-15 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Martin Storsjö > Sent: Dienstag, 15. Juli 2025 20:09 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [POLL] [VOTE] code.ffmpeg.org > [..] > like a reasonable way to me. But the

Re: [FFmpeg-devel] [POLL] [VOTE] code.ffmpeg.org

2025-07-14 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Sonntag, 13. Juli 2025 13:44 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: [FFmpeg-devel] [POLL] [VOTE] code.ffmpeg.org > > Hi all > > Do people want Forgejo or Gitlab

[FFmpeg-devel] [PATCH v2 3/3] fftools/textformat: Cleanup unneeded includes

2025-07-04 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/textformat/avtextformat.c | 2 -- fftools/textformat/avtextwriters.h | 1 - fftools/textformat/tf_compact.c| 2 -- fftools/textformat/tf_mermaid.c| 2 -- fftools/textformat/tw_avio.c | 3 --- fftools/textformat/tw_buffer.c

[FFmpeg-devel] [PATCH v2 2/3] fftools/textformat: Remove redundant casts

2025-07-04 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/graph/graphprint.c| 14 +++--- fftools/resources/resman.c| 6 +++--- fftools/textformat/avtextformat.c | 8 fftools/textformat/tf_compact.c | 2 +- fftools/textformat/tf_default.c | 2 +- 5 files

[FFmpeg-devel] [PATCH v2 1/3] fftools/textformat: Rename variables wctx to tctx

2025-07-04 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/textformat/tf_compact.c | 74 +-- fftools/textformat/tf_default.c | 46 +++ fftools/textformat/tf_flat.c| 38 +++--- fftools/textformat/tf_ini.c | 36 +++--- fftools/textformat/tf_json.c| 84

Re: [FFmpeg-devel] [RFC] Introducing policies regarding "AI" contributions

2025-07-04 Thread softworkz .
for the human submitter to > assume > responsibility. IMO this is THE one point that would make a reasonable policy which is valid independently from any "AI" progress now and in the future: When someone submits code, we can require that a s

[FFmpeg-devel] [PATCH 3/3] fftools/textformat: Cleanup unneeded includes

2025-07-02 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/textformat/avtextformat.c | 2 -- fftools/textformat/avtextwriters.h | 1 - fftools/textformat/tf_compact.c| 2 -- fftools/textformat/tf_mermaid.c| 2 -- fftools/textformat/tw_avio.c | 3 --- fftools/textformat/tw_buffer.c

[FFmpeg-devel] [PATCH 2/3] fftools/textformat: Remove redundant casts

2025-07-02 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/graph/graphprint.c| 16 fftools/resources/resman.c| 6 +++--- fftools/textformat/avtextformat.c | 8 fftools/textformat/tf_compact.c | 2 +- fftools/textformat/tf_default.c | 2 +- 5 files

[FFmpeg-devel] [PATCH 1/3] fftools/textformat: Rename variables wctx to tctx

2025-07-02 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/textformat/tf_compact.c | 74 +-- fftools/textformat/tf_default.c | 46 +++ fftools/textformat/tf_flat.c| 38 +++--- fftools/textformat/tf_ini.c | 36 +++--- fftools/textformat/tf_json.c| 84

Re: [FFmpeg-devel] [PATCH] fftools/textformat: remove unreachable code in tf_mermaid

2025-07-02 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of Marvin > Scholz > Sent: Donnerstag, 26. Juni 2025 23:33 > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH] fftools/textformat: remove unreachable > code in tf_mermaid > > Integer writing is impossible here as the first

[FFmpeg-devel] [PATCH] doc/developer: Fix typos

2025-06-25 Thread softworkz
From: softworkz Signed-off-by: softworkz --- doc/developer: Fix typos Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-103%2Fsoftworkz%2Fsubmit_typos-v1 Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-103/softworkz/submit_typos-v1 Pull

Re: [FFmpeg-devel] [PATCH] Revert "Add FUNDING.json"

2025-06-24 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of compn > Sent: Dienstag, 24. Juni 2025 08:00 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] Revert "Add FUNDING.json" > > On Mon, 23 Jun 2025 21:20:56 +0100, Derek Buitenhuis wrote: > > > This was pushed with out

[FFmpeg-devel] [PATCH v8 3/3] fftools/resources: Update .gitignore

2025-06-23 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/resources/.gitignore | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fftools/resources/.gitignore b/fftools/resources/.gitignore index bda2c59a1c..cc742817b5 100644 --- a/fftools/resources/.gitignore +++ b/fftools

[FFmpeg-devel] [PATCH v8 2/3] ffbuild/commonmak: Consolidate pattern rules for compression

2025-06-23 Thread softworkz
From: softworkz This commit simplifies and consolidates all the rules around ptx and resource file compression. Signed-off-by: softworkz --- ffbuild/common.mak | 43 +-- 1 file changed, 17 insertions(+), 26 deletions(-) diff --git a/ffbuild/common.mak

[FFmpeg-devel] [PATCH v8 1/3] fftools/resources: Fix double-build by disabling .d file generation

2025-06-23 Thread softworkz
From: softworkz Signed-off-by: softworkz --- ffbuild/common.mak | 6 ++ fftools/Makefile | 1 + fftools/resources/Makefile | 12 +--- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/ffbuild/common.mak b/ffbuild/common.mak index ddf48923ea

[FFmpeg-devel] [PATCH v7 3/3] fftools/resources: Update .gitignore

2025-06-23 Thread softworkz
From: softworkz Signed-off-by: softworkz --- fftools/resources/.gitignore | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fftools/resources/.gitignore b/fftools/resources/.gitignore index bda2c59a1c..cc742817b5 100644 --- a/fftools/resources/.gitignore +++ b/fftools

[FFmpeg-devel] [PATCH v7 1/3] fftools/resources: Fix double-build by disabling .d file generation

2025-06-23 Thread softworkz
From: softworkz Signed-off-by: softworkz --- ffbuild/common.mak | 6 ++ fftools/Makefile | 1 + fftools/resources/Makefile | 12 +--- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/ffbuild/common.mak b/ffbuild/common.mak index ddf48923ea

[FFmpeg-devel] [PATCH v7 2/3] ffbuild/commonmak: Consolidate pattern rules for compression

2025-06-23 Thread softworkz
From: softworkz This commit simplifies and consolidates all the rules around ptx and resource file compression. Signed-off-by: softworkz --- ffbuild/common.mak | 43 +-- 1 file changed, 17 insertions(+), 26 deletions(-) diff --git a/ffbuild/common.mak

Re: [FFmpeg-devel] [PATCH 05/10] doc/muxers: Add documentation for segment_limit option

2025-06-23 Thread softworkz .
> > > On Fri, 13 Jun 2025, softworkz . wrote: > > [...] > > >>> (Please note, that the default is 0, which means that nothing is > >>> dropped and there's no change in behavior when it's 0). > >>> > >>> Probably it

[FFmpeg-devel] [PATCH v3] avformat/hlsenc: Fix path handling for Windows

2025-06-22 Thread softworkz
From: softworkz ..to allow playlist paths like: c:\hls\video1\master.m3u8 When base_output_dirname was determined, only '/' was searched for as path separator. get_relative_url() on the other hand searched for both forward and backward slash regardless of OS. Fix these issues by f

Re: [FFmpeg-devel] [PATCH 1/2] fftools/textformat: fix print 64 bit integers

2025-06-22 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Nicolas Gaullier > Sent: Freitag, 20. Juni 2025 13:08 > To: ffmpeg-devel@ffmpeg.org > Cc: Nicolas Gaullier > Subject: [FFmpeg-devel] [PATCH 1/2] fftools/textformat: fix print > 64 bit integers > > Regression in ffprobe since tex

Re: [FFmpeg-devel] [PATCH 3/3] avformat/hlsenc: Fix path handling for Windows

2025-06-22 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of Marton > Balint > Sent: Samstag, 14. Juni 2025 17:35 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH 3/3] avformat/hlsenc: Fix path > handling for Windows > > On

Re: [FFmpeg-devel] [PATCH 2/2] fftools/textformat: renamings in print_unit_int for consistency (cosmetic)

2025-06-22 Thread softworkz .
> *tctx, const char *key, int64_t va > > int avtext_print_string(AVTextFormatContext *tctx, const char > *key, const char *val, int flags); > > -void avtext_print_unit_int(AVTextFormatContext *tctx, const char > *key, int64_t value, const char *unit); > +void

Re: [FFmpeg-devel] [PATCH 1/2] fftools/textformat: fix print 64 bit integers

2025-06-22 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of Marvin > Scholz > Sent: Freitag, 20. Juni 2025 13:30 > To: FFmpeg development discussions and patches > Cc: Nicolas Gaullier > Subject: Re: [FFmpeg-devel] [PATCH 1/2] fftools/textformat: fix print 64 > bit integers > > > > On 2

Re: [FFmpeg-devel] graph.{html,css} embed failure on Windows build

2025-06-17 Thread softworkz .
> -Original Message- > From: Kacper Michajlow > Sent: Tuesday, June 17, 2025 6:36 PM > To: softworkz . > Cc: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: graph.{html,css} embed failure on Windows build [..] > > > >

Re: [FFmpeg-devel] [PATCH v6 0/2] ffbuild/commonmak: Fix rebuild check with implicit rule chains

2025-06-17 Thread softworkz .
> -Original Message- > From: ffmpegagent > Sent: Tuesday, June 17, 2025 6:02 PM > To: ffmpeg-devel@ffmpeg.org > Cc: softworkz > Subject: [PATCH v6 0/2] ffbuild/commonmak: Fix rebuild check with implicit > rule chains [..] > V4 > == > > * Always keep

[FFmpeg-devel] [PATCH v6 1/2] ffbuild/commonmak: Fix rebuild check with implicit rule chains

2025-06-17 Thread softworkz
From: softworkz When there's a chain of implicit rules, make treats files generated inside that chain as intermediate files. Those intermediate files are removed after completion of make. When make is run again, it normally determines the need for a rebuild by comparing the timestamps o

Re: [FFmpeg-devel] graph.{html,css} embed failure on Windows build

2025-06-17 Thread softworkz .
> -Original Message- > From: Kacper Michajlow > Sent: Tuesday, June 17, 2025 6:00 PM > To: softworkz . > Cc: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: graph.{html,css} embed failure on Windows build > > On Tue, 17 J

[FFmpeg-devel] [PATCH v6 2/2] ffbuild/commonmak: Consolidate pattern rules for compression

2025-06-17 Thread softworkz
From: softworkz This commit simplifies and consolidates all the rules around ptx and resource file compression. Signed-off-by: softworkz --- ffbuild/common.mak | 43 +-- 1 file changed, 17 insertions(+), 26 deletions(-) diff --git a/ffbuild/common.mak

Re: [FFmpeg-devel] graph.{html,css} embed failure on Windows build

2025-06-17 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > softworkz . > Sent: Tuesday, June 17, 2025 4:13 PM > To: Kacper Michajlow > Cc: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] graph.{html,css} embed

Re: [FFmpeg-devel] [PATCH WIP 01/10] ffbuild/bin2c: Use zlib directly instead of gzip

2025-06-17 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > James Almer > Sent: Tuesday, June 17, 2025 4:41 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH WIP 01/10] ffbuild/bin2c: Use zlib > directly instead of gzip > > On 6/16/2025

Re: [FFmpeg-devel] [PATCH WIP 01/10] ffbuild/bin2c: Use zlib directly instead of gzip

2025-06-17 Thread softworkz .
directly instead of gzip > > softworkz . (HE12025-06-17): > > It's not about replacing zlib in general. The scope is having our own > > compression code for ptx and resource compression only. > > This is what I understood. But obviously you didn't: > If you c

Re: [FFmpeg-devel] graph.{html,css} embed failure on Windows build

2025-06-17 Thread softworkz .
> -Original Message- > From: Kacper Michajlow > Sent: Tuesday, June 17, 2025 4:06 PM > To: softworkz . > Cc: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: graph.{html,css} embed failure on Windows build > > On Tue, 17 Jun 2025

Re: [FFmpeg-devel] [PATCH 0/3] tests/fate: Improvements for running FATE on Windows/MSYS2

2025-06-17 Thread softworkz .
> -Original Message- > From: Kacper Michajlow > Sent: Tuesday, June 17, 2025 3:18 PM > To: softworkz . > Cc: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 0/3] tests/fate: Improvements for running > FATE on W

Re: [FFmpeg-devel] [PATCH WIP 01/10] ffbuild/bin2c: Use zlib directly instead of gzip

2025-06-17 Thread softworkz .
directly instead of gzip > > softworkz . (HE12025-06-16): > > But why that? If we include the decompression code (that's why I've > > been searching for the most compact implementations available with > > compatible licenses), then we won't have any zlib dependency a

Re: [FFmpeg-devel] [PATCH 0/3] tests/fate: Improvements for running FATE on Windows/MSYS2

2025-06-16 Thread softworkz .
> -Original Message- > From: Kacper Michajlow > Sent: Tuesday, June 17, 2025 3:00 AM > To: softworkz . > Cc: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 0/3] tests/fate: Improvements for running > FATE on W

Re: [FFmpeg-devel] graph.{html,css} embed failure on Windows build

2025-06-16 Thread softworkz .
> -Original Message- > From: Kacper Michajlow > Sent: Sunday, June 15, 2025 12:49 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Cc: softwo...@hotmail.com > Subject: graph.{html,css} embed failure on Windows build > > Hello, > > Since the recent addition of re

Re: [FFmpeg-devel] [PATCH 0/3] tests/fate: Improvements for running FATE on Windows/MSYS2

2025-06-16 Thread softworkz .
> -Original Message- > From: Kacper Michajlow > Sent: Tuesday, June 17, 2025 12:44 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Cc: softworkz > Subject: Re: [FFmpeg-devel] [PATCH 0/3] tests/fate: Improvements for > running FATE on W

Re: [FFmpeg-devel] [PATCH WIP 01/10] ffbuild/bin2c: Use zlib directly instead of gzip

2025-06-16 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Monday, June 16, 2025 9:24 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH WIP 01/10] ffbuild/bin2c: Use zlib > directly instead of gzip > > softwork

Re: [FFmpeg-devel] [PATCH WIP 01/10] ffbuild/bin2c: Use zlib directly instead of gzip

2025-06-16 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Monday, June 16, 2025 8:52 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH WIP 01/10] ffbuild/bin2c: Use zlib > directly instead of gzip > > softworkz .:

Re: [FFmpeg-devel] graph.{html,css} embed failure on Windows build

2025-06-14 Thread softworkz .
From: ffmpeg-devel on behalf of softworkz . Sent: Sunday, June 15, 2025 3:20 AM To: Kacper Michajlow; FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] graph.{html,css} embed failure on Windows build

Re: [FFmpeg-devel] graph.{html,css} embed failure on Windows build

2025-06-14 Thread softworkz .
From: Kacper Michajlow Sent: Sunday, June 15, 2025 12:48 AM To: FFmpeg development discussions and patches Cc: softwo...@hotmail.com Subject: graph.{html,css} embed failure on Windows build Hello, Since the recent addition of resman.c and embedding of

[FFmpeg-devel] [PATCH v2 6/6] avformat/segment: Indent and whitespace fixes

2025-06-13 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavformat/segment.c | 48 +-- 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/libavformat/segment.c b/libavformat/segment.c index ec084483d4..57ea54b00a 100644 --- a/libavformat/segment.c

[FFmpeg-devel] [PATCH v2 5/6] avformat/segment: Fix typo

2025-06-13 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavformat/segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/segment.c b/libavformat/segment.c index daff385c2c..ec084483d4 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -20,7 +20,7

[FFmpeg-devel] [PATCH v2 4/6] avformat/segment: Don't allow negative segment duration

2025-06-13 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavformat/segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/segment.c b/libavformat/segment.c index 1e99acdddb..daff385c2c 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -1090,7 +1090,7

[FFmpeg-devel] [PATCH v2 3/6] avformat/segment: Remove non-negative constraint from segment_time_delta

2025-06-13 Thread softworkz
From: softworkz Use case is to keep early content out of the first segment when not starting from zero. Signed-off-by: softworkz --- libavformat/segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/segment.c b/libavformat/segment.c index e8b1582e7d

[FFmpeg-devel] [PATCH v2 2/6] avformat/segment: Add segment_limit option

2025-06-13 Thread softworkz
From: softworkz Example use case: Existing segments 0-30 and 70-99, 31-69 need to be created. This option allows to stop precisely after 69. Otherwise it would start overwriting segment 70 before stopping via 'q' or break signal. Signed-off-by: softworkz --- doc/muxers.texi

[FFmpeg-devel] [PATCH v2 1/6] avformat/segment: Add segment_write_temp option

2025-06-13 Thread softworkz
From: softworkz Allows to write segments as temp files (.tmp) which are renamed on completion. Signed-off-by: softworkz --- doc/muxers.texi | 5 + libavformat/segment.c | 29 ++--- 2 files changed, 31 insertions(+), 3 deletions(-) diff --git a/doc

Re: [FFmpeg-devel] [PATCH 3/3] avformat/hlsenc: Fix path handling for Windows

2025-06-13 Thread softworkz .
indows > > > > On Fri, 13 Jun 2025, softworkz wrote: > > > From: softworkz > > > > Can you give an example where the path handling is wrong and where > this > patch fixes it? Is there a trac ticket? > &

[FFmpeg-devel] [PATCH v2] avformat/hlsenc: Fix path handling for Windows

2025-06-13 Thread softworkz
From: softworkz Signed-off-by: softworkz --- avformat/hlsenc: Some HLS improvements Includes only a single patch now: * Fix path handling on Windows Versions V2 == * Fix path handling for Windows; * Keep using

Re: [FFmpeg-devel] [PATCH 03/10] avformat/segment: Log more detailed information about written segments

2025-06-13 Thread softworkz .
nformation about written segments > > > > On Fri, 13 Jun 2025, softworkz wrote: > > > From: softworkz > > > > Also moves point of log writing to after rename of temp files > > and changes log level to INFO. The completion of a segment is > > imp

Re: [FFmpeg-devel] [PATCH 3/3] avformat/hlsenc: Fix path handling for Windows

2025-06-13 Thread softworkz .
indows > > > > On Fri, 13 Jun 2025, softworkz wrote: > > > From: softworkz > > > > Can you give an example where the path handling is wrong and where > this > patch fixes it? c:\hls\video1\master.m3u8 > Is there a trac ticket? Go

Re: [FFmpeg-devel] [PATCH 1/3] avformat/hlsenc: Log information about segments written

2025-06-13 Thread softworkz .
n about segments written > > > > On Fri, 13 Jun 2025, softworkz wrote: > > > From: softworkz > > > > Signed-off-by: softworkz > > --- > > libavformat/hlsenc.c | 6 ++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/libavf

Re: [FFmpeg-devel] [PATCH 05/10] doc/muxers: Add documentation for segment_limit option

2025-06-13 Thread softworkz .
for segment_limit option > > > > On Fri, 13 Jun 2025, softworkz . wrote: > > > > >> -Original Message- > >> From: ffmpeg-devel On Behalf > Of > >> Marton Balint > >> Sent: Freitag, 13. Juni 2025 22:26 > >> To: FFmpeg developmen

Re: [FFmpeg-devel] [PATCH 01/10] avformat/segment: Add segment_write_temp option

2025-06-13 Thread softworkz .
emp option > > > > On Fri, 13 Jun 2025, softworkz . wrote: > > > Hi Marton, > > > > > >> -Original Message- > >> From: ffmpeg-devel On Behalf > Of > >> Marton Balint > >> Sent: Freitag, 13. Juni 2025 22:38 > >

Re: [FFmpeg-devel] [PATCH 01/10] avformat/segment: Add segment_write_temp option

2025-06-13 Thread softworkz .
egment_write_temp option > > > > On Fri, 13 Jun 2025, softworkz wrote: > > > From: softworkz > > > > Allows to write segments as temp files (.tmp) which > > are renamed on completion. > > > > Signed-off-by: softworkz > > --- > > liba

Re: [FFmpeg-devel] [PATCH 05/10] doc/muxers: Add documentation for segment_limit option

2025-06-13 Thread softworkz .
for segment_limit option > > > > On Fri, 13 Jun 2025, softworkz wrote: > > > From: softworkz > > > > Signed-off-by: softworkz > > --- > > doc/muxers.texi | 7 +++ > > 1 file changed, 7 insertions(+) > > > > diff --git a/doc/muxers.t

[FFmpeg-devel] [PATCH 3/3] avformat/hlsenc: Fix path handling for Windows

2025-06-13 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavformat/hlsenc.c | 43 --- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index f81385d0b4..ba1e74e999 100644 --- a/libavformat/hlsenc.c +++ b

[FFmpeg-devel] [PATCH 2/3] avformat/hlsenc: Log InitFileComplete message

2025-06-13 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavformat/hlsenc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index a3e523a5df..f81385d0b4 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2467,6 +2467,9 @@ static int

[FFmpeg-devel] [PATCH 1/3] avformat/hlsenc: Log information about segments written

2025-06-13 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavformat/hlsenc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index a93d35ab75..a3e523a5df 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2703,6 +2703,12 @@ static int

Re: [FFmpeg-devel] [PATCH 03/10] avformat/segment: Log more detailed information about written segments

2025-06-13 Thread softworkz .
s > > On 6/13/2025 6:54 AM, softworkz wrote: > > av_log(s, AV_LOG_INFO, "SegmentComplete=%s:%d Index=%d > Start=%f End=%f Duration=%f offset_pts=%s start_pts=%s Frames=%d > filename=%s\n", > > Should be VERBOSE, not INFO. > > - Derek > _

[FFmpeg-devel] [PATCH 05/10] doc/muxers: Add documentation for segment_limit option

2025-06-12 Thread softworkz
From: softworkz Signed-off-by: softworkz --- doc/muxers.texi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 6d5c17b4cc..1cca8da1fb 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -3510,6 +3510,13 @@ packet written. Defaults to @code{0

[FFmpeg-devel] [PATCH 10/10] avformat/segment: Indent and whitespace fixes

2025-06-12 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavformat/segment.c | 48 +-- 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/libavformat/segment.c b/libavformat/segment.c index 3cd9e313f4..8e1e4a9c0c 100644 --- a/libavformat/segment.c

[FFmpeg-devel] [PATCH 06/10] avformat/segment: Fix invalid codecpar extradata_size after copying

2025-06-12 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavformat/segment.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/segment.c b/libavformat/segment.c index 15196b6970..70ff01b353 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -905,6 +905,7 @@ static int

Re: [FFmpeg-devel] [PATCH 06/10] avformat/segment: Fix invalid codecpar extradata_size after copying

2025-06-12 Thread softworkz .
> -Original Message- > From: softworkz > Sent: Freitag, 13. Juni 2025 07:54 > To: ffmpeg-devel@ffmpeg.org > Cc: softworkz ; softworkz > > Subject: [PATCH 06/10] avformat/segment: Fix invalid codecpar > extradata_size after copying > > From: softworkz

[FFmpeg-devel] [PATCH 03/10] avformat/segment: Log more detailed information about written segments

2025-06-12 Thread softworkz
From: softworkz Also moves point of log writing to after rename of temp files and changes log level to INFO. The completion of a segment is important enough to justify logging at INFO level. Signed-off-by: softworkz --- libavformat/segment.c | 10 -- 1 file changed, 8 insertions(+), 2

[FFmpeg-devel] [PATCH 09/10] avformat/segment: Fix typo

2025-06-12 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavformat/segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/segment.c b/libavformat/segment.c index c2b09b08aa..3cd9e313f4 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -20,7 +20,7

[FFmpeg-devel] [PATCH 08/10] avformat/segment: Don't allow negative segment duration

2025-06-12 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavformat/segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/segment.c b/libavformat/segment.c index 83b7ff269b..c2b09b08aa 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -1098,7 +1098,7

[FFmpeg-devel] [PATCH 07/10] avformat/segment: Remove non-negative constraint from segment_time_delta

2025-06-12 Thread softworkz
From: softworkz Use case is to keep early content out of the first segment when not starting from zero. Signed-off-by: softworkz --- libavformat/segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/segment.c b/libavformat/segment.c index 70ff01b353

[FFmpeg-devel] [PATCH 04/10] avformat/segment: Add segment_limit option

2025-06-12 Thread softworkz
From: softworkz Example use case: Existing segments 0-30 and 70-99, 31-69 need to be created. This option allows to stop precisely after 69. Otherwise it would start overwriting segment 70 before stopping via 'q' or break signal. Signed-off-by: softworkz --- libavformat/segm

[FFmpeg-devel] [PATCH 02/10] doc/muxers: Add documentation for segment_write_temp option

2025-06-12 Thread softworkz
From: softworkz Signed-off-by: softworkz --- doc/muxers.texi | 5 + 1 file changed, 5 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 30c95c3d34..6d5c17b4cc 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -3505,6 +3505,11 @@ argument must be a time duration

[FFmpeg-devel] [PATCH 01/10] avformat/segment: Add segment_write_temp option

2025-06-12 Thread softworkz
From: softworkz Allows to write segments as temp files (.tmp) which are renamed on completion. Signed-off-by: softworkz --- libavformat/segment.c | 30 +++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/libavformat/segment.c b/libavformat/segment.c

[FFmpeg-devel] [RFC] Code Style Questions

2025-06-12 Thread softworkz .
Hi, I have some questions regarding code style. 1. White space == Do we prefer this (float)(*times)[i] / 100, (float)(*times)[I - 1] / 100); or this (float)(*times)[i]/100, (float)(*times)[i-1]/100); 2. Multiline Ternary Expressions

Re: [FFmpeg-devel] [PATCH 3/3] tools/ffmpeg-sg: Include show-graph wrapper script in build output

2025-06-12 Thread softworkz .
wrapper script in build output > > softworkz . (HE12025-06-12): > > "better" would be worse, so that's not gonna happen. > > Then your patch is not going to happen. > > > The way how the feature is meant to work is laid out clearly: > > If you canno

Re: [FFmpeg-devel] [PATCH 3/3] tools/ffmpeg-sg: Include show-graph wrapper script in build output

2025-06-12 Thread softworkz .
wrapper script in build output > > softworkz . (HE12025-06-11): > > On important platforms like Windows, there is no "install". > People are > > taking/copying the build output. If it's not part of the build > output, > > it won't arrive at any user

Re: [FFmpeg-devel] [PATCH 1/4] fftools/textformat: narrow variable scopes

2025-06-12 Thread softworkz .
pes > > > > On 12 Jun 2025, at 18:10, softworkz . wrote: > > >> -Original Message- > >> From: ffmpeg-devel On Behalf > Of > >> Marvin Scholz > >> Sent: Donnerstag, 12. Juni 2025 13:25 > >> To: FFmpeg development discussions

Re: [FFmpeg-devel] [PATCH 3/4] fftools/textformat: infer type in mermaid_print_value

2025-06-12 Thread softworkz .
e in mermaid_print_value > > > > On 12 Jun 2025, at 4:19, softworkz . wrote: > > > Hi Marvin, > > > >> -Original Message- > >> From: ffmpeg-devel On Behalf > Of > >> Marvin Scholz > >> Sent: Mittwoch, 11. Juni 2025 21:57 > >

Re: [FFmpeg-devel] [PATCH 1/4] fftools/textformat: narrow variable scopes

2025-06-12 Thread softworkz .
pes > > > > On 12 Jun 2025, at 4:26, softworkz . wrote: > > > Hi Marvin, > > > >> -Original Message- > >> From: ffmpeg-devel On Behalf > Of > >> Marvin Scholz > >> Sent: Mittwoch, 11. Juni 2025 22:42 > >&

Re: [FFmpeg-devel] [PATCH 4/4] fftools/textformat: remove leftover comments in mermaid_print_value

2025-06-12 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Marvin Scholz > Sent: Mittwoch, 11. Juni 2025 21:57 > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH 4/4] fftools/textformat: remove > leftover comments in mermaid_print_value > > Remove some leftover commented code

Re: [FFmpeg-devel] [PATCH 3/4] fftools/textformat: do not return early

2025-06-11 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Marvin Scholz > Sent: Mittwoch, 11. Juni 2025 22:42 > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH 3/4] fftools/textformat: do not > return early > > This would make the goto dead code and also would not properly

Re: [FFmpeg-devel] [PATCH 2/4] fftools/textformat: remove noop free

2025-06-11 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Marvin Scholz > Sent: Mittwoch, 11. Juni 2025 22:42 > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH 2/4] fftools/textformat: remove noop > free > > The tctx->hash was freed already right before. > --- > fftools/te

Re: [FFmpeg-devel] [PATCH 1/4] fftools/textformat: narrow variable scopes

2025-06-11 Thread softworkz .
Hi Marvin, > -Original Message- > From: ffmpeg-devel On Behalf Of > Marvin Scholz > Sent: Mittwoch, 11. Juni 2025 22:42 > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH 1/4] fftools/textformat: narrow > variable scopes > > --- > fftools/textformat/avtextformat.c | 15 +

Re: [FFmpeg-devel] [PATCH 3/4] fftools/textformat: infer type in mermaid_print_value

2025-06-11 Thread softworkz .
Hi Marvin, > -Original Message- > From: ffmpeg-devel On Behalf Of > Marvin Scholz > Sent: Mittwoch, 11. Juni 2025 21:57 > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH 3/4] fftools/textformat: infer type in > mermaid_print_value > > Instead of the caller having to indicate

Re: [FFmpeg-devel] [PATCH 1/4] fftools/textformat: fix writing integers for mermaid

2025-06-11 Thread softworkz .
Hi Marvin, > -Original Message- > From: ffmpeg-devel On Behalf Of > Marvin Scholz > Sent: Mittwoch, 11. Juni 2025 21:57 > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH 1/4] fftools/textformat: fix writing > integers for mermaid > > With the previous logic, the integer writ

Re: [FFmpeg-devel] [PATCH 2/4] fftools/textformat: exit early in mermaid_print_value

2025-06-11 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Marvin Scholz > Sent: Mittwoch, 11. Juni 2025 21:57 > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH 2/4] fftools/textformat: exit early in > mermaid_print_value > > Doesn't change the logic, instead of exiting in e

Re: [FFmpeg-devel] [PATCH 3/3] tools/ffmpeg-sg: Include show-graph wrapper script in build output

2025-06-11 Thread softworkz .
> On Wed, Jun 11, 2025 at 9:58 PM softworkz . > wrote: > > > > > > > > > -Original Message- > > > From: ffmpeg-devel On Behalf Of > > > Marton Balint > > > Sent: Mittwoch, 11. Juni 2025 21:18 > > > To: FFmpeg developmen

Re: [FFmpeg-devel] [PATCH 3/3] tools/ffmpeg-sg: Include show-graph wrapper script in build output

2025-06-11 Thread softworkz .
> On Wed, Jun 11, 2025 at 9:58 PM softworkz . > wrote: > > > > > > > > > -Original Message- > > > From: ffmpeg-devel On Behalf Of > > > Marton Balint > > > Sent: Mittwoch, 11. Juni 2025 21:18 > > > To: FFmpeg developmen

Re: [FFmpeg-devel] [PATCH 3/4] fftools/textformat: infer type in mermaid_print_value

2025-06-11 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Marvin Scholz > Sent: Mittwoch, 11. Juni 2025 21:57 > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH 3/4] fftools/textformat: infer type in > mermaid_print_value > > Instead of the caller having to indicate if it is

Re: [FFmpeg-devel] [PATCH 3/3] tools/ffmpeg-sg: Include show-graph wrapper script in build output

2025-06-11 Thread softworkz .
wrapper script in build output > > > > On Mon, 9 Jun 2025, softworkz wrote: > > > From: softworkz > > > > Signed-off-by: softworkz > > --- > > .gitignore | 1 + > > fftools/Makefile | 14 -- > > 2 files changed, 13 ins

Re: [FFmpeg-devel] [PATCH WIP 01/10] ffbuild/bin2c: Use zlib directly instead of gzip

2025-06-10 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Dienstag, 3. Juni 2025 16:34 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH WIP 01/10] ffbuild/bin2c: Use zlib > directly instead of gzip > Hi Andreas, thinking about the direction

Re: [FFmpeg-devel] [PATCH 0/3] tools/ffmpeg-sg: Add show-graph wrapper scripts (aka killer feature)

2025-06-10 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of > softworkz . > Sent: Dienstag, 10. Juni 2025 15:32 > To: Kieran Kunhya ; FFmpeg development > discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH 0/3] tools/ffmpeg-sg: Add show- > graph wra

Re: [FFmpeg-devel] [PATCH 0/3] tools/ffmpeg-sg: Add show-graph wrapper scripts (aka killer feature)

2025-06-10 Thread softworkz .
> -Original Message- > From: Kieran Kunhya > Sent: Dienstag, 10. Juni 2025 00:49 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Cc: softworkz > Subject: Re: [FFmpeg-devel] [PATCH 0/3] tools/ffmpeg-sg: Add show- > graph wrapper scripts (aka

[FFmpeg-devel] [PATCH 1/3] tools/ffmpeg-sg: Add show-graph wrapper script for Linux

2025-06-09 Thread softworkz
From: softworkz Signed-off-by: softworkz --- tools/ffmpeg-sg | 249 1 file changed, 249 insertions(+) create mode 100755 tools/ffmpeg-sg diff --git a/tools/ffmpeg-sg b/tools/ffmpeg-sg new file mode 100755 index 00..c8c298f8e0 --- /dev

[FFmpeg-devel] [PATCH 3/3] tools/ffmpeg-sg: Include show-graph wrapper script in build output

2025-06-09 Thread softworkz
From: softworkz Signed-off-by: softworkz --- .gitignore | 1 + fftools/Makefile | 14 -- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 59c89da5e0..989c702b6c 100644 --- a/.gitignore +++ b/.gitignore @@ -32,6 +32,7 @@ /.config

[FFmpeg-devel] [PATCH 2/3] tools/ffmpeg-sg: Add show-graph wrapper script for Windows

2025-06-09 Thread softworkz
From: softworkz Signed-off-by: softworkz --- tools/ffmpeg-sg.cmd | 73 + 1 file changed, 73 insertions(+) create mode 100644 tools/ffmpeg-sg.cmd diff --git a/tools/ffmpeg-sg.cmd b/tools/ffmpeg-sg.cmd new file mode 100644 index 00

Re: [FFmpeg-devel] [RFC] Subtitle Filtering Ramp-Up

2025-06-07 Thread softworkz .
ring Ramp-Up > > On Sat, Jun 7, 2025 at 5:20 PM softworkz . > wrote: > > > > > > It's MythBusters Day! > > = > > > > > > Today: Busting the Lies of Nicolas George > > Can

Re: [FFmpeg-devel] [RFC] Subtitle Filtering Ramp-Up

2025-06-07 Thread softworkz .
_ocr] > textsubs > [overlaytextsubs] > video What's specific to those examples is that in both cases, (closed captions and OCR for bitmap subs), the text events DO NOT come all at once, but continuously, which is the nature of those cases and contradicts the false claim that NG tried

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

2025-06-06 Thread softworkz .
From: Kieran Kunhya Sent: Samstag, 7. Juni 2025 01:24 To: FFmpeg development discussions and patches Cc: softworkz Subject: Re: [FFmpeg-devel] [PATCH v11 0/3] avutil/log: Add log flag to control printing of memory addresses #define LIBAVUTIL_VERSION_MAJOR 60 --#define

[FFmpeg-devel] [PATCH v11 2/3] fftools: add mem log flag for printing memory addresses

2025-06-06 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 v11 3/3] doc/fftools-common-opts: document mem log flag

2025-06-06 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

  1   2   3   4   5   6   7   8   9   10   >