Re: [FFmpeg-devel] [PATCH] avformat/id3v2: Support null-separated multi-value properties

2025-03-12 Thread Soft Works
> -Original Message- > From: softworkz > Sent: Sonntag, 2. März 2025 00:57 > To: ffmpeg-devel@ffmpeg.org > Cc: softworkz ; softworkz > Subject: [PATCH] avformat/id3v2: Support null-separated multi-value > properties > > From: softworkz > > Fixes Trac ticket https://trac.ffmpeg.org/ti

[FFmpeg-devel] [PATCH] avformat/dashenc: add hevc codec attributes parse

2025-03-12 Thread Jack Lau via ffmpeg-devel
fix ticket: 11316 add set_hevc_codec_str function refer to hlsenc.c but do some necessary changes Signed-off-by: Jack Lau --- libavformat/dashenc.c | 81 +++ 1 file changed, 81 insertions(+) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index

Re: [FFmpeg-devel] [PATCH] ffbuild: read library linker objects from a file

2025-03-12 Thread Martin Storsjö
On Wed, 12 Mar 2025, Gyan Doshi wrote: On 2025-03-12 01:29 pm, Martin Storsjö wrote: On Wed, 12 Mar 2025, Gyan Doshi wrote: The linker command can exceed the maximum argument limit on MinGW, especially for libavcodec. The objects list is now stored in a file and passed to the linker. --- ffb

Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/webvttdec: Add webvtt extension and MIME type

2025-03-12 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Dienstag, 25. Februar 2025 02:04 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/webvttdec: Add > webvtt extension and MIME type > > On Fri, Feb

Re: [FFmpeg-devel] [PATCH] ffbuild: read library linker objects from a file

2025-03-12 Thread Gyan Doshi
On 2025-03-12 01:29 pm, Martin Storsjö wrote: On Wed, 12 Mar 2025, Gyan Doshi wrote: The linker command can exceed the maximum argument limit on MinGW, especially for libavcodec. The objects list is now stored in a file and passed to the linker. --- ffbuild/library.mak | 4 +++- 1 file change

Re: [FFmpeg-devel] [PATCH] ffbuild: read library linker objects from a file

2025-03-12 Thread Zhao Zhili
> On Mar 12, 2025, at 16:34, Gyan Doshi wrote: > > > > On 2025-03-12 01:29 pm, Martin Storsjö wrote: >> On Wed, 12 Mar 2025, Gyan Doshi wrote: >> >>> The linker command can exceed the maximum argument limit on MinGW, >>> especially for libavcodec. >>> >>> The objects list is now stored in a

Re: [FFmpeg-devel] [RFC] New swscale internal design prototype

2025-03-12 Thread Niklas Haas
On Wed, 12 Mar 2025 09:15:22 +0200 Martin Storsjö wrote: > On Wed, 12 Mar 2025, Niklas Haas wrote: > > > On Sun, 09 Mar 2025 20:45:23 +0100 Niklas Haas wrote: > >> On Sun, 09 Mar 2025 18:11:54 +0200 Martin Storsjö wrote: > >> > On Sat, 8 Mar 2025, Niklas Haas wrote: > >> > > >> > > What are the

[FFmpeg-devel] [PATCH v2] ffbuild: read library linker objects from a file

2025-03-12 Thread Gyan Doshi
The linker command can exceed the maximum argument limit on MinGW, especially for libavcodec. The objects list is now stored in a file and passed to the linker. --- v2: static linking also switched to use a file for object list objs added to clean target and to gitignore .gitignore

[FFmpeg-devel] [PATCH] avcodec/vlc: Reduce debug logging

2025-03-12 Thread softworkz
From: softworkz Signed-off-by: softworkz --- avcodec/vlc: Reduce debug logging It made it hardly possible to enable debug logging for viewing other log lines due to the excessive output created by this. Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstagin

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_opt: Remove unused alt_bsf

2025-03-12 Thread James Almer
On 3/12/2025 10:25 AM, Andreas Rheinhardt wrote: From 3809f60cd976de71bd409bc24b9bd11b43aacee4 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Wed, 12 Mar 2025 14:23:51 +0100 Subject: [PATCH] fftools/ffmpeg_opt: Remove unused alt_bsf Forgotten in 6325aede08d5c7086b3798cb7041299e1d07f93a

[FFmpeg-devel] [PATCH v2] swscale/utils: split off format code into new file

2025-03-12 Thread Niklas Haas
From: Niklas Haas utils.c is getting quite crowded, and I need a new place to dump a lot of format handling code for the ongoing rewrite. Rather than bloating this file even more, start splitting format handling helpers off into a new file. This also renames the existing utils.h header, which di

Re: [FFmpeg-devel] [PATCH] ffbuild: read library linker objects from a file

2025-03-12 Thread Martin Storsjö
On Wed, 12 Mar 2025, Gyan Doshi wrote: On 2025-03-12 03:12 pm, Martin Storsjö wrote: On Wed, 12 Mar 2025, Gyan Doshi wrote: On 2025-03-12 01:29 pm, Martin Storsjö wrote: On Wed, 12 Mar 2025, Gyan Doshi wrote: The linker command can exceed the maximum argument limit on MinGW, especially for

