[FFmpeg-devel] [PATCH 1/5] fftools/ffmpeg: split loop for parsing and validation of -stats_* specifiers

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
--- fftools/ffmpeg_mux_init.c | 40 ++- 1 file changed, 27 insertions(+), 13 deletions(-) diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c index 63a25a350f..6c473a8f09 100644 --- a/fftools/ffmpeg_mux_init.c +++ b/fftools/ffmpeg_mux_init.c @@ -

[FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
--- fftools/ffmpeg.h | 31 +-- fftools/ffmpeg_enc.c | 3 +- fftools/ffmpeg_mux_init.c | 152 +++- libavutil/parseutils.c| 176 ++ libavutil/parseutils.h| 102 ++ libavutil/version.h

[FFmpeg-devel] [PATCH 4/5] avfilter: Add fsync filter

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
pu --- Changelog| 1 + doc/filters.texi | 52 ++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_fsync.c | 376 +++ libavformat/version.h| 2 +- 6 files changed, 432 insertions(+), 1 delet

[FFmpeg-devel] [PATCH 3/5] reindent after last commit

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
--- fftools/ffmpeg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index cb4d90c7b2..f169801366 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -440,7 +440,7 @@ enum forced_keyframes_const { typedef struct EncStats { AVEncSt

[FFmpeg-devel] [PATCH 5/5] fate: Add fsync filter tests

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
--- tests/Makefile | 6 +++- tests/fate/filter-video.mak | 8 + tests/filtergraphs/fsync-down| 2 ++ tests/filtergraphs/fsync-up | 2 ++ tests/maps/fsync-down| 7 tests/maps/fsync-up | 57 + tests/re

Re: [FFmpeg-devel] [PATCH 4/5] avfilter: Add fsync filter

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
Am 11.12.23 um 16:07 schrieb Thilo Borgmann via ffmpeg-devel: pu --- Changelog| 1 + doc/filters.texi | 52 ++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_fsync.c | 376

Re: [FFmpeg-devel] [PATCH] avdevice/audiotoolbox: silence warning with new api

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
Am 11.12.23 um 16:28 schrieb 徐福隆 via ffmpeg-devel: Hi, Thilo: There is another patch that needs your review please. Thanks for pointing me to it. ---  libavdevice/audiotoolbox.m | 4  1 file changed, 4 insertions(+) LGTM & pushed. Thanks, Thilo

Re: [FFmpeg-devel] [PATCH] lavd/avfoundation: Use correct preprocessing directive

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
Am 11.12.23 um 18:29 schrieb Vittorio Giovara: Fixes compilation, introduced in e37b15e. src/libavdevice/avfoundation.m:799:10: error: invalid preprocessing directive Which compiler did complain about that? #elseif (TARGET_OS_OSX && __MAC_OS_X_VERSION_MAX_ALLOWED < 14) -Thilo

Re: [FFmpeg-devel] [PATCH] lavd/avfoundation: Use correct preprocessing directive

2023-12-11 Thread Thilo Borgmann via ffmpeg-devel
Am 11.12.23 um 18:29 schrieb Vittorio Giovara: Fixes compilation, introduced in e37b15e. src/libavdevice/avfoundation.m:799:10: error: invalid preprocessing directive #elseif (TARGET_OS_OSX && __MAC_OS_X_VERSION_MAX_ALLOWED < 14) Pushed. -Thilo __

Re: [FFmpeg-devel] [PATCH v7 3/7] avcodec/webp_parser: parse each frame into one packet

2023-12-12 Thread Thilo Borgmann via ffmpeg-devel
Am 08.12.23 um 03:02 schrieb Cosmin Stejerean via ffmpeg-devel: On Dec 7, 2023, at 9:42 AM, Andreas Rheinhardt wrote: According to https://developers.google.com/speed/webp/docs/riff_container#extended_file_format metadata chunks are stored after the image data; if you split the data into pa

Re: [FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-13 Thread Thilo Borgmann via ffmpeg-devel
Am 13.12.23 um 13:00 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-11 16:07:22) --- fftools/ffmpeg.h | 31 +-- fftools/ffmpeg_enc.c | 3 +- fftools/ffmpeg_mux_init.c | 152 +++- libavutil/parseutils.c| 176

Re: [FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-13 Thread Thilo Borgmann via ffmpeg-devel
Am 13.12.23 um 13:08 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 13:05:35) Am 13.12.23 um 13:00 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-11 16:07:22) --- fftools/ffmpeg.h | 31 +-- fftools/ffmpeg_enc.c | 3

Re: [FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-13 Thread Thilo Borgmann via ffmpeg-devel
Am 13.12.23 um 13:39 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 13:15:27) Am 13.12.23 um 13:08 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 13:05:35) Am 13.12.23 um 13:00 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg

Re: [FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-13 Thread Thilo Borgmann via ffmpeg-devel
Am 13.12.23 um 17:28 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 13:50:09) Am 13.12.23 um 13:39 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 13:15:27) Am 13.12.23 um 13:08 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg

Re: [FFmpeg-devel] [FFmpeg-cvslog] fftools/ffmpeg: convert to a threaded architecture

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
Am 14.12.23 um 00:16 schrieb Michael Niedermayer: On Tue, Dec 12, 2023 at 07:41:18AM +, Anton Khirnov wrote: ffmpeg | branch: master | Anton Khirnov | Tue Jul 18 16:37:52 2023 +0200| [d119ae2fd82a494d9430ff4d4fc262961a68c598] | committer: Anton Khirnov fftools/ffmpeg: convert to a thread

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_sched: actually initialize/destroy schedule_lock

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
Am 14.12.23 um 10:17 schrieb Anton Khirnov: --- fftools/ffmpeg_sched.c | 6 ++ 1 file changed, 6 insertions(+) Fixes --assert-level=2 for me. LGTM. -Thilo ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinf

