[FFmpeg-devel] [PATCH] avformat/mov: Parse 'name' atom for title metadata

2025-03-16 Thread Yuxin Wang
Support parsing 'name' atom as track title, aligning with the behavior of writing titles in the `mov_write_track_udta_tag` function in movenc.c. Signed-off-by: Yuxin Wang --- libavformat/mov.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index 57d9364

[FFmpeg-devel] [PATCH 2/2] avfilter/vf_zscale: add support for grayscale formats

2025-03-16 Thread James Almer
Signed-off-by: James Almer --- libavfilter/vf_zscale.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c index 5fe6e555e7..d913f7d99c 100644 --- a/libavfilter/vf_zscale.c +++ b/libavfilter/vf_zscale.c @@ -206,11 +206

[FFmpeg-devel] [PATCH] avutil: only duplicate hal2float and float2half in shared builds

2025-03-16 Thread James Almer
As a side effect, this also fixes compilation in shared builds in some specific configurations after 1eafbf820312d45b31907e16877ae780022598c4. Signed-off-by: James Almer --- libavcodec/Makefile | 13 + libavutil/Makefile | 2 ++ libswscale/Makefile | 3 +-- 3 files changed, 12 ins

[FFmpeg-devel] [PATCH] avfilter/vf_zscale: add support for half precision float RGB formats

2025-03-16 Thread James Almer
Signed-off-by: James Almer --- libavfilter/vf_zscale.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c index 7e66c3d6e2..5fe6e555e7 100644 --- a/libavfilter/vf_zscale.c +++ b/libavfilter/vf_zscale.c @@ -209,6

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

2025-03-16 Thread Michael Niedermayer
On Tue, Feb 25, 2025 at 04:01:21PM -0600, Romain Beauxis wrote: > --- > tests/Makefile | 1 + > tests/fate/ogg-opus.mak | 11 +++ > 2 files changed, 12 insertions(+) > create mode 100644 tests/fate/ogg-opus.mak > > diff --git a/tests/Makefile b/tests/Makefile > index a37f2ab587

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

2025-03-16 Thread Michael Niedermayer
On Sat, Mar 15, 2025 at 07:08:05PM -0500, Romain Beauxis wrote: > Hi all! > > > Le jeu. 13 mars 2025 à 08:43, Michael Niedermayer > a écrit : > > > > Hi Romain > > > > On Tue, Mar 11, 2025 at 11:56:37AM -0500, Romain Beauxis wrote: > > > Le mar. 11 mars 2025 à 11:55, Romain Beauxis > > > a écri

[FFmpeg-devel] [PATCH 1/2] swscale/input: add support for NV20

2025-03-16 Thread James Almer
Signed-off-by: James Almer --- libswscale/format.c | 2 ++ libswscale/input.c | 37 +++-- 2 files changed, 29 insertions(+), 10 deletions(-) diff --git a/libswscale/format.c b/libswscale/format.c index c3ef499438..fd0269a23e 100644 --- a/libswscale/format.c +++

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

2025-03-16 Thread Romain Beauxis
Le dim. 16 mars 2025 à 19:20, Michael Niedermayer a écrit : > > On Sat, Mar 15, 2025 at 07:08:05PM -0500, Romain Beauxis wrote: > > Hi all! > > > > > > Le jeu. 13 mars 2025 à 08:43, Michael Niedermayer > > a écrit : > > > > > > Hi Romain > > > > > > On Tue, Mar 11, 2025 at 11:56:37AM -0500, Romai

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

2025-03-16 Thread Romain Beauxis
Le dim. 16 mars 2025 à 19:18, Michael Niedermayer a écrit : > > On Mon, Mar 17, 2025 at 01:11:51AM +0100, Michael Niedermayer wrote: > > On Tue, Feb 25, 2025 at 04:01:21PM -0600, Romain Beauxis wrote: > > > --- > > > tests/Makefile | 1 + > > > tests/fate/ogg-opus.mak | 11 +++ >

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

2025-03-16 Thread Michael Niedermayer
On Mon, Mar 17, 2025 at 01:11:51AM +0100, Michael Niedermayer wrote: > On Tue, Feb 25, 2025 at 04:01:21PM -0600, Romain Beauxis wrote: > > --- > > tests/Makefile | 1 + > > tests/fate/ogg-opus.mak | 11 +++ > > 2 files changed, 12 insertions(+) > > create mode 100644 tests/fate/

Re: [FFmpeg-devel] [PATCH] gitattributes: End merge conflicts in Changelog

2025-03-16 Thread Michael Niedermayer
On Fri, Mar 14, 2025 at 03:30:46PM +0100, Michael Niedermayer wrote: > Similar could be done with other lists that generally are appended to > > Signed-off-by: Michael Niedermayer > --- > .gitattributes | 1 + > 1 file changed, 1 insertion(+) will apply [...] -- Michael GnuPG fingerprint

