Re: [FFmpeg-devel] [PATCH v3] avformat/hlsenc: Respect `append_list` flag in subtitle

2024-10-13 Thread Jonathan Baecker
Am 04.10.24 um 12:06 schrieb Steven Liu: Jonathan Baecker 于2024年10月1日周二 03:51写道: Apply Stevens suggestion. Original description: Ensure that when the `-hls_flags append_list` option is set, that *.vtt files in stream_vtt.m3u8 are correctly updated. This fixes https://trac.ffmpeg.org/ticket

Re: [FFmpeg-devel] [PATCH v3] avformat/hlsenc: Respect `omit_endlist` flag in subtitle playlists

2024-10-13 Thread Jonathan Baecker
Am 04.10.24 um 12:06 schrieb Steven Liu: Jonathan Baecker 于2024年10月1日周二 07:56写道: This modification applies Steven's suggestion. Original description was: Ensure that when the `-hls_flags omit_endlist` option is set, the `#EXT-X-ENDLIST` tag is also omitted from the `stream_vtt.m3u8` sub

Re: [FFmpeg-devel] [PATCH] libavformat/hlsplaylist: add subtitle_varname for naming subtitle streams

2024-10-13 Thread Jonathan Baecker
Am 04.10.24 um 12:09 schrieb Steven Liu: Jonathan Baecker 于2024年9月29日周日 05:56写道: If 'sname:*' is set in the var_stream_map variable, use it as the NAME attribute for subtitles. This improves the naming of subtitle streams in HTML players, providing clearer and more descriptive labels

[FFmpeg-devel] [PATCH v3] avformat/hlsenc: Respect `append_list` flag in subtitle

2024-09-30 Thread Jonathan Baecker
Apply Stevens suggestion. Original description: Ensure that when the `-hls_flags append_list` option is set, that *.vtt files in stream_vtt.m3u8 are correctly updated. This fixes https://trac.ffmpeg.org/ticket/11208 --- libavformat/hlsenc.c | 30 ++ 1 file changed, 30

[FFmpeg-devel] [PATCH v3] avformat/hlsenc: Respect `omit_endlist` flag in subtitle playlists

2024-09-30 Thread Jonathan Baecker
This modification applies Steven's suggestion. Original description was: Ensure that when the `-hls_flags omit_endlist` option is set, the `#EXT-X-ENDLIST` tag is also omitted from the `stream_vtt.m3u8` subtitle playlist. This maintains consistency with the behavior in other playlists when `omit_e

[FFmpeg-devel] [PATCH] libavformat/hlsplaylist: add subtitle_varname for naming subtitle streams

2024-09-28 Thread Jonathan Baecker
If 'sname:*' is set in the var_stream_map variable, use it as the NAME attribute for subtitles. This improves the naming of subtitle streams in HTML players, providing clearer and more descriptive labels for users. --- doc/muxers.texi | 5 +++-- libavformat/hlsenc.c | 7 ++- lib

[FFmpeg-devel] [PATCH v2] avformat/hlsenc: Respect `append_list` flag in subtitle playlists

2024-09-28 Thread Jonathan Baecker
Ensure that when the `-hls_flags append_list` option is set, that *.vtt files in stream_vtt.m3u8 are correctly updated. This fixes https://trac.ffmpeg.org/ticket/11208 Is a bit of an ugly fix, let me know what you think. --- libavformat/hlsenc.c | 37 + 1 file

[FFmpeg-devel] [PATCH v2] avformat/hlsenc: Respect `omit_endlist` flag in subtitle playlists

2024-09-28 Thread Jonathan Baecker
Ensure that when the `-hls_flags omit_endlist` option is set, the `#EXT-X-ENDLIST` tag is also omitted from the `stream_vtt.m3u8` subtitle playlist. This maintains consistency with the behavior in other playlists when `omit_endlist` is specified. --- libavformat/hlsenc.c | 2 +- 1 file changed, 1

[FFmpeg-devel] [PATCH] Respect `append_list` flag in subtitle playlists

2024-09-26 Thread Jonathan Baecker
Ensure that when the `-hls_flags append_list` option is set, that *.vtt files in stream_vtt.m3u8 are correctly updated. This fixes https://trac.ffmpeg.org/ticket/11208 This is a bit of an ugly fix, let me know what you think. --- libavformat/hlsenc.c | 37 +