Re: [FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
Am 14.12.23 um 06:23 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 19:17:04) Am 13.12.23 um 17:28 schrieb Anton Khirnov: It is bad practice to design library features around the needs and limitations of a single specific caller. The callers here would be the CLI

Re: [FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg: move parsing of -stats_* specifiers to lavu/parseutils

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
Am 14.12.23 um 18:51 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-14 11:34:11) Am 14.12.23 um 06:23 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-13 19:17:04) Am 13.12.23 um 17:28 schrieb Anton Khirnov: It is bad practice to design library

[FFmpeg-devel] [PATCH 0/2] avfilter: Add fsync filter

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
Synchronize video frames with an external mapping from a file. Follows up on the idea in https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2023-January/305986.html implemented as a filter. Not storing the frame map in a probably huge string but buffering piece-wise. Using a fixed format string. Th

[FFmpeg-devel] [PATCH 1/2] avfilter: Add fsync filter

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
--- Changelog| 1 + MAINTAINERS | 1 + doc/filters.texi | 33 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/version.h| 2 +- libavfilter/vf_fsync.c | 304 +++ 7 files chang

[FFmpeg-devel] [PATCH 2/2] fate: Add fsync filter tests

2023-12-14 Thread Thilo Borgmann via ffmpeg-devel
--- tests/Makefile | 6 +++- tests/fate/filter-video.mak | 6 tests/maps/fsync-down| 7 tests/maps/fsync-up | 57 + tests/ref/fate/filter-fsync-down | 12 +++ tests/ref/fate/filter-fsync-up | 62

Re: [FFmpeg-devel] [PATCH] avfoundation: Fix version checks

2023-12-15 Thread Thilo Borgmann via ffmpeg-devel
Am 15.12.23 um 11:11 schrieb Martin Storsjö: _VERSION_MAX_ALLOWED indicates what version is available in the SDK, while _VERSION_MIN_REQUIRED is the version we can assume is available, i.e. similar to what is set with e.g. -miphoneos-version-min on the command line. This fixes build errors like

Re: [FFmpeg-devel] [PATCH] avfoundation: Fix version checks

2023-12-15 Thread Thilo Borgmann via ffmpeg-devel
Am 15.12.23 um 12:32 schrieb Martin Storsjö via ffmpeg-devel: On Fri, 15 Dec 2023, Zhao Zhili wrote: On Dec 15, 2023, at 18:11, Martin Storsjö wrote: _VERSION_MAX_ALLOWED indicates what version is available in the SDK, while _VERSION_MIN_REQUIRED is the version we can assume is available, i

[FFmpeg-devel] [PATCH v8 1/5] avcodec/webp: remove unused definitions

2023-12-15 Thread Thilo Borgmann via ffmpeg-devel
--- libavcodec/webp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index 54b3fde6dc..4fd107aa0c 100644 --- a/libavcodec/webp.c +++ b/libavcodec/webp.c @@ -59,8 +59,6 @@ #define VP8X_FLAG_ALPHA 0x10 #define VP8X_FLAG_ICC

[FFmpeg-devel] [PATCH v8 0/5] webp: add support for animated WebP decoding

2023-12-15 Thread Thilo Borgmann via ffmpeg-devel
Still images fixed, includes FATE tests, VP8 decoder decoupled so there are no more data races, fixed more asserts, fixed ffprobe regression, removed unnecessary parser changes, put the whole animated sequence into one packet. Patch 3/5 is still there for making changes in lavc/webp reviewable b

[FFmpeg-devel] [PATCH v8 2/5] libavcodec/webp: add support for animated WebP decoding

2023-12-15 Thread Thilo Borgmann via ffmpeg-devel
From: Josef Zlomek Fixes: 4907 Adds support for decoding of animated WebP. The WebP decoder adds the animation related features according to the specs: https://developers.google.com/speed/webp/docs/riff_container#animation The frames of the animation may be smaller than the image canvas. Theref

[FFmpeg-devel] [PATCH v8 4/5] libavformat/webp: add WebP demuxer

2023-12-15 Thread Thilo Borgmann via ffmpeg-devel
From: Josef Zlomek Adds the demuxer of animated WebP files. It supports non-animated, animated, truncated, and concatenated files. Reading from a pipe (and other non-seekable inputs) is also supported. The WebP demuxer splits the input stream into packets containing one frame. It also marks the

[FFmpeg-devel] [PATCH v8 3/5] avcodec/webp: make init_canvas_frame static

2023-12-15 Thread Thilo Borgmann via ffmpeg-devel
--- libavcodec/webp.c | 142 +++--- 1 file changed, 70 insertions(+), 72 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index 4f989b8f0a..a2e6e199a7 100644 --- a/libavcodec/webp.c +++ b/libavcodec/webp.c @@ -1378,7 +1378,76 @@ static int vp

[FFmpeg-devel] [PATCH v8 5/5] fate: add test for animated WebP

2023-12-15 Thread Thilo Borgmann via ffmpeg-devel
--- tests/fate/image.mak | 3 +++ tests/ref/fate/webp-anim | 22 ++ 2 files changed, 25 insertions(+) create mode 100644 tests/ref/fate/webp-anim diff --git a/tests/fate/image.mak b/tests/fate/image.mak index 400199c28a..2e0d1e8e3f 100644 --- a/tests/fate/image.mak +++ b

Re: [FFmpeg-devel] [PATCH 1/2] avfilter: Add fsync filter

