Re: [FFmpeg-devel] [PATCH 3/3] doc: add spi.txt

2023-10-11 Thread Steven Liu
Michael Niedermayer 于2023年10月12日周四 02:10写道: > > This explains how to request refunds and what can be funded by SPI > --- > doc/spi.txt | 50 ++ > 1 file changed, 50 insertions(+) > create mode 100644 doc/spi.txt > > diff --git a/doc/spi.txt b/doc/s

Re: [FFmpeg-devel] [PATCH v2] lavc/libaribcaption.c: add MSZ characters related options

2023-10-11 Thread Jan Ekström
On Tue, Oct 10, 2023 at 1:29 PM TADANO Tokumei wrote: > > ping! > > On 2023/09/29 19:31, TADANO Tokumei wrote: > > > > On 2023/09/23 11:15, TADANO Tokumei wrote: > >> This is updated patch to "[PATCH] lavc/libaribcaption.c: add > >> -replace_fullwidth_japanese option" (Message-Id: > >> <20230908

Re: [FFmpeg-devel] [PATCH] web/contact: Add new IRC archives

2023-10-11 Thread Michael Niedermayer
On Wed, Oct 11, 2023 at 09:24:48PM +0200, Michael Niedermayer wrote: > On Thu, Oct 12, 2023 at 12:30:59AM +0530, Gyan Doshi wrote: [...] > > > > Maybe mention the date ranges for the new archives. > > Iam checking if older libera logs can be added before adding dates I was told we need to convert

Re: [FFmpeg-devel] [PATCH 3/7] avcodec/h261dec: Don't set write-only picture_number

2023-10-11 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/h261dec.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c > index a4e0bf9cf2..91d555a70e 100644 > --- a/libavcodec/h261dec.c > +++ b/libavcodec/h261

Re: [FFmpeg-devel] [PATCH] web/contact: Add new IRC archives

2023-10-11 Thread Michael Niedermayer
On Thu, Oct 12, 2023 at 12:30:59AM +0530, Gyan Doshi wrote: > > > On 12-10-2023 00:11, Michael Niedermayer wrote: > > Signed-off-by: Michael Niedermayer > > --- > > src/contact | 6 +- > > 1 file changed, 5 insertions(+), 1 deletion(-) > > > > diff --git a/src/contact b/src/contact > > i

Re: [FFmpeg-devel] [PATCH] web/contact: Add new IRC archives

2023-10-11 Thread Gyan Doshi
On 12-10-2023 00:11, Michael Niedermayer wrote: Signed-off-by: Michael Niedermayer --- src/contact | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/contact b/src/contact index 4f75655..c233328 100644 --- a/src/contact +++ b/src/contact @@ -128,7 +128,11 @@

Re: [FFmpeg-devel] [PATCH] configure: improve libmfx deprecation warning

2023-10-11 Thread Leo Izen
On 10/6/23 08:59, Leo Izen wrote: The libmfx deprecation warning tells you to build against libmfx 1.x, but the actual solution is to use --enable-libvpl instead of using --enable-libmfx. Update the warning message to reflect this. Will apply soon if there are no objections. - Leo Izen _

Re: [FFmpeg-devel] [PATCH v3] avcodec/libkvazaar: Respect codec context color settings.

2023-10-11 Thread Jan Ekström
On Mon, Oct 2, 2023 at 8:21 PM John Mather via ffmpeg-devel wrote: > > This patch makes the libkvazaar encoder respect color settings that are > present on the codec context, including color range, primaries, transfer > function and colorspace. > --- LGTM. Verified that this indeed builds with l

Re: [FFmpeg-devel] [PATCH] avcodec/libkvazaar: Bump minimum version to 2.0.0

2023-10-11 Thread Jan Ekström
On Mon, Oct 2, 2023 at 8:04 PM John Mather via ffmpeg-devel wrote: > > 0cd8769207f utilized the rc_algorithm member of the kvz_config struct, which > was introduced in Kvazaar 2.0.0. This patch bumps the minimum version of > Kvazaar to 2.0.0 so that FFmpeg compiles successfully. > > Signed-off-by:

[FFmpeg-devel] [PATCH] web/contact: Add new IRC archives

2023-10-11 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- src/contact | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/contact b/src/contact index 4f75655..c233328 100644 --- a/src/contact +++ b/src/contact @@ -128,7 +128,11 @@ Archives -Our IRC channel

[FFmpeg-devel] [PATCH 3/3] doc: add spi.txt

2023-10-11 Thread Michael Niedermayer
This explains how to request refunds and what can be funded by SPI --- doc/spi.txt | 50 ++ 1 file changed, 50 insertions(+) create mode 100644 doc/spi.txt diff --git a/doc/spi.txt b/doc/spi.txt new file mode 100644 index 00..7d85de8f09 ---

[FFmpeg-devel] [PATCH 2/3] avformat/jacosubdec: clarify code

2023-10-11 Thread Michael Niedermayer
add comments, rename variables and indent things differently Is it clearer now ? Signed-off-by: Michael Niedermayer --- libavformat/jacosubdec.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/libavformat/jacosubdec.c b/libavformat/jacosubdec.c index c6e5b

[FFmpeg-devel] [PATCH 1/3] avformat/tmv: Check video chunk size

2023-10-11 Thread Michael Niedermayer
This check matches the audio chunk check Fixes: Timeout Fixes: 62681/clusterfuzz-testcase-minimized-ffmpeg_dem_TMV_fuzzer-5299107876700160 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/tmv

Re: [FFmpeg-devel] [PATCH 4/7] fftools/ffmpeg_filter: auto-insert zscale filter

2023-10-11 Thread Niklas Haas
On Wed, 11 Oct 2023 18:55:21 +0200 Michael Niedermayer wrote: > On Wed, Oct 11, 2023 at 04:55:38PM +0200, Niklas Haas wrote: > > From: Niklas Haas > > > > Since swscale currently can't handle conversion between different > > colorimetry sets, supplement the missing bits and pieces using zscale.

Re: [FFmpeg-devel] [PATCH 4/7] fftools/ffmpeg_filter: auto-insert zscale filter

2023-10-11 Thread Michael Niedermayer
On Wed, Oct 11, 2023 at 04:55:38PM +0200, Niklas Haas wrote: > From: Niklas Haas > > Since swscale currently can't handle conversion between different > colorimetry sets, supplement the missing bits and pieces using zscale. > Subject to change in the future, if libswscale ever gets the capability

[FFmpeg-devel] [PATCH 6/7] lavc: set color_ranges for YUVJ-only codecs

2023-10-11 Thread Niklas Haas
From: Niklas Haas Only affects amv and roqvideo. (mjpeg is handled separately by fftools) --- libavcodec/mjpegenc.c| 3 +++ libavcodec/roqvideoenc.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/libavcodec/mjpegenc.c b/libavcodec/mjpegenc.c index 508772987f..c827a47e59 100644 --- a/

[FFmpeg-devel] [PATCH 5/7] avcodec/encode: enforce AVCodec capabilities at encode time

2023-10-11 Thread Niklas Haas
From: Niklas Haas In general, the logic is always the same: if the codec supports only a single format, enforce it if possible. Otherwise, throw an error when an incompatible format is thrown. To preserve backwards compatibility and make this check less pedantic than it needs to be, always consi

[FFmpeg-devel] [PATCH 4/7] fftools/ffmpeg_filter: auto-insert zscale filter

2023-10-11 Thread Niklas Haas
From: Niklas Haas Since swscale currently can't handle conversion between different colorimetry sets, supplement the missing bits and pieces using zscale. Subject to change in the future, if libswscale ever gets the capability to convert between colorspaces natively. --- fftools/ffmpeg_filter.c

[FFmpeg-devel] [PATCH 3/7] fftools/ffmpeg_filter: auto-insert csp conversion filter

2023-10-11 Thread Niklas Haas
From: Niklas Haas To convert between color ranges/matrices, if needed by the codec properties. Swscale can't do this currently, so we fall back to using zscale. We momentarily duplicate the mjpeg strictness logic to also enfoce full range. This duplication will be cleaned up in the next commit.

[FFmpeg-devel] [PATCH 2/7] lavc/options: properly init AVCodecContext.colorspace

2023-10-11 Thread Niklas Haas
From: Niklas Haas This currently defaults to AVCOL_SPC_RGB, but it should properly default to AVCOL_SPC_UNSPECIFIED, following the logic of the other fields. --- libavcodec/options.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/options.c b/libavcodec/options.c index a9b35ee1c3.

[FFmpeg-devel] [PATCH 1/7] avcodec: add extended AVCodec color metadata

2023-10-11 Thread Niklas Haas
From: Niklas Haas This is motivated primarily by a desire for YUVJ removal, which will require signalling the supported color ranges as part of the codec capabilities. But since we're here anyway, we might as well add all of the metadata, which I foresee seeing more use in the future (e.g. automa

[FFmpeg-devel] [RFC] [PATCH 0/7] Towards YUVJ removal, v2

2023-10-11 Thread Niklas Haas
A follow-up to my previous post (almost a year ago) about YUVJ removal. This patchset does not add full filter colorspace negotiation - rather, we add metadata only to AVCodec, with a warning being printed if incorrect frames are sent. fftools/ffmpeg_filter.c gained an explicit auto-conversion case

[FFmpeg-devel] File uploaded for ticket #10617

2023-10-11 Thread Iritscen deObo via ffmpeg-devel
Hello, I guess this is the right mailing list for mentioning that I uploaded a sample video with the VideoLAN uploader which is meant for my new ticket #10617 on ffmpeg. The file is called 01cr.smk. Regards ___ ffmpeg-devel mailing list ffmpeg-devel@

Re: [FFmpeg-devel] libavc/libx264: add support to propagate SSE values through encoder stats

2023-10-11 Thread Carotti, Elias via ffmpeg-devel
Hi Anton, On Tue, 2023-10-10 at 12:54 +0200, Anton Khirnov wrote: > > Quoting Carotti, Elias via ffmpeg-devel (2023-10-02 19:35:09) > > diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c > > index 77a9f173b4..4c643c9066 100644 > > --- a/libavcodec/libx264.c > > +++ b/libavcodec/libx264.c >