[FFmpeg-devel] [PATCH] Respect `omit_endlist` flag in subtitle playlists

2024-09-26 Thread Jonathan Baecker
Ensure that when the `-hls_flags omit_endlist` option is set, the `#EXT-X-ENDLIST` tag is also omitted from the `stream_vtt.m3u8` subtitle playlist. This maintains consistency with the behavior in other playlists when `omit_endlist` is specified. --- libavformat/hlsenc.c | 2 +- 1 file changed,

[FFmpeg-devel] [PATCH] avformat/hlsenc: Fix missing EXT-X-DISCONTINUITY tag in subtitle streams

2024-09-26 Thread Jonathan Baecker
The EXT-X-DISCONTINUITY tag was not being added to subtitle streams, causing synchronization issues. This patch ensures that the tag is applied consistently across video and subtitle streams. --- libavformat/hlsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat

[FFmpeg-devel] [PATCH] avformat/hlsplaylist: set stream name according to var_stream_map varname

2024-09-26 Thread Jonathan Baecker
From: jb-alvarado If name:* is set in var_stream_map variable, take that as NAME= variable. This helps gives better stream names in html players. --- libavformat/hlsenc.c | 2 +- libavformat/hlsplaylist.c | 9 +++-- libavformat/hlsplaylist.h | 2 +- 3 files changed, 9 insertions(+), 4

[FFmpeg-devel] [Patch v2] drawtext: ignore last newline

2019-06-11 Thread Jonathan Baecker
This is a new version from my last patch. As Gyan suggested it is now optional to skip/trim the last line break. From 8d31aab97ceaaec4947e1628e2ff1391dd77d4b2 Mon Sep 17 00:00:00 2001 From: Jonathan Baecker Date: Tue, 11 Jun 2019 14:33:50 +0200 Subject: [PATCH] trim last empty line

Re: [FFmpeg-devel] [PATCH] drawtext: ignore last newline

2019-06-10 Thread Jonathan Baecker
Am 10.06.2019 um 19:14 schrieb Gyan: On 10-06-2019 09:24 PM, Jonathan Baecker wrote: I created this issue on the bugtracker: https://trac.ffmpeg.org/ticket/7948 Here is now a patch for it. drawtext should ignore the very last newline character in text files, because many editor add

[FFmpeg-devel] [PATCH] drawtext: ignore last newline

2019-06-10 Thread Jonathan Baecker
I created this issue on the bugtracker: https://trac.ffmpeg.org/ticket/7948 Here is now a patch for it. drawtext should ignore the very last newline character in text files, because many editor add automatically a newline at the end. But when the filter draws a box behind the text, the box be

Re: [FFmpeg-devel] [PATCH v3] libavfilter/vf_blackdetect.c

2018-01-04 Thread Jonathan Baecker
Hello, after my last update, I got not any response. Is there still something wrong with the patch? Regards Jonathan ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH v3] libavfilter/vf_blackdetect.c

2017-12-10 Thread Jonathan Baecker
Here the cleanup version from the patch. From b6b6e4ab885f9b35a6696492286e504a4b3d6d92 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Mon, 4 Dec 2017 16:05:48 +0100 Subject: [PATCH] unify blackdetect with af_silencedetect. Is more useful for monitoring streams. --- libavfilter/vf_blackdetect.c

Re: [FFmpeg-devel] [PATCH v2] libavfilter/vf_blackdetect.c

2017-12-10 Thread Jonathan Baecker
Am 10.12.2017 um 13:48 schrieb Carl Eugen Hoyos: 2017-12-09 19:28 GMT+01:00 Jonathan Baecker : -static void check_black_end(AVFilterContext *ctx) +static void check_black(AVFilterContext *ctx) Why do you rename this function? I rename them because before the function only got called, if the

[FFmpeg-devel] [PATCH v2] libavfilter/vf_blackdetect.c

2017-12-09 Thread Jonathan Baecker
Hello! I wanted to apologize for the mess! Last Monday I already sended this patch, but the first was not correct, and on top the email format was not right to. So I hope now everything is ok. Here is again the description: This patch unify vf_blackdetect with af_silencedetect. Now the loggi