2023-12-16 Thread Thilo Borgmann via ffmpeg-devel
Am 15.12.23 um 15:17 schrieb Andreas Rheinhardt: Thilo Borgmann via ffmpeg-devel: --- Changelog| 1 + MAINTAINERS | 1 + doc/filters.texi | 33 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/version.h

[FFmpeg-devel] [PATCH v3 0/2] avfilter: Add fsync filter

2023-12-16 Thread Thilo Borgmann via ffmpeg-devel
Synchronize video frames with an external mapping from a file. Follows up on the idea in https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2023-January/305986.html implemented as a filter. Not storing the frame map in a probably huge string but buffering piece-wise. Using a fixed format string. Pa

[FFmpeg-devel] [PATCH v3 1/2] avfilter: Add fsync filter

2023-12-16 Thread Thilo Borgmann via ffmpeg-devel
--- Changelog| 1 + MAINTAINERS | 1 + configure| 2 + doc/filters.texi | 33 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/version.h| 2 +- libavfilter/vf_fsync.c | 286

[FFmpeg-devel] [PATCH v3 2/2] fate: Add fsync filter tests

2023-12-16 Thread Thilo Borgmann via ffmpeg-devel
--- tests/Makefile | 6 +++- tests/fate/filter-video.mak | 6 tests/maps/fsync-down| 7 tests/maps/fsync-up | 57 + tests/ref/fate/filter-fsync-down | 12 +++ tests/ref/fate/filter-fsync-up | 62

[FFmpeg-devel] [PATCH v11 1/8] avcodec/webp: remove unused definitions

2024-03-28 Thread Thilo Borgmann via ffmpeg-devel
--- libavcodec/webp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index 9308ea2b69..2301699e5a 100644 --- a/libavcodec/webp.c +++ b/libavcodec/webp.c @@ -59,8 +59,6 @@ #define VP8X_FLAG_ALPHA 0x10 #define VP8X_FLAG_ICC

[FFmpeg-devel] [PATCH v11 0/8] webp: add support for animated WebP decoding

2024-03-28 Thread Thilo Borgmann via ffmpeg-devel
VP8 decoder decoupled again The whole animated sequence goes into one packet The (currently public) bitstream filter splits animations up into non-conformant packets Now with XMP metadata support (as string, like MOV) Patch 5/8 is still there for making changes in lavc/webp reviewable but shall

[FFmpeg-devel] [PATCH v11 7/8] fate: add test for animated WebP

2024-03-28 Thread Thilo Borgmann via ffmpeg-devel
--- tests/fate/image.mak | 3 +++ tests/ref/fate/webp-anim | 22 ++ 2 files changed, 25 insertions(+) create mode 100644 tests/ref/fate/webp-anim diff --git a/tests/fate/image.mak b/tests/fate/image.mak index 7c0e0fec08..4620d65b3f 100644 --- a/tests/fate/image.mak +++ b

[FFmpeg-devel] [PATCH v11 2/8] avcodec/webp: separate VP8 decoding

2024-03-28 Thread Thilo Borgmann via ffmpeg-devel
--- libavcodec/webp.c | 50 +-- 1 file changed, 44 insertions(+), 6 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index 2301699e5a..d6af48585e 100644 --- a/libavcodec/webp.c +++ b/libavcodec/webp.c @@ -194,6 +194,7 @@ typedef struct We

[FFmpeg-devel] [PATCH v11 3/8] avcodec/bsf: Add awebp2webp bitstream filter

2024-03-28 Thread Thilo Borgmann via ffmpeg-devel
Splits a packet containing a webp animations into one non-compliant packet per frame of the animation. Skips RIFF and WEBP chunks for those packets except for the first. Copyies ICC, EXIF and XMP chunks first into each of the packets except for the first. --- configure | 1 +

[FFmpeg-devel] [PATCH v11 5/8] avcodec/webp: make init_canvas_frame static

2024-03-28 Thread Thilo Borgmann via ffmpeg-devel
--- libavcodec/webp.c | 142 +++--- 1 file changed, 70 insertions(+), 72 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index 293bb485de..832ede52fc 100644 --- a/libavcodec/webp.c +++ b/libavcodec/webp.c @@ -1379,7 +1379,76 @@ static int vp

[FFmpeg-devel] [PATCH v11 4/8] libavcodec/webp: add support for animated WebP

2024-03-28 Thread Thilo Borgmann via ffmpeg-devel
From: Josef Zlomek Fixes: 4907 Adds support for decoding of animated WebP. The WebP decoder adds the animation related features according to the specs: https://developers.google.com/speed/webp/docs/riff_container#animation The frames of the animation may be smaller than the image canvas. Theref

[FFmpeg-devel] [PATCH v11 8/8] avcodec/webp: export XMP metadata

2024-03-28 Thread Thilo Borgmann via ffmpeg-devel
--- libavcodec/webp.c | 42 -- 1 file changed, 36 insertions(+), 6 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index 832ede52fc..b9feaa5bf0 100644 --- a/libavcodec/webp.c +++ b/libavcodec/webp.c @@ -38,8 +38,8 @@ * @author Josef Zlomek

[FFmpeg-devel] [PATCH v11 6/8] libavformat/webp: add WebP demuxer

2024-03-28 Thread Thilo Borgmann via ffmpeg-devel
From: Josef Zlomek Adds the demuxer of animated WebP files. It supports non-animated, animated, truncated, and concatenated files. Reading from a pipe (and other non-seekable inputs) is also supported. The WebP demuxer splits the input stream into packets containing one frame. It also marks the