Re: [FFmpeg-devel] [PATCH 11/13] ffv1dec: reference the current packet into the main context

2025-03-12 Thread Lynne
On 10/03/2025 18:42, Lynne wrote: On 10/03/2025 04:14, Andreas Rheinhardt wrote: Lynne: ---   libavcodec/ffv1.h    |  3 +++   libavcodec/ffv1dec.c | 19 +--   2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/libavcodec/ffv1.h b/libavcodec/ffv1.h index 8c0e71284d..8

[FFmpeg-devel] [PATCH] ffbuild: read library linker objects from a file

2025-03-12 Thread Gyan Doshi
The linker command can exceed the maximum argument limit on MinGW, especially for libavcodec. The objects list is now stored in a file and passed to the linker. --- ffbuild/library.mak | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ffbuild/library.mak b/ffbuild/library.mak

[FFmpeg-devel] [PATCH v2 FFmpeg 20/20] doc/filters.texi: avgclass documentation

2025-03-12 Thread m.kaindl0208
Signed-off-by: MaximilianKaindl --- doc/filters.texi | 64 1 file changed, 64 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index a7046e0f4e..340ce39e2a 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -30776,6 +30776,70 @@

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

2025-03-12 Thread Arthur Grillo
av_packet_unref(pkt); +return 0; +} } else { av_log(avf, AV_LOG_VERBOSE, "Dropping non-keyframe packet\n"); av_packet_unref(pkt); --- base-commit: 3165fe5ecf4917d9f7d7f27d4fa3af31

[FFmpeg-devel] [PATCH 2/2] avutil/hwcontext: Add item_name function for AVHWDeviceContext

2025-03-12 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavutil/hwcontext.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libavutil/hwcontext.c b/libavutil/hwcontext.c index 276dc9cee6..3111a44651 100644 --- a/libavutil/hwcontext.c +++ b/libavutil/hwcontext.c @@ -137,9 +137,

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/vc2enc: Use LUT to assemble interleaved golomb, code

2025-03-12 Thread Lynne
On 12/03/2025 06:27, Andreas Rheinhardt wrote: Lynne: On 12/03/2025 04:10, Andreas Rheinhardt wrote: Patches attached. - Andreas First patch is wild, its surprising no one considered inverting the way decoder parses codes for an encoder yet. I didn't even look at the decoder. (It is actual

Re: [FFmpeg-devel] FFmpeg 4.3.9 and 3.4.14

2025-03-12 Thread Michael Niedermayer
On Mon, Mar 03, 2025 at 02:10:49AM +0100, Michael Niedermayer wrote: > Hi all > > As ive already backported and somewhat tested release/4.3 i intend to > make the next point release from that and after that next is > 3.4 (because its the supported branch that is longest without a release) > > lik

[FFmpeg-devel] [PATCH] fftools/ffmpeg_opt: Remove unused alt_bsf

2025-03-12 Thread Andreas Rheinhardt
Patch attached. - Andreas From 3809f60cd976de71bd409bc24b9bd11b43aacee4 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Wed, 12 Mar 2025 14:23:51 +0100 Subject: [PATCH] fftools/ffmpeg_opt: Remove unused alt_bsf Forgotten in 6325aede08d5c7086b3798cb7041299e1d07f93a. Signed-off-by: Andrea

Re: [FFmpeg-devel] [PATCH] ffbuild: read library linker objects from a file

2025-03-12 Thread Gyan Doshi
On 2025-03-12 05:52 pm, Martin Storsjö wrote: On Wed, 12 Mar 2025, Gyan Doshi wrote: On 2025-03-12 03:12 pm, Martin Storsjö wrote: On Wed, 12 Mar 2025, Gyan Doshi wrote: On 2025-03-12 01:29 pm, Martin Storsjö wrote: On Wed, 12 Mar 2025, Gyan Doshi wrote: The linker command can exceed th

[FFmpeg-devel] [PATCH v2 FFmpeg 21/20] libavfilter: classify fix category post_processing with very low temperature

2025-03-12 Thread m.kaindl0208
Patch attached. I hope this correctly links to my series. Signed-off-by: MaximilianKaindl 0021-libavfilter-classify-fix-category-post_processing-wi.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.or

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

2025-03-12 Thread averne
Bump Le 04/03/2025 à 18:17, averne a écrit : > > > --- > Insert the relevant marker into the bitstream on > slice submission. > This is analogous to the logic found in DXVA and > D3D hwaccels. > > Fixes decoding of various VC-1 streams, eg.: > https://drive.google.com/file/d/1WJyiRhcdU4FHTW3sVM

[FFmpeg-devel] [PATCH] avcodec/aom_film_grain: Cast const away to suppress compiler, warning

2025-03-12 Thread Andreas Rheinhardt
Patch attached. - Andreas From fa46d708680d10dd2f9b80365eafbeeda6cc Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Wed, 12 Mar 2025 18:59:05 +0100 Subject: [PATCH] avcodec/aom_film_grain: Cast const away to suppress compiler warning av_frame_side_data_add() typically takes ownershi

Re: [FFmpeg-devel] [RFC] New swscale internal design prototype

2025-03-12 Thread Martin Storsjö
On Wed, 12 Mar 2025, Niklas Haas wrote: On Sun, 09 Mar 2025 20:45:23 +0100 Niklas Haas wrote: On Sun, 09 Mar 2025 18:11:54 +0200 Martin Storsjö wrote: > On Sat, 8 Mar 2025, Niklas Haas wrote: > > > What are the thoughts on the float-first approach? > > In general, for modern architectures,

Re: [FFmpeg-devel] [PATCH v4] Mark C globals with small code model

2025-03-12 Thread Andreas Rheinhardt
Martin Storsjö: > On Wed, 12 Mar 2025, Andreas Rheinhardt wrote: > >> Pranav Kant via ffmpeg-devel: >>> By default, all globals in C/C++ compiled by clang are allocated >>> in non-large data sections. See [1] for background on code models. >>> For PIC (Position independent code), this is fine as l

Re: [FFmpeg-devel] [PATCH v4] Mark C globals with small code model

2025-03-12 Thread Martin Storsjö
On Wed, 12 Mar 2025, Andreas Rheinhardt wrote: Pranav Kant via ffmpeg-devel: By default, all globals in C/C++ compiled by clang are allocated in non-large data sections. See [1] for background on code models. For PIC (Position independent code), this is fine as long as binary is small but as bi

Re: [FFmpeg-devel] [PATCH v4] Mark C globals with small code model

2025-03-12 Thread Martin Storsjö
On Wed, 12 Mar 2025, Andreas Rheinhardt wrote: Martin Storsjö: On Wed, 12 Mar 2025, Andreas Rheinhardt wrote: Pranav Kant via ffmpeg-devel: + * all globals in a data section that's unreachable with PC relative instructions + * (small code model instruction sequence). We mark all such globals

Re: [FFmpeg-devel] [RFC] New swscale internal design prototype

2025-03-12 Thread Niklas Haas
On Wed, 12 Mar 2025 02:58:52 +0200 Rémi Denis-Courmont wrote: > > > Le 10 mars 2025 15:14:46 GMT+02:00, Niklas Haas a écrit : > >On Sun, 09 Mar 2025 17:57:48 -0700 Rémi Denis-Courmont > >wrote: > >> > >> > >> Le 9 mars 2025 12:57:47 GMT-07:00, Niklas Haas a écrit : > >> >On Sun, 09 Mar 2025

Re: [FFmpeg-devel] [PATCH 1/1] avcodec/pcm: fix build warning by replacing deprecated method with avcodec_get_supported_config.

2025-03-12 Thread Andreas Rheinhardt
Zhao Zhili: > > >> On Mar 11, 2025, at 17:25, joney...@gmail.com wrote: >> >> From: Jingwei Yao >> >> Signed-off-by: Jingwei Yao >> --- >> libavcodec/pcm.c | 12 ++-- >> 1 file changed, 10 insertions(+), 2 deletions(-) >> >> diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c >> index a2329

Re: [FFmpeg-devel] [PATCH 11/13] ffv1dec: reference the current packet into the main context

2025-03-12 Thread Andreas Rheinhardt
Lynne: > On 10/03/2025 18:42, Lynne wrote: >> On 10/03/2025 04:14, Andreas Rheinhardt wrote: >>> Lynne: ---   libavcodec/ffv1.h    |  3 +++   libavcodec/ffv1dec.c | 19 +--   2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/libavcodec/ffv1.

[FFmpeg-devel] [PATCH 1/9] avcodec/msmpeg4enc: Inline constant

2025-03-12 Thread Andreas Rheinhardt
Patches attached. - Andreas From b3a259cf6bf825a34d9405a53e923883def1 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 7 Mar 2025 15:42:18 +0100 Subject: [PATCH 1/9] avcodec/msmpeg4enc: Inline constant Signed-off-by: Andreas Rheinhardt --- libavcodec/msmpeg4enc.c | 5 ++--- 1 f

Re: [FFmpeg-devel] [PATCH 11/13] ffv1dec: reference the current packet into the main context

2025-03-12 Thread Andreas Rheinhardt
Lynne: > > > On 13/03/2025 02:24, Andreas Rheinhardt wrote: >> Lynne: >>> On 10/03/2025 18:42, Lynne wrote: On 10/03/2025 04:14, Andreas Rheinhardt wrote: > Lynne: >> --- >>    libavcodec/ffv1.h    |  3 +++ >>    libavcodec/ffv1dec.c | 19 +-- >>    2 files

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

2025-03-12 Thread Andreas Rheinhardt
Patches attached. - Andreas From d07c1ad85a60395eb20501a59ff35de1d60f029b Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 11 Mar 2025 17:26:43 +0100 Subject: [PATCH 1/7] avcodec/pcm: Remove always-false check All codecs here have a valid sample size at this point. This check has (pr