[FFmpeg-devel] [PATCH 2/2] swscale/output: add support for NV20

2025-03-16 Thread James Almer
Signed-off-by: James Almer --- libswscale/format.c | 4 +- libswscale/output.c | 49 ++-- tests/ref/fate/filter-pixdesc-nv20be | 1 + tests/ref/fate/filter-pixdesc-nv20le | 1 + tests/ref/fate/filter-pixfmts-copy | 2

[FFmpeg-devel] [PATCH] doc/filters: Add CUDA Video Filters section for CUDA-based and CUDA+NPP based filters.

2025-03-16 Thread Danil Iashchenko
Hi Gyan and Michael, Thank you for reviewing the patch and providing feedback! I've addressed all the issues and resubmitting the patch (built and tested with Texinfo 7.1.1). Per Gyan's suggestion, I'm resubmitting since Patchwork was down when I originally sent it on the 10th. Please let me

Re: [FFmpeg-devel] [PATCH v2] ffmpeg: add per-stream input option drop_changed

2025-03-16 Thread Gyan Doshi
On 2025-03-16 11:12 pm, James Almer wrote: On 3/16/2025 4:18 AM, Gyan Doshi wrote: This is a replacement in ffmpeg for the deprecated avcodec flag AV_CODEC_FLAG_DROPCHANGED. This option is meant to be used when the filtergraph should not be reinited upon input parameter changes as that lead

Re: [FFmpeg-devel] [PATCH v2] ffmpeg: add per-stream input option drop_changed

2025-03-16 Thread James Almer
On 3/16/2025 4:18 AM, Gyan Doshi wrote: This is a replacement in ffmpeg for the deprecated avcodec flag AV_CODEC_FLAG_DROPCHANGED. This option is meant to be used when the filtergraph should not be reinited upon input parameter changes as that leads to loss of state in the filtergraph potential

Re: [FFmpeg-devel] [PATCH 2/2] swscale/swscale_unscaled: avoid nv12 <-> nv21 bug

2025-03-16 Thread James Almer
On 3/16/2025 9:52 AM, Niklas Haas wrote: From: Niklas Haas This is not handled by the planar copy wrapper, so exclude it. --- libswscale/swscale_unscaled.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c inde

Re: [FFmpeg-devel] [PATCH v2 13/13] MAINTAINERS: add Manuel Lauss as sanm.c/smush.c Maintainer

2025-03-16 Thread Michael Niedermayer
Hi Manuel On Sat, Mar 15, 2025 at 10:32:20AM +0100, Manuel Lauss wrote: > As requested by Michael Niedermayer. > > Signed-off-by: Manuel Lauss > --- > v2: newly added. > > MAINTAINERS | 2 ++ > 1 file changed, 2 insertions(+) will apply in a day or so thx [...] -- Michael GnuPG fingerp

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

2025-03-16 Thread Ramiro Polla
On Sat, Mar 15, 2025 at 5:56 AM Andreas Rheinhardt wrote: > Ramiro Polla: > > On 3/13/25 06:49, Andreas Rheinhardt wrote: > >> Patches attached. > > > [PATCH 3/7] avcodec/pcm: Remove duplication from FFCodec define macros > > > >> diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c > >> index 620acf0

[FFmpeg-devel] [PATCH 2/2] swscale/swscale_unscaled: avoid nv12 <-> nv21 bug

2025-03-16 Thread Niklas Haas
From: Niklas Haas This is not handled by the planar copy wrapper, so exclude it. --- libswscale/swscale_unscaled.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c index 1df160daaa..4959963b18 100644 --- a/libswsc

[FFmpeg-devel] [PATCH 1/2] swscale: fix gray -> grayf32 SIGFPE

2025-03-16 Thread Niklas Haas
From: Niklas Haas swscale internals don't distinguish between 16-bit and higher bit depth output formats internally when it comes to the choice of intermediate representation. Clamping this value both prevents a SIGFPE and also aligns the check with reality. --- libswscale/swscale.c | 2 +- 1 f

Re: [FFmpeg-devel] [PATCH] ffmpeg: add per-stream input option drop_changed

2025-03-16 Thread Gyan Doshi
On 2025-03-16 01:21 am, Marton Balint wrote: On Sat, 15 Mar 2025, Gyan Doshi wrote: This is a replacement in ffmpeg for the deprecated avcodec flag AV_CODEC_FLAG_DROPCHANGED. This option is meant to be used when the filtergraph should not be reinited upon input parameter changes as that l

[FFmpeg-devel] [PATCH v2] ffmpeg: add per-stream input option drop_changed

2025-03-16 Thread Gyan Doshi
This is a replacement in ffmpeg for the deprecated avcodec flag AV_CODEC_FLAG_DROPCHANGED. This option is meant to be used when the filtergraph should not be reinited upon input parameter changes as that leads to loss of state in the filtergraph potentially leading to broken or aborted output, e.