Re: [FFmpeg-devel] [PATCH v11 3/8] avcodec/bsf: Add awebp2webp bitstream filter

2024-03-29 Thread Thilo Borgmann via ffmpeg-devel
Am 28.03.24 um 19:11 schrieb Stefano Sabatini: On date Thursday 2024-03-28 15:08:53 +0100, ffmpeg-devel Mailing List wrote: Splits a packet containing a webp animations into one non-compliant packet per frame of the animation. Skips RIFF and WEBP chunks for those packets except for the first. Co

Re: [FFmpeg-devel] Sovereign Tech Fund

2024-04-12 Thread Thilo Borgmann via ffmpeg-devel
Hi all, We are offered to apply for a sponsorship of FFmpeg by the Sovereign Tech Fund (STF). Please read the following to get a better understanding what STF is about: (In short it is about maintenance and sustainability, not features) https://www.sovereigntechfund.de/programs/applications A

Re: [FFmpeg-devel] [PATCH] avdevice/avfoundation: fix macOS/iOS/tvOS SDK conditional checks

2024-04-17 Thread Thilo Borgmann via ffmpeg-devel
Hi, On 17.04.24 17:12, Marvin Scholz wrote: This fixes the checks to properly use runtime feature detection and check the SDK version (*_MAX_ALLOWED) instead of the targeted version for the relevant APIs. The target is still checked (*_MIN_REQUIRED) to avoid using deprecated methods when target

[FFmpeg-devel] [PATCH v12 0/8] [WIP] webp: add support for animated WebP decoding

2024-04-17 Thread Thilo Borgmann via ffmpeg-devel
s Now with XMP metadata support (as string, like MOV) Patch 5/8 is still there for making changes in lavc/webp reviewable but shall be stashed when pushing. -Thilo Josef Zlomek (2): libavcodec/webp: add support for animated WebP libavformat/webp: add WebP demuxer Thilo Borgmann via ffmpe

[FFmpeg-devel] [PATCH v12 1/8] avcodec/webp: remove unused definitions

2024-04-17 Thread Thilo Borgmann via ffmpeg-devel
From: Thilo Borgmann via ffmpeg-devel --- libavcodec/webp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index dbcc5e73eb..3c153d78d1 100644 --- a/libavcodec/webp.c +++ b/libavcodec/webp.c @@ -60,8 +60,6 @@ #define VP8X_FLAG_ALPHA

[FFmpeg-devel] [PATCH v12 2/8] avcodec/webp: separate VP8 decoding

2024-04-17 Thread Thilo Borgmann via ffmpeg-devel
From: Thilo Borgmann via ffmpeg-devel --- libavcodec/webp.c | 50 +-- 1 file changed, 44 insertions(+), 6 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index 3c153d78d1..3075321e86 100644 --- a/libavcodec/webp.c +++ b/libavcodec

[FFmpeg-devel] [PATCH v12 3/8] avcodec/bsf: Add awebp2webp bitstream filter

2024-04-17 Thread Thilo Borgmann via ffmpeg-devel
From: Thilo Borgmann via ffmpeg-devel Splits a packet containing a webp animations into one non-compliant packet per frame of the animation. Skips RIFF and WEBP chunks for those packets except for the first. Copyies ICC, EXIF and XMP chunks first into each of the packets except for the first

[FFmpeg-devel] [PATCH v12 4/8] libavcodec/webp: add support for animated WebP

2024-04-17 Thread Thilo Borgmann via ffmpeg-devel
From: Josef Zlomek Fixes: 4907 Adds support for decoding of animated WebP. The WebP decoder adds the animation related features according to the specs: https://developers.google.com/speed/webp/docs/riff_container#animation The frames of the animation may be smaller than the image canvas. Theref

[FFmpeg-devel] [PATCH v12 5/8] avcodec/webp: make init_canvas_frame static

2024-04-17 Thread Thilo Borgmann via ffmpeg-devel
From: Thilo Borgmann via ffmpeg-devel --- libavcodec/webp.c | 142 +++--- 1 file changed, 70 insertions(+), 72 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index f882c3e187..4a244c1b67 100644 --- a/libavcodec/webp.c +++ b/libavcodec

[FFmpeg-devel] [PATCH v12 6/8] libavformat/webp: add WebP demuxer

2024-04-17 Thread Thilo Borgmann via ffmpeg-devel
From: Josef Zlomek Adds the demuxer of animated WebP files. It supports non-animated, animated, truncated, and concatenated files. Reading from a pipe (and other non-seekable inputs) is also supported. The WebP demuxer splits the input stream into packets containing one frame. It also marks the

[FFmpeg-devel] [PATCH v12 7/8] fate: add test for animated WebP

2024-04-17 Thread Thilo Borgmann via ffmpeg-devel
From: Thilo Borgmann via ffmpeg-devel --- tests/fate/image.mak | 3 +++ tests/ref/fate/webp-anim | 22 ++ 2 files changed, 25 insertions(+) create mode 100644 tests/ref/fate/webp-anim diff --git a/tests/fate/image.mak b/tests/fate/image.mak index 753936ec20

[FFmpeg-devel] [PATCH v12 8/8] avcodec/webp: export XMP metadata

2024-04-17 Thread Thilo Borgmann via ffmpeg-devel
From: Thilo Borgmann via ffmpeg-devel --- libavcodec/webp.c | 42 -- 1 file changed, 36 insertions(+), 6 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index 4a244c1b67..35851ef3da 100644 --- a/libavcodec/webp.c +++ b/libavcodec/webp.c

Re: [FFmpeg-devel] [PATCH v11 4/8] libavcodec/webp: add support for animated WebP

