Re: [FFmpeg-devel] [PATCH] tests: Fix enhanced-flv-hevc-hdr10 on big endian systems

2025-04-04 Thread Sean McGovern
Hi, On Thu, Mar 20, 2025 at 9:17 AM Zhao Zhili wrote: > > From: Zhao Zhili > > hevc decoder output native endian yuv420p10. yuv420p10 is alias of > yuv420p10le on little endian system, and yuv420p10be on big endian > system. > --- > tests/fate/flvenc.mak | 2 +- > tests/ref/fa

Re: [FFmpeg-devel] [PATCH v2] avcodec/libwebpdec: Add libwebp WebP decoder.

2025-04-04 Thread Peter Xia
Hi Michael, The current webp decoder does not support animated, only webp stills. It has been a pretty long standing feature request (#4907). Although it adds dependency of the libwebp decoder library, libwebp itself is already a dependency of the encoder. I feel it’s simpler this way. I don’

Re: [FFmpeg-devel] [PATCH] libavformat/matroskadec: Add support for chapter segment UUID and edition UID

2025-04-04 Thread Michael Niedermayer
On Fri, Apr 04, 2025 at 11:24:05AM +0200, Alexander Westberg-Bladh wrote: > This adds support for parsing ChapterSegmentUID and ChapterSegmentEditionUID > elements in Matroska chapters. These elements are used in ordered chapters > to reference external files see #3123. > > Signed-off-by: Alexande

[FFmpeg-devel] [PATCH] doc: replace http/git by https urls

2025-04-04 Thread Michael Niedermayer
These are more secure Signed-off-by: Michael Niedermayer --- doc/fate_config.sh.template | 2 +- doc/git-howto.texi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/fate_config.sh.template b/doc/fate_config.sh.template index 8681805d65e..4ff8629d447 100644 ---

Re: [FFmpeg-devel] Hardware purchase request: Ryzen 9 CPU

2025-04-04 Thread Niklas Haas
On Fri, 04 Apr 2025 19:20:55 +0200 Niklas Haas wrote: > Hi all, > > My current workstation (first generation Zen) is getting rather old (8 years). > On top of being slow and power hungry, it is also not very representative > anymore of modern hardware. > > Additionally, I would like to try and i

[FFmpeg-devel] [PATCH 4/6] avcodec/packet: Add AV_PKT_FLAG_NEW_SEQUENCE flag

2025-04-04 Thread Zhao Zhili
From: Zhao Zhili Sometimes AV_PKT_FLAG_KEY is the start of a new sequence, sometimes it's not. For example, HEVC CRA NALU can be marked as keyframe. hevc decoder doesn't check AV_PKT_FLAG_KEY, and doesn't treat CRA as new sequence. But sometimes CRA is really the start of a new sequence, and the

Re: [FFmpeg-devel] [PATCH v10 1/8] libavcodec/decode.c: intercept `AV_PKT_DATA_METADATA_UPDATE` packet extra data, attach them to the next decoded frame with the same PTS.

2025-04-04 Thread Michael Niedermayer
On Fri, Apr 04, 2025 at 03:56:19PM -0500, Romain Beauxis wrote: > Le ven. 4 avr. 2025 à 15:39, Michael Niedermayer > a écrit : > > > > Hi Romain > > > > On Wed, Apr 02, 2025 at 01:29:33PM -0500, Romain Beauxis wrote: > > > --- > > > libavcodec/decode.c | 130 ++

Re: [FFmpeg-devel] Hardware purchase request: Ryzen 9 CPU

2025-04-04 Thread Niklas Haas
On Fri, 04 Apr 2025 22:41:39 +0200 Lynne wrote: > On 04/04/2025 19:20, Niklas Haas wrote: > > Hi all, > > > > My current workstation (first generation Zen) is getting rather old (8 > > years). > > On top of being slow and power hungry, it is also not very representative > > anymore of modern har

Re: [FFmpeg-devel] Hardware purchase request: Ryzen 9 CPU

2025-04-04 Thread Niklas Haas
On Fri, 04 Apr 2025 19:22:26 + "softworkz ." wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of Niklas > > Haas > > Sent: Freitag, 4. April 2025 19:21 > > To: ffmpeg-devel@ffmpeg.org > > Subject: [FFmpeg-devel] Hardware purchase request: Ryzen 9 CPU > > > > Hi a

[FFmpeg-devel] [PATCH v11 8/8] tests: Add chained ogg/opus stream dump test.

2025-04-04 Thread Romain Beauxis
--- tests/Makefile | 1 + tests/fate/ogg-opus.mak | 11 ++ tests/ref/fate/ogg-opus-chained-meta.txt | 27 3 files changed, 39 insertions(+) create mode 100644 tests/fate/ogg-opus.mak create mode 100644 tests/ref/fate/og

[FFmpeg-devel] [PATCH v11 7/8] libavformat/oggparseopus.c: Parse comments from secondary chained streams header packet.

2025-04-04 Thread Romain Beauxis
--- libavformat/oggparseopus.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/libavformat/oggparseopus.c b/libavformat/oggparseopus.c index 218e9df581..fe25ad44f3 100644 --- a/libavformat/oggparseopus.c +++ b/libavformat/oggparseopus.c @@ -29,6 +29,7 @@ struct

[FFmpeg-devel] [PATCH v11 5/8] libavformat/oggparseflac.c: Parse ogg/flac comments in new ogg packets, add them to ogg stream new_metadata.

2025-04-04 Thread Romain Beauxis
--- libavformat/oggparseflac.c | 21 + 1 file changed, 21 insertions(+) diff --git a/libavformat/oggparseflac.c b/libavformat/oggparseflac.c index f25ed9cc15..29f5904575 100644 --- a/libavformat/oggparseflac.c +++ b/libavformat/oggparseflac.c @@ -78,6 +78,25 @@ flac_header (AV

[FFmpeg-devel] [PATCH v11 6/8] tests: Add chained ogg/flac stream dump test.

2025-04-04 Thread Romain Beauxis
--- tests/Makefile | 1 + tests/fate/ogg-flac.mak | 11 +++ tests/ref/fate/ogg-flac-chained-meta.txt | 13 + 3 files changed, 25 insertions(+) create mode 100644 tests/fate/ogg-flac.mak create mode 100644 tests/ref/fate/ogg-flac-cha

[FFmpeg-devel] [PATCH v11 4/8] libavformat/oggdec.h, libavformat/oggparsevorbis.c: Factor out vorbis metadata update mechanism.

2025-04-04 Thread Romain Beauxis
--- libavformat/oggdec.h | 14 ++ libavformat/oggparsevorbis.c | 25 + 2 files changed, 31 insertions(+), 8 deletions(-) diff --git a/libavformat/oggdec.h b/libavformat/oggdec.h index 43df23f4cb..c8460a66e9 100644 --- a/libavformat/oggdec.h +++ b/libavf

[FFmpeg-devel] [PATCH v11 3/8] tests: Add chained ogg/vorbis stream dump test.

2025-04-04 Thread Romain Beauxis
--- tests/Makefile | 1 + tests/fate/ogg-vorbis.mak | 11 +++ tests/ref/fate/ogg-vorbis-chained-meta.txt | 17 + 3 files changed, 29 insertions(+) create mode 100644 tests/fate/ogg-vorbis.mak create mode 100644 tests/ref/fate/

[FFmpeg-devel] [PATCH v11 2/8] tests: Add stream dump test API util.

2025-04-04 Thread Romain Beauxis
--- tests/Makefile| 1 + tests/api/Makefile| 2 +- tests/api/api-dump-stream-meta-test.c | 177 ++ 3 files changed, 179 insertions(+), 1 deletion(-) create mode 100644 tests/api/api-dump-stream-meta-test.c diff --git a/tests

[FFmpeg-devel] [PATCH v11 1/8] libavcodec/decode.c: intercept `AV_PKT_DATA_METADATA_UPDATE` packet extra data, attach them to the next decoded frame with the same PTS.

2025-04-04 Thread Romain Beauxis
--- libavcodec/decode.c | 130 1 file changed, 130 insertions(+) diff --git a/libavcodec/decode.c b/libavcodec/decode.c index fca0c7ff58..39d054bdea 100644 --- a/libavcodec/decode.c +++ b/libavcodec/decode.c @@ -39,6 +39,7 @@ #include "libavutil/maste

[FFmpeg-devel] [PATCH v11 0/8] Properly decode ogg metadata in ogg/{vorbis, flac, opus} chained bitstreams.

2025-04-04 Thread Romain Beauxis
This is a series of patches to allow proper decoding of ogg metadata in chained `ogg/vorbis, `ogg/flac` and `ogg/opus` streams. ## Changes since last version: * Fixed indentation and spaces. Romain Beauxis (8): libavcodec/decode.c: intercept `AV_PKT_DATA_METADATA_UPDATE` packet extra data,

Re: [FFmpeg-devel] [PATCH v10 3/8] tests: Add chained ogg/vorbis stream dump test.

2025-04-04 Thread Romain Beauxis
Le ven. 4 avr. 2025 à 16:00, Michael Niedermayer a écrit : > > On Fri, Apr 04, 2025 at 03:53:14PM -0500, Romain Beauxis wrote: > > Le ven. 4 avr. 2025 à 15:44, Michael Niedermayer > > a écrit : > > > > > > Hi Romain > > > > > > On Wed, Apr 02, 2025 at 01:29:35PM -0500, Romain Beauxis wrote: > > >

Re: [FFmpeg-devel] [PATCH] avcodec/webvttdec: strip classes

2025-04-04 Thread Andreas Rheinhardt
Leon Grutters: > On 3/20/25 9:02 AM, Andreas Rheinhardt wrote: >> Leon Grutters: >>> If a supported tag has a class, e.g "" it is ignored entirely; >>> so for example "Hello" would be converted to "Hello{\i0}" >>> instead of the intended "{\i1}Hello{\i0}". >>> >>> Signed-off-by: Leon Grutters >>> -

Re: [FFmpeg-devel] [PATCH v10 3/8] tests: Add chained ogg/vorbis stream dump test.

2025-04-04 Thread Michael Niedermayer
On Fri, Apr 04, 2025 at 03:53:14PM -0500, Romain Beauxis wrote: > Le ven. 4 avr. 2025 à 15:44, Michael Niedermayer > a écrit : > > > > Hi Romain > > > > On Wed, Apr 02, 2025 at 01:29:35PM -0500, Romain Beauxis wrote: > > > --- > > > tests/Makefile | 1 + > > > tests/f

Re: [FFmpeg-devel] [PATCH v10 1/8] libavcodec/decode.c: intercept `AV_PKT_DATA_METADATA_UPDATE` packet extra data, attach them to the next decoded frame with the same PTS.

2025-04-04 Thread Romain Beauxis
Le ven. 4 avr. 2025 à 15:39, Michael Niedermayer a écrit : > > Hi Romain > > On Wed, Apr 02, 2025 at 01:29:33PM -0500, Romain Beauxis wrote: > > --- > > libavcodec/decode.c | 130 > > 1 file changed, 130 insertions(+) > > > > diff --git a/libavcodec/de

Re: [FFmpeg-devel] [PATCH v10 2/8] tests: Add stream dump test API util.

2025-04-04 Thread Romain Beauxis
Le ven. 4 avr. 2025 à 15:41, Michael Niedermayer a écrit : > > On Wed, Apr 02, 2025 at 01:29:34PM -0500, Romain Beauxis wrote: > > --- > > tests/Makefile| 1 + > > tests/api/Makefile| 2 +- > > tests/api/api-dump-stream-meta-test.c | 175 +++

Re: [FFmpeg-devel] [PATCH v10 8/8] tests: Add chained ogg/opus stream dump test.

2025-04-04 Thread Romain Beauxis
Le ven. 4 avr. 2025 à 15:47, Michael Niedermayer a écrit : > > Hi > > On Wed, Apr 02, 2025 at 01:29:40PM -0500, Romain Beauxis wrote: > > --- > > tests/Makefile | 1 + > > tests/fate/ogg-opus.mak | 11 ++ > > tests/ref/fate/ogg-opus-chained-meta

Re: [FFmpeg-devel] [PATCH v10 3/8] tests: Add chained ogg/vorbis stream dump test.

2025-04-04 Thread Romain Beauxis
Le ven. 4 avr. 2025 à 15:44, Michael Niedermayer a écrit : > > Hi Romain > > On Wed, Apr 02, 2025 at 01:29:35PM -0500, Romain Beauxis wrote: > > --- > > tests/Makefile | 1 + > > tests/fate/ogg-vorbis.mak | 11 +++ > > tests/ref/fate/ogg-vorbi

Re: [FFmpeg-devel] [PATCH 2/4] checkasm: Implement helpers for defining and checking padded rects

2025-04-04 Thread Martin Storsjö
On Sat, 29 Mar 2025, Michael Niedermayer wrote: On Wed, Mar 26, 2025 at 12:30:13PM +0200, Martin Storsjö wrote: This backports similar functionality from dav1d, from commits 35d1d011fda4a92bcaf42d30ed137583b27d7f6d and d130da9c315d5a1d3968d278bbee2238ad9051e7. This allows detecting writes out

Re: [FFmpeg-devel] [PATCH v10 6/8] tests: Add chained ogg/flac stream dump test.

2025-04-04 Thread Romain Beauxis
Le ven. 4 avr. 2025 à 15:46, Michael Niedermayer a écrit : > > On Wed, Apr 02, 2025 at 01:29:38PM -0500, Romain Beauxis wrote: > > --- > > tests/Makefile | 1 + > > tests/fate/ogg-flac.mak | 11 +++ > > tests/ref/fate/ogg-flac-chained-meta.txt |

Re: [FFmpeg-devel] [PATCH] ffbuild: use response files only if ar accepts them

2025-04-04 Thread Martin Storsjö
On Mon, 17 Mar 2025, Gyan Doshi wrote: On 2025-03-17 09:44 pm, Zhao Zhili wrote: On Mar 17, 2025, at 23:16, Gyan Doshi wrote: This is to not break linking with toolchains that don't support reading args from a 'response file'. --- I've assumed that ld on a system will have same support as

Re: [FFmpeg-devel] [PATCH] avcodec/mlpdec: Add decoding of object audio data

2025-04-04 Thread James Almer
On 3/23/2025 6:47 PM, Hendrik Leppkes wrote: On Sun, Mar 23, 2025 at 9:35 PM James Almer wrote: On 3/23/2025 4:33 PM, Massimo Eynard wrote: On 23/03/2025 20:01, James Almer wrote: On 3/22/2025 2:49 PM, Massimo Eynard wrote: This patch adds support for decoding the fourth MLP substream which

Re: [FFmpeg-devel] [PATCH v10 8/8] tests: Add chained ogg/opus stream dump test.

2025-04-04 Thread Michael Niedermayer
Hi On Wed, Apr 02, 2025 at 01:29:40PM -0500, Romain Beauxis wrote: > --- > tests/Makefile | 1 + > tests/fate/ogg-opus.mak | 11 ++ > tests/ref/fate/ogg-opus-chained-meta.txt | 27 > 3 files changed, 39 insertions(+) >

Re: [FFmpeg-devel] [PATCH v10 6/8] tests: Add chained ogg/flac stream dump test.

2025-04-04 Thread Michael Niedermayer
On Wed, Apr 02, 2025 at 01:29:38PM -0500, Romain Beauxis wrote: > --- > tests/Makefile | 1 + > tests/fate/ogg-flac.mak | 11 +++ > tests/ref/fate/ogg-flac-chained-meta.txt | 13 + > 3 files changed, 25 insertions(+) > create mode 10

Re: [FFmpeg-devel] [PATCH 1/2] ffbuild: compose linker response files in a loop

2025-04-04 Thread Ramiro Polla
On Sun, Mar 30, 2025 at 7:02 AM Gyan Doshi wrote: > On 2025-03-29 11:52 pm, Martin Storsjö wrote: > > On Sat, 29 Mar 2025, Gyan Doshi wrote: > > > >>> Did you not try to use GNU make's flie function? > >> > >> I just benched this and it ranges from 1m28.093s to 1m29.971s (5% > >> faster) for the l

Re: [FFmpeg-devel] [PATCH v10 3/8] tests: Add chained ogg/vorbis stream dump test.

2025-04-04 Thread Michael Niedermayer
Hi Romain On Wed, Apr 02, 2025 at 01:29:35PM -0500, Romain Beauxis wrote: > --- > tests/Makefile | 1 + > tests/fate/ogg-vorbis.mak | 11 +++ > tests/ref/fate/ogg-vorbis-chained-meta.txt | 17 + > 3 files changed, 29 insertions

Re: [FFmpeg-devel] Hardware purchase request: Ryzen 9 CPU

2025-04-04 Thread Lynne
On 04/04/2025 19:20, Niklas Haas wrote: Hi all, My current workstation (first generation Zen) is getting rather old (8 years). On top of being slow and power hungry, it is also not very representative anymore of modern hardware. Additionally, I would like to try and incorporate AVX-512 instruct

Re: [FFmpeg-devel] [PATCH v10 2/8] tests: Add stream dump test API util.

2025-04-04 Thread Michael Niedermayer
On Wed, Apr 02, 2025 at 01:29:34PM -0500, Romain Beauxis wrote: > --- > tests/Makefile| 1 + > tests/api/Makefile| 2 +- > tests/api/api-dump-stream-meta-test.c | 175 ++ > 3 files changed, 177 insertions(+), 1 deletion(-) >

Re: [FFmpeg-devel] [PATCH v2] avcodec/ffv1enc: Better heuristic for selecting mul values.

2025-04-04 Thread Michael Niedermayer
On Fri, Mar 28, 2025 at 03:26:49AM +0100, Michael Niedermayer wrote: > This increases the search space from the hardcoded 17 tables > to ~ 23^512 tables > > The mul_count choice is chosen by bruteforce > > All testcases tried, improve > > Sponsored-by: Sovereign Tech Fund > Signed-off-by: Michae

Re: [FFmpeg-devel] [PATCH v10 1/8] libavcodec/decode.c: intercept `AV_PKT_DATA_METADATA_UPDATE` packet extra data, attach them to the next decoded frame with the same PTS.

2025-04-04 Thread Michael Niedermayer
Hi Romain On Wed, Apr 02, 2025 at 01:29:33PM -0500, Romain Beauxis wrote: > --- > libavcodec/decode.c | 130 > 1 file changed, 130 insertions(+) > > diff --git a/libavcodec/decode.c b/libavcodec/decode.c > index fca0c7ff58..b754ea13b6 100644 > --- a/l

[FFmpeg-devel] [PATCH 2/2] avcodec/encode: Check nb_colors

2025-04-04 Thread Michael Niedermayer
Fixes: integer overflow No testcase Found-by: 김승호 Signed-off-by: Michael Niedermayer --- libavcodec/encode.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/encode.c b/libavcodec/encode.c index 72dfa8867ab..6a7781336f2 100644 --- a/libavcodec/encode.c +++ b/libavcodec/enco

[FFmpeg-devel] [PATCH 1/2] avcodec/dvbsubenc: Use 64bits in nb_colors and num_rects checks

2025-04-04 Thread Michael Niedermayer
Fixes: integer overflow No testcase Found-by: 김승호 Signed-off-by: Michael Niedermayer --- libavcodec/dvbsubenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/dvbsubenc.c b/libavcodec/dvbsubenc.c index 822e3a53099..53f0f6412fa 100644 --- a/libavcodec/dvbsube

Re: [FFmpeg-devel] [PATCH v2] avcodec/libwebpdec: Add libwebp WebP decoder.

2025-04-04 Thread Michael Niedermayer
Hi Peter On Thu, Apr 03, 2025 at 06:17:19PM -0700, Peter Xia wrote: > Adds support of decoding animated webp. What is missing / is needed to have our decoder support this ? Our decoder should be made to support this, instead of adding an external dependancy also, isnt there a work in progress p

Re: [FFmpeg-devel] [PATCH v9 1/8] libavcodec/decode.c: intercept `AV_PKT_DATA_METADATA_UPDATE` packet extra data, attach them to the next decoded frame with the same PTS.

2025-04-04 Thread Romain Beauxis
Le mer. 2 avr. 2025 à 16:30, Michael Niedermayer a écrit : > > Hi Romain > > On Wed, Apr 02, 2025 at 07:43:03PM +0200, Michael Niedermayer wrote: > > On Mon, Mar 24, 2025 at 09:50:52AM -0500, Romain Beauxis wrote: > > > --- > > > libavcodec/decode.c | 131 +

Re: [FFmpeg-devel] [PATCH] configure: Allow mixing declarations and statements

2025-04-04 Thread Michael Niedermayer
Hi Andreas On Sun, Mar 30, 2025 at 05:37:00PM +0200, Andreas Rheinhardt wrote: > Patch attached. > > - Andreas > configure |5 - > doc/developer.texi |3 --- > 2 files changed, 8 deletions(-) > bebf4bbda3bcdc99d5118bc0516b1f400ab6dcf0 > 0001-configure-Allow-mixing-declara

[FFmpeg-devel] [PATCH 4/4] avcodec/ffv1enc: avoid slices larger than 360x288 if no value is specified

2025-04-04 Thread Michael Niedermayer
This improves speed by providing more independent things for more CPUs Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc.c | 6 +- .../ref/fate/matroska-mastering-display-metadata | 16 2 files changed, 13 insertions(+), 9 deletions(-) d

Re: [FFmpeg-devel] [RFC] swscale dithering

2025-04-04 Thread Niklas Haas
On Mon, 24 Mar 2025 21:04:46 +0100 Michael Niedermayer wrote: > Hi Niklas > > On Mon, Mar 24, 2025 at 01:43:19PM +0100, Niklas Haas wrote: > > Hi all, > > > > As part of my ongoing swscale rewrite, we have both the opportunity and the > > need to make a central decision about how to apply round

Re: [FFmpeg-devel] [PATCH] avformat/rtpenc: Check dimensions during init

2025-04-04 Thread Michael Niedermayer
Hi Andreas On Sun, Mar 30, 2025 at 12:42:38PM +0200, Andreas Rheinhardt wrote: > Obsoletes my earlier patch to fix the Wdeclaration-after-statement warning. > > - Andreas > rtpenc.c | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) > 16e728ea020e7f62b97032aa108cc281c7cd

Re: [FFmpeg-devel] [PATCH] doc: replace http/git by https urls

2025-04-04 Thread Gyan Doshi
On 2025-04-01 05:39 am, Michael Niedermayer wrote: These are more secure Signed-off-by: Michael Niedermayer --- doc/fate_config.sh.template | 2 +- doc/git-howto.texi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/fate_config.sh.template b/doc/fate_co

Re: [FFmpeg-devel] Hardware purchase request: Ryzen 9 CPU

2025-04-04 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of Niklas > Haas > Sent: Freitag, 4. April 2025 19:21 > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] Hardware purchase request: Ryzen 9 CPU > > Hi all, > > My current workstation (first generation Zen) is getting rather old

Re: [FFmpeg-devel] [PATCH] avcodec/amfenc: add smart access video option

2025-04-04 Thread Dmitrii Ovchinnikov
If there are no other comments, I will merge it in a few days (with an explanation of the feature's specifics in the commit message). ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe,

[FFmpeg-devel] [PATCH] avutil/csp: Improve enum range comparisons

2025-04-04 Thread Andreas Rheinhardt
Patch attached. - Andreas From e38c3aebf110a9f5c9de73d0b9677c5b8a64000d Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 18 Mar 2025 15:48:03 +0100 Subject: [PATCH] avutil/csp: Improve enum range comparisons The underlying integer type of an enumeration is implementation-defined (see

[FFmpeg-devel] [PATCH v9 1/8] libavcodec/decode.c: intercept `AV_PKT_DATA_METADATA_UPDATE` packet extra data, attach them to the next decoded frame with the same PTS.

2025-04-04 Thread Romain Beauxis
--- libavcodec/decode.c | 131 1 file changed, 131 insertions(+) diff --git a/libavcodec/decode.c b/libavcodec/decode.c index 2a0d8152a6..10eefe7ad9 100644 --- a/libavcodec/decode.c +++ b/libavcodec/decode.c @@ -39,6 +39,7 @@ #include "libavutil/maste

Re: [FFmpeg-devel] Request for --disable-deprecated configure option

2025-04-04 Thread Michael Niedermayer
Hi On Thu, Apr 03, 2025 at 11:02:01AM +0200, Kacper Michajlow wrote: > Hello, > > It would be nice to have configure time ability to disable all > `FF_API_*` for testing purposes. > > As we know not all code can be marked to emit Wdeprecated. > Specifically #defines doesn't emit any warning and

Re: [FFmpeg-devel] [PATCH, v2] avcodec/d3d12va_decode: enable reference-only mode

2025-04-04 Thread Tong Wu
Araz Iusubov: >Subject: [FFmpeg-devel] [PATCH, v2] avcodec/d3d12va_decode: enable >reference-only mode > >The Reference-Only feature in DirectX 12 is a memory optimization technique >designed for video decoding scenarios. >This feature requires that reference resources must be allocated with the >

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

2025-04-04 Thread Pranav Kant via ffmpeg-devel
Any thoughts on this? On Thu, Mar 20, 2025 at 5:30 PM Pranav Kant wrote: > Patch version v5: > - Uses two new macros DECLARE_ASM_VAR (used for both external and inline > asm) and DECLARE_EXTERNAL_ASM_VAR (used only for external asm) > - I intend to remove explicit existing use of attribute_visib

[FFmpeg-devel] [PATCH v2] avcodec/ffv1: Store slices*planes with the minimum bits needed after remap

2025-04-04 Thread Michael Niedermayer
This also means that if a plane*slice has only 1 color nothing is stored after the remap table This improves compression, but more tests are needed This also corrects the RCT offset to the exact value after remap not a fixed 65536 Signed-off-by: Michael Niedermayer --- libavcodec/ffv1.c

[FFmpeg-devel] [PATCH 06/11] avcodec/ffv1dec: replace literal 65535 by what it is

2025-04-04 Thread Michael Niedermayer
should make the code easier to understand Signed-off-by: Michael Niedermayer --- libavcodec/ffv1dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c index 21a7642a08b..25b55864107 100644 --- a/libavcodec/ffv1dec.c +++ b/libavcodec/

Re: [FFmpeg-devel] [PATCH] fftools/ffprobe: Fix hypothetical stack buffer overflow

2025-04-04 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patch attached. > > - Andreas > > Will fix this tomorrow by avoiding memcpy altogether (and copying the characters in the loop instead). - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/

[FFmpeg-devel] [PATCH] tests: Fix enhanced-flv-hevc-hdr10 on big endian systems

2025-04-04 Thread Zhao Zhili
From: Zhao Zhili hevc decoder output native endian yuv420p10. yuv420p10 is alias of yuv420p10le on little endian system, and yuv420p10be on big endian system. --- tests/fate/flvenc.mak | 2 +- tests/ref/fate/enhanced-flv-hevc-hdr10 | 19 --- 2 files changed, 1 i

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

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

[FFmpeg-devel] [PATCH v1 03/19] avcodec/vvc/sei: add decode_film_grain_characteristics

2025-04-04 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/sei.c | 66 1 file changed, 66 insertions(+) diff --git a/libavcodec/vvc/sei.c b/libavcodec/vvc/sei.c index 2842862a36..365f815950 100644 --- a/libavcodec/vvc/sei.c +++ b/libavcodec/vvc/s

Re: [FFmpeg-devel] Hardware purchase request: Ryzen 9 CPU

2025-04-04 Thread Michael Niedermayer
Hi Niklas On Fri, Apr 04, 2025 at 07:20:55PM +0200, Niklas Haas wrote: > Hi all, > > My current workstation (first generation Zen) is getting rather old (8 years). > On top of being slow and power hungry, it is also not very representative > anymore of modern hardware. > > Additionally, I would

Re: [FFmpeg-devel] [PATCH] avcodec/ffv1enc: run1start variables should fit in 32bit

2025-04-04 Thread Michael Niedermayer
On Wed, Apr 02, 2025 at 11:22:38PM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/ffv1enc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) will apply [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I have

Re: [FFmpeg-devel] [PATCH] avcodec/ffv1: Only allocate fltmap* and bitmap when needed

2025-04-04 Thread Michael Niedermayer
On Wed, Apr 02, 2025 at 04:49:20PM +0200, Michael Niedermayer wrote: > This reduces memory requirements > > Signed-off-by: Michael Niedermayer > --- > libavcodec/ffv1.c | 4 > libavcodec/ffv1.h | 9 - > libavcodec/ffv1dec.c | 18 +-

Re: [FFmpeg-devel] [PATCH] avcodec/ffv1: Allocate unit only when needed and only as large as needed

2025-04-04 Thread Michael Niedermayer
On Wed, Apr 02, 2025 at 02:51:54AM +0200, Michael Niedermayer wrote: > That is instead of a fixed 65536, we now allocate only as many as there > are pixels. > We also allocate only for the encoder and only when remapping is enabled > and only for 32bit per sample > > This should reduce memory cons

[FFmpeg-devel] Hardware purchase request: Ryzen 9 CPU

2025-04-04 Thread Niklas Haas
Hi all, My current workstation (first generation Zen) is getting rather old (8 years). On top of being slow and power hungry, it is also not very representative anymore of modern hardware. Additionally, I would like to try and incorporate AVX-512 instructions for my swscale rewrite, in particular

Re: [FFmpeg-devel] [PATCH 2/2] configure: Check for AVCaptureSession as dependency to avfoundation

2025-04-04 Thread Martin Storsjö
On Fri, 4 Apr 2025, Martin Storsjö wrote: On Tue, 1 Apr 2025, Martin Storsjö wrote: This class is unavailable on tvOS before 17.0 (and macOS before 10.7 and iOS before 4.0, but those are fairly ancient). This makes sure that we don't try to build the avfoundation indevice for such OSes. --- co

[FFmpeg-devel] [PATCH v10 4/8] libavformat/oggdec.h, libavformat/oggparsevorbis.c: Factor out vorbis metadata update mechanism.

2025-04-04 Thread Romain Beauxis
--- libavformat/oggdec.h | 14 ++ libavformat/oggparsevorbis.c | 25 + 2 files changed, 31 insertions(+), 8 deletions(-) diff --git a/libavformat/oggdec.h b/libavformat/oggdec.h index 43df23f4cb..c8460a66e9 100644 --- a/libavformat/oggdec.h +++ b/libavf

[FFmpeg-devel] [PATCH] avcodec/amfenc_av1: Add B-frame QP control

2025-04-04 Thread Dmitrii Ovchinnikov
--- libavcodec/amfenc.h | 2 ++ libavcodec/amfenc_av1.c | 25 +++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/libavcodec/amfenc.h b/libavcodec/amfenc.h index aec3a3f9ec..d716215035 100644 --- a/libavcodec/amfenc.h +++ b/libavcodec/amfenc.h @@ -106,6 +

Re: [FFmpeg-devel] [PATCH] avformat/dhav: fix backward scanning for get_duration and optimize seeking

2025-04-04 Thread Derek Buitenhuis
On 3/27/2025 6:18 PM, Andreas Rheinhardt wrote: > You read into a buffer just to ignore the read data? Why don't you just > rewrite the loop below to inspect the data directly? While looking into this, I noticed that this demuxer also does something similar for the first packet which is not bounde

Re: [FFmpeg-devel] [PATCH 2/2] configure: Check for AVCaptureSession as dependency to avfoundation

2025-04-04 Thread Martin Storsjö
On Tue, 1 Apr 2025, Martin Storsjö wrote: This class is unavailable on tvOS before 17.0 (and macOS before 10.7 and iOS before 4.0, but those are fairly ancient). This makes sure that we don't try to build the avfoundation indevice for such OSes. --- configure | 15 +-- 1 file changed,