2024-04-17 Thread Thilo Borgmann via ffmpeg-devel
On 17.04.24 19:30, James Zern via ffmpeg-devel wrote: On Thu, Mar 28, 2024 at 7:10 AM Thilo Borgmann via ffmpeg-devel wrote: From: Josef Zlomek Fixes: 4907 Adds support for decoding of animated WebP. The WebP decoder adds the animation related features according to the specs: https

Re: [FFmpeg-devel] [PATCH v12 3/8] avcodec/bsf: Add awebp2webp bitstream filter

2024-04-17 Thread Thilo Borgmann via ffmpeg-devel
On 17.04.24 21:19, Thilo Borgmann via ffmpeg-devel wrote: From: Thilo Borgmann via ffmpeg-devel Splits a packet containing a webp animations into one non-compliant packet per frame of the animation. Skips RIFF and WEBP chunks for those packets except for the first. Copyies ICC, EXIF and XMP

Re: [FFmpeg-devel] FFmpeg table at NAB

2024-04-17 Thread Thilo Borgmann via ffmpeg-devel
Hi, > Am 16.04.2024 um 16:21 schrieb Devin Heitmueller > : > > Hello all, > > I wasn't looking to start trouble, but I didn't see any discussion of > this on the mailing list so wanted to bring it to the developer > community's attention. > > I attended the NAB conference and went by the "ffm

Re: [FFmpeg-devel] [PATCH v12 0/8] [WIP] webp: add support for animated WebP decoding

2024-04-18 Thread Thilo Borgmann via ffmpeg-devel
Hi, On 17.04.24 00:52, James Zern via ffmpeg-devel wrote: On Wed, Apr 17, 2024 at 12:20 PM Thilo Borgmann via ffmpeg-devel wrote: From: Thilo Borgmann Marked WIP because we'd want to introduce private bsf's first; review welcome before that though VP8 decoder decoupled again

Re: [FFmpeg-devel] FFmpeg table at NAB

2024-04-21 Thread Thilo Borgmann via ffmpeg-devel
Hi, On 21.04.24 10:47, Rémi Denis-Courmont wrote: > Hi, > > I have been dragged privately into this issue so for the sake of transparency, I will just sum up my side here. > > > Le 17 avril 2024 07:21:18 GMT+08:00, Devin Heitmueller a écrit : >> Hello all, >> >> I wasn't looking to start tro

Re: [FFmpeg-devel] Fw: Your GSoC Org has 0 Contributors ranked - deadline is 1800 UTC April 24

2024-04-23 Thread Thilo Borgmann via ffmpeg-devel
Hi, adding people who "want to mentor" to CC thx On Wed, Apr 24, 2024 at 01:50:31AM +0200, Michael Niedermayer wrote: Hi all I just got the mail below. I assume the other admins are going to rank them before the deadline like they did last year. (but i can of course not assume that because t

Re: [FFmpeg-devel] FFmpeg table at NAB

2024-04-23 Thread Thilo Borgmann via ffmpeg-devel
:20 GMT+08:00, Thilo Borgmann via ffmpeg-devel a écrit : Hi, On 21.04.24 10:47, Rémi Denis-Courmont wrote: Hi, I have been dragged privately into this issue so for the sake of transparency, I will just sum up my side here. Le 17 avril 2024 07:21:18 GMT+08:00, Devin Heitmueller a écrit

Re: [FFmpeg-devel] GSoC 2024

2024-05-01 Thread Thilo Borgmann via ffmpeg-devel
Hi, the application period for GSoC 2024 begins on Jan 22nd. Everyone interested in mentoring a project in 2024, please add your idea(s) to [1]. we've been granted 7 slots this year! All mentors received a mail already, work period begins May 27th. There are pending patches from the student

[FFmpeg-devel] [PATCH] web: add a news entry about STF sponsorship

2024-05-14 Thread Thilo Borgmann via ffmpeg-devel
--- This text including the link is also meant to be published via our socal media. src/index | 8 1 file changed, 8 insertions(+) diff --git a/src/index b/src/index index d035ffa..83cc9bf 100644 --- a/src/index +++ b/src/index @@ -35,6 +35,14 @@ News + May 13th, 2024, Sover

Re: [FFmpeg-devel] [PATCH] web: add a news entry about STF sponsorship

2024-05-14 Thread Thilo Borgmann via ffmpeg-devel
Am 14.05.24 um 19:14 schrieb J. Dekker: Thilo Borgmann via ffmpeg-devel writes: --- This text including the link is also meant to be published via our socal media. src/index | 8 1 file changed, 8 insertions(+) diff --git a/src/index b/src/index index d035ffa..83cc9bf 100644

Re: [FFmpeg-devel] [PATCH] web: add a news entry about STF sponsorship

2024-05-15 Thread Thilo Borgmann via ffmpeg-devel
On 15.05.24 18:39, Rémi Denis-Courmont wrote: Le tiistaina 14. toukokuuta 2024, 20.12.31 EEST Thilo Borgmann via ffmpeg-devel a écrit : --- This text including the link is also meant to be published via our socal media. src/index | 8 1 file changed, 8 insertions(+) diff --git a

Re: [FFmpeg-devel] [PATCH] web: add a news entry about STF sponsorship

2024-05-16 Thread Thilo Borgmann via ffmpeg-devel
On 15.05.24 20:51, Thilo Borgmann via ffmpeg-devel wrote: On 15.05.24 18:39, Rémi Denis-Courmont wrote: Le tiistaina 14. toukokuuta 2024, 20.12.31 EEST Thilo Borgmann via ffmpeg-devel a écrit : --- This text including the link is also meant to be published via our socal media.   src

Re: [FFmpeg-devel] GSoC 2024

2024-02-22 Thread Thilo Borgmann via ffmpeg-devel
Am 02.01.24 um 22:47 schrieb Thilo Borgmann via ffmpeg-devel: Hi, the application period for GSoC 2024 begins on Jan 22nd. Everyone interested in mentoring a project in 2024, please add your idea(s) to [1]. [1] https://trac.ffmpeg.org/wiki/SponsoringPrograms/GSoC/2024 we've been sel

Re: [FFmpeg-devel] GSoC 2024

2024-02-22 Thread Thilo Borgmann via ffmpeg-devel
Am 22.02.24 um 18:49 schrieb Matthias Dressel: On 22.02.24 18:38, Thilo Borgmann via ffmpeg-devel wrote: Am 02.01.24 um 22:47 schrieb Thilo Borgmann via ffmpeg-devel: Hi, the application period for GSoC 2024 begins on Jan 22nd. Everyone interested in mentoring a project in 2024, please add

Re: [FFmpeg-devel] [PATCH v10 2/5] libavcodec/webp: add support for animated WebP

2024-02-26 Thread Thilo Borgmann via ffmpeg-devel
Am 19.02.24 um 19:01 schrieb Andreas Rheinhardt: James Almer: On 2/19/2024 1:50 PM, Andreas Rheinhardt wrote: a) Use the receive frame callback for this decoder. This will necessitate changes to pthread_frame.c (which currently can't handle receive_frame decoders) There's a patch for this tha

Re: [FFmpeg-devel] [PATCH v10 2/5] libavcodec/webp: add support for animated WebP

2024-02-26 Thread Thilo Borgmann via ffmpeg-devel
Hi, Am 19.02.24 um 17:50 schrieb Andreas Rheinhardt: Thilo Borgmann via ffmpeg-devel: From: Josef Zlomek Fixes: 4907 Adds support for decoding of animated WebP. The WebP decoder adds the animation related features according to the specs: https://developers.google.com/speed/webp/docs

Re: [FFmpeg-devel] [RFC] Anual Committee Report

2023-09-28 Thread Thilo Borgmann via ffmpeg-devel
Hi, I think the 2 commmittteees we have should produce an anual report so that the developers who vote for members know the perfomance and what the last comite did like # of cases, # of times people where contacted, % where committi intervention produced a noticable improvment ... not sure abo

[FFmpeg-devel] FFmpeg at IBC

2024-07-14 Thread Thilo Borgmann via ffmpeg-devel
Hi, FFmpeg will have a booth at the next IBC from September 13th to 16th 2024 in Amsterdam [1]! We received a corporate sponsorship for the booth, so there are no costs for the FFmpeg project to it (and no obligations, of course). FFmpeg developers are welcome to join in and help man the bo

Re: [FFmpeg-devel] [PATCH v3 1/2] avfilter: Add fsync filter

2023-12-18 Thread Thilo Borgmann via ffmpeg-devel
Am 17.12.23 um 23:51 schrieb Michael Niedermayer: On Sat, Dec 16, 2023 at 09:13:21AM +0100, Thilo Borgmann via ffmpeg-devel wrote: [...] +// get number of bytes from cur to '\0' +static int buf_get_zero(FsyncContext *ctx) maybe doxygen syntax would make sense for comments

Re: [FFmpeg-devel] [PATCH v3 1/2] avfilter: Add fsync filter

2023-12-18 Thread Thilo Borgmann via ffmpeg-devel
Am 18.12.23 um 02:04 schrieb Stefano Sabatini: On date Saturday 2023-12-16 09:13:21 +0100, ffmpeg-devel Mailing List wrote: --- Changelog| 1 + MAINTAINERS | 1 + configure| 2 + doc/filters.texi | 33 + libavfilter/Makefile

Re: [FFmpeg-devel] [PATCH v8 0/5] webp: add support for animated WebP decoding

2023-12-21 Thread Thilo Borgmann via ffmpeg-devel
Am 15.12.23 um 20:59 schrieb Thilo Borgmann via ffmpeg-devel: Still images fixed, includes FATE tests, VP8 decoder decoupled so there are no more data races, fixed more asserts, fixed ffprobe regression, removed unnecessary parser changes, put the whole animated sequence into one packet

Re: [FFmpeg-devel] [PATCH v8 2/5] libavcodec/webp: add support for animated WebP decoding

2023-12-31 Thread Thilo Borgmann via ffmpeg-devel
Am 21.12.23 um 23:18 schrieb Andreas Rheinhardt: Thilo Borgmann via ffmpeg-devel: From: Josef Zlomek Fixes: 4907 Adds support for decoding of animated WebP. The WebP decoder adds the animation related features according to the specs: https://developers.google.com/speed/webp/docs

[FFmpeg-devel] [PATCH v9 0/6] webp: add support for animated WebP decoding

2023-12-31 Thread Thilo Borgmann via ffmpeg-devel
Still images fixed, includes FATE tests, VP8 decoder decoupled so there are no more data races, fixed more asserts, fixed ffprobe regression, removed unnecessary parser changes, put the whole animated sequence into one packet. Patch 4/6 is still there for making changes in lavc/webp reviewable b

[FFmpeg-devel] [PATCH v9 1/6] avcodec/webp: remove unused definitions

2023-12-31 Thread Thilo Borgmann via ffmpeg-devel
--- libavcodec/webp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index 54b3fde6dc..4fd107aa0c 100644 --- a/libavcodec/webp.c +++ b/libavcodec/webp.c @@ -59,8 +59,6 @@ #define VP8X_FLAG_ALPHA 0x10 #define VP8X_FLAG_ICC

[FFmpeg-devel] [PATCH v9 3/6] libavcodec/webp: add support for animated WebP

2023-12-31 Thread Thilo Borgmann via ffmpeg-devel
From: Josef Zlomek Fixes: 4907 Adds support for decoding of animated WebP. The WebP decoder adds the animation related features according to the specs: https://developers.google.com/speed/webp/docs/riff_container#animation The frames of the animation may be smaller than the image canvas. Theref

[FFmpeg-devel] [PATCH v9 4/6] avcodec/webp: make init_canvas_frame static

2023-12-31 Thread Thilo Borgmann via ffmpeg-devel
--- libavcodec/webp.c | 142 +++--- 1 file changed, 70 insertions(+), 72 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index 4f989b8f0a..a2e6e199a7 100644 --- a/libavcodec/webp.c +++ b/libavcodec/webp.c @@ -1378,7 +1378,76 @@ static int vp

[FFmpeg-devel] [PATCH v9 2/6] avcodec/webp: separate VP8 decoding

2023-12-31 Thread Thilo Borgmann via ffmpeg-devel
--- libavcodec/webp.c | 50 +-- 1 file changed, 44 insertions(+), 6 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index 4fd107aa0c..58a20b73da 100644 --- a/libavcodec/webp.c +++ b/libavcodec/webp.c @@ -194,6 +194,7 @@ typedef struct We

[FFmpeg-devel] [PATCH v9 6/6] fate: add test for animated WebP

2023-12-31 Thread Thilo Borgmann via ffmpeg-devel
--- tests/fate/image.mak | 3 +++ tests/ref/fate/webp-anim | 22 ++ 2 files changed, 25 insertions(+) create mode 100644 tests/ref/fate/webp-anim diff --git a/tests/fate/image.mak b/tests/fate/image.mak index 400199c28a..2e0d1e8e3f 100644 --- a/tests/fate/image.mak +++ b

[FFmpeg-devel] [PATCH v9 5/6] libavformat/webp: add WebP demuxer

2023-12-31 Thread Thilo Borgmann via ffmpeg-devel
From: Josef Zlomek Adds the demuxer of animated WebP files. It supports non-animated, animated, truncated, and concatenated files. Reading from a pipe (and other non-seekable inputs) is also supported. The WebP demuxer splits the input stream into packets containing one frame. It also marks the

Re: [FFmpeg-devel] [PATCH v3 1/2] avfilter: Add fsync filter

2023-12-31 Thread Thilo Borgmann via ffmpeg-devel
Am 18.12.23 um 12:02 schrieb Thilo Borgmann via ffmpeg-devel: Am 17.12.23 um 23:51 schrieb Michael Niedermayer: On Sat, Dec 16, 2023 at 09:13:21AM +0100, Thilo Borgmann via ffmpeg-devel wrote: [...] +// get number of bytes from cur to '\0' +static int buf_get_zero(FsyncContext *ct

Re: [FFmpeg-devel] [PATCH v9 3/6] libavcodec/webp: add support for animated WebP

2023-12-31 Thread Thilo Borgmann via ffmpeg-devel
Am 31.12.23 um 13:56 schrieb Tomas Härdin: +for (int y = 0; y < height; y++) { +const uint8_t *src1 = src1_data[0] + y * src1_linesize[0]; +const uint8_t *src2 = src2_data[0] + (y + pos_y) * src2_linesize[0] + pos_x * src2_step[0]; +uint8_t *dest = dest_data[0]

Re: [FFmpeg-devel] [PATCH v9 5/6] libavformat/webp: add WebP demuxer

2023-12-31 Thread Thilo Borgmann via ffmpeg-devel
Am 31.12.23 um 13:59 schrieb Tomas Härdin: sön 2023-12-31 klockan 13:30 +0100 skrev Thilo Borgmann via ffmpeg- devel: From: Josef Zlomek Adds the demuxer of animated WebP files. It supports non-animated, animated, truncated, and concatenated files. Reading from a pipe (and other non-seekable

[FFmpeg-devel] GSoC 2024

2024-01-02 Thread Thilo Borgmann via ffmpeg-devel
Hi, the application period for GSoC 2024 begins on Jan 22nd. Everyone interested in mentoring a project in 2024, please add your idea(s) to [1]. The application deadline is February 6th, I will aim for sending an application Jan 1st. Thanks, Thilo [1] https://trac.ffmpeg.org/wiki/Sponsoring

Re: [FFmpeg-devel] GSoC 2024

2024-01-02 Thread Thilo Borgmann via ffmpeg-devel
Am 02.01.24 um 22:47 schrieb Thilo Borgmann via ffmpeg-devel: Hi, the application period for GSoC 2024 begins on Jan 22nd. Everyone interested in mentoring a project in 2024, please add your idea(s) to [1]. The application deadline is February 6th, I will aim for sending an application Jan

Re: [FFmpeg-devel] [PATCH v3] GSoC 2023: Add Audio Overlay Filter

2024-01-03 Thread Thilo Borgmann via ffmpeg-devel
Am 01.12.23 um 12:37 schrieb Paul B Mahol: On Fri, Dec 1, 2023 at 12:24 PM Gyan Doshi wrote: On 2023-09-25 11:35 pm, Paul B Mahol wrote: On 9/11/23, Harshit Karwal wrote: 1. Replaced ring buffer ADT with AVAudioFifo from libavutil/audio_fifo.h 2. Fixed potential freeing of uninitialised p

Re: [FFmpeg-devel] [PATCH v3] GSoC 2023: Add Audio Overlay Filter

2024-01-03 Thread Thilo Borgmann via ffmpeg-devel
Am 03.01.24 um 11:10 schrieb Gyan Doshi: On 2024-01-03 02:28 pm, Thilo Borgmann via ffmpeg-devel wrote: Am 01.12.23 um 12:37 schrieb Paul B Mahol: On Fri, Dec 1, 2023 at 12:24 PM Gyan Doshi wrote: On 2023-09-25 11:35 pm, Paul B Mahol wrote: On 9/11/23, Harshit Karwal wrote: 1

Re: [FFmpeg-devel] [PATCH v3] GSoC 2023: Add Audio Overlay Filter

2024-01-03 Thread Thilo Borgmann via ffmpeg-devel
Am 03.01.24 um 11:45 schrieb Gyan Doshi: On 2024-01-03 03:46 pm, Thilo Borgmann via ffmpeg-devel wrote: Am 03.01.24 um 11:10 schrieb Gyan Doshi: On 2024-01-03 02:28 pm, Thilo Borgmann via ffmpeg-devel wrote: Am 01.12.23 um 12:37 schrieb Paul B Mahol: On Fri, Dec 1, 2023 at 12:24 PM Gyan

Re: [FFmpeg-devel] [PATCH v3 1/2] avfilter: Add fsync filter

2024-01-05 Thread Thilo Borgmann via ffmpeg-devel
Am 31.12.23 um 13:31 schrieb Thilo Borgmann via ffmpeg-devel: Am 18.12.23 um 12:02 schrieb Thilo Borgmann via ffmpeg-devel: Am 17.12.23 um 23:51 schrieb Michael Niedermayer: On Sat, Dec 16, 2023 at 09:13:21AM +0100, Thilo Borgmann via ffmpeg-devel wrote: [...] +// get number of bytes from

Re: [FFmpeg-devel] [PATCH v3 1/2] avfilter: Add fsync filter

2024-01-07 Thread Thilo Borgmann via ffmpeg-devel
Am 06.01.24 um 18:39 schrieb James Almer: On 12/16/2023 5:13 AM, Thilo Borgmann via ffmpeg-devel wrote: ---   Changelog    |   1 +   MAINTAINERS  |   1 +   configure    |   2 +   doc/filters.texi |  33 +   libavfilter/Makefile |   1

Re: [FFmpeg-devel] [PATCH] Revert "doc/faq: replace non-breaking spaces (0xA0) with normal space"

2024-01-07 Thread Thilo Borgmann via ffmpeg-devel
Am 07.01.24 um 13:12 schrieb Stefano Sabatini: On date Saturday 2024-01-06 15:49:56 -0600, Marth64 wrote: This reverts commit 6442d1ddd62160e96c686c30648b6111e3e0c264. A valid point was made, that the non-breaking space will cause this text to render better by ensuring the unit never seperates

Re: [FFmpeg-devel] [PATCH v9 2/6] avcodec/webp: separate VP8 decoding

2024-01-25 Thread Thilo Borgmann via ffmpeg-devel
Am 25.01.24 um 11:04 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-31 13:30:14) --- libavcodec/webp.c | 50 +-- 1 file changed, 44 insertions(+), 6 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index

Re: [FFmpeg-devel] [PATCH v9 2/6] avcodec/webp: separate VP8 decoding

2024-01-30 Thread Thilo Borgmann via ffmpeg-devel
Am 28.01.24 um 11:29 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2024-01-25 16:39:19) Am 25.01.24 um 11:04 schrieb Anton Khirnov: Quoting Thilo Borgmann via ffmpeg-devel (2023-12-31 13:30:14) --- libavcodec/webp.c | 50

Re: [FFmpeg-devel] [PATCH 2/2] fate/video: add DXV3 HQ tests

2024-01-30 Thread Thilo Borgmann via ffmpeg-devel
Am 30.01.24 um 21:53 schrieb Connor Worley: In that case, it is probably worth replacing the existing "normal quality" samples as they're even larger. dxv3-nqwa.mov does not adequately exercise the code fixed in https://patchwork.ffmpeg.org/project/ffmpeg/patch/20240130062626.98273-1-connorbwor..

Re: [FFmpeg-devel] GSoC 2024

2024-01-30 Thread Thilo Borgmann via ffmpeg-devel
Am 02.01.24 um 23:14 schrieb Thilo Borgmann via ffmpeg-devel: Am 02.01.24 um 22:47 schrieb Thilo Borgmann via ffmpeg-devel: Hi, the application period for GSoC 2024 begins on Jan 22nd. Everyone interested in mentoring a project in 2024, please add your idea(s) to [1]. The application

Re: [FFmpeg-devel] [PATCH 2/2] fate/video: add DXV3 HQ tests

2024-02-01 Thread Thilo Borgmann via ffmpeg-devel
Am 30.01.24 um 22:57 schrieb Connor Worley: OK, attached are some significantly smaller HQ samples that produce the same coverage. 5b11c393dda223b5dd198ad2f2576fe2 fate-suite/dxv/dxv3-hqna.mov 3af30eaba2b6ec68a0f5b2c136f4dab6 fate-suite/dxv/dxv3-hqwa.mov 5b11c393dda223b5dd198ad2f2576fe2 dow

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/vp8: Enforce key-frame only for WebP

2024-02-04 Thread Thilo Borgmann via ffmpeg-devel
On 03.02.24 14:57, Andreas Rheinhardt wrote: Andreas Rheinhardt: VP8-in-WebP only uses key frame encoding (see [1]), yet this is currently not enforced. This commit does so in order to make output reproducible with frame-threading as the VP8 decoder's update_thread_context is not called at al

<    1   2   3   >