Re: [FFmpeg-devel] [PATCH 8/9] avcodec/nvenc: use encoder level options for qmin/qmax

2025-01-30 Thread Zhao Zhili
> On Jan 31, 2025, at 03:40, Timo Rothenpieler wrote: > > AV1 uses a vastly different range than what the global options permit, > and also for the other codecs the range of the global options is at > least misaligned. It ’s simpler to update qmin upper threshold than add qmin/qmax for each e

Re: [FFmpeg-devel] GSoC 2025

2025-01-30 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > compn > Sent: Thursday, January 30, 2025 3:53 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] GSoC 2025 > > On Thu, 30 Jan 2025 13:20:19 -0800, Koushik Dutta wrote: > > > Why gitlab and not GitHub? If the intent i

[FFmpeg-devel] FATE vc1-* failures on PowerPC64 with GCC Address Sanitizer

2025-01-30 Thread Sean McGovern
Hi, I recently added a new FATE node 'ppc64-linux-gcc-14.2-asan' that runs GCC Address Sanitizer on my G5 PowerMac. It currently shows test failures for the vc1-* tests and wmv3-drm-dec due to the AltiVec acceleration in libavcodec/ppc/vc1dsp_altivec.c over-reading if the final block is less than

Re: [FFmpeg-devel] GSoC 2025

2025-01-30 Thread compn
On Thu, 30 Jan 2025 13:20:19 -0800, Koushik Dutta wrote: > Why gitlab and not GitHub? If the intent is on making contribution from new > developers easier, I think the workflow should be where the majority of > developers are actively participating. is there a way to bridge github with a mailingl

Re: [FFmpeg-devel] [PATCH v2 7/9] avcodec/nvenc: add MV-HEVC encoding support

2025-01-30 Thread James Almer
On 1/30/2025 8:23 PM, Timo Rothenpieler wrote: From: Diego de Souza Added support for MV-HEVC encoding for stereoscopic videos (2 views only). Compatible with the framepack filter when using the AV_STEREO3D_FRAMESEQUENCE format. Signed-off-by: Diego de Souza --- libavcodec/nvenc.c | 70

Re: [FFmpeg-devel] [PATCH v3] avformat/riffdec: warn on invalid sample rate

2025-01-30 Thread Viraaj Raulgaonkar
On Fri, Jan 31, 2025 at 4:49 AM Marton Balint wrote: > > > > On Thu, 30 Jan 2025, Viraaj Raulgaonkar wrote: > > > If std_strict_compliance < FF_COMPLIANCE_STRICT, then warn the user of > > the invalid sample rate instead of returning an error. This allows the > > sample rate to be decoded in certa

Re: [FFmpeg-devel] [PATCH] random_seed: Limit the time taken by get_generic_seed

2025-01-30 Thread Michael Niedermayer
Hi Martin On Wed, Jan 29, 2025 at 11:53:53AM +0200, Martin Storsjö wrote: > On a Zen 5, on Ubuntu 24.04 (with CLOCKS_PER_SEC 100), the > value of clock() in this loop increments by 0 most of the time, > and when it does increment, it usually increments by 1 compared > to the previous round. >

Re: [FFmpeg-devel] [PATCH] avcodec/amfenc: DX12 Reference-only feature support

2025-01-30 Thread Benjamin Cheng via ffmpeg-devel
On 2025-01-30 9:09 a.m., Araz Iusubov wrote: 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 D3D12_RESOURCE_FLAG_VIDEO_DECODE_REFERENCE_ONLY resource flag.

Re: [FFmpeg-devel] Democratization

2025-01-30 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Vittorio Giovara > Sent: Friday, January 31, 2025 1:14 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] Democratization > > On Fri, Jan 31, 2025 at 12:22 AM Soft Works < > softwo

Re: [FFmpeg-devel] Democratization

2025-01-30 Thread Vittorio Giovara
On Fri, Jan 31, 2025 at 12:22 AM Soft Works < softworkz-at-hotmail@ffmpeg.org> wrote: > > That does not mean it would be worth trying something different. I > > already > > listed the incidents I've just seen happen before my eyes in this > > mailing > > list and these are not fun incidents. I

Re: [FFmpeg-devel] Democratization

2025-01-30 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Vittorio Giovara > Sent: Thursday, January 30, 2025 10:46 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] Democratization > > On Thu, Jan 30, 2025 at 9:02 AM Nicolas George > w

Re: [FFmpeg-devel] GSoC 2025

2025-01-30 Thread Vittorio Giovara
On Thu, Jan 30, 2025 at 10:20 PM Koushik Dutta wrote: > Why gitlab and not GitHub? If the intent is on making contribution from new > developers easier, I think the workflow should be where the majority of > developers are actively participating. > Because Github is hosted on servers in the US,

Re: [FFmpeg-devel] Democratization

2025-01-30 Thread Vittorio Giovara
On Fri, Jan 31, 2025 at 1:03 AM Soft Works < softworkz-at-hotmail@ffmpeg.org> wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Vittorio Giovara > > Sent: Thursday, January 30, 2025 10:46 AM > > To: FFmpeg development discussions and patches > de...@ffmpeg.org

[FFmpeg-devel] [PATCH v2 7/9] avcodec/nvenc: add MV-HEVC encoding support

2025-01-30 Thread Timo Rothenpieler
From: Diego de Souza Added support for MV-HEVC encoding for stereoscopic videos (2 views only). Compatible with the framepack filter when using the AV_STEREO3D_FRAMESEQUENCE format. Signed-off-by: Diego de Souza --- libavcodec/nvenc.c | 70 + libavc

Re: [FFmpeg-devel] Democratization

2025-01-30 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Vittorio Giovara > Sent: Thursday, January 30, 2025 7:35 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] Democratization > > On Thu, Jan 30, 2025 at 12:27 AM Soft Works < > softwo

Re: [FFmpeg-devel] [PATCH v3] avformat/riffdec: warn on invalid sample rate

2025-01-30 Thread Marton Balint
On Thu, 30 Jan 2025, Viraaj Raulgaonkar wrote: If std_strict_compliance < FF_COMPLIANCE_STRICT, then warn the user of the invalid sample rate instead of returning an error. This allows the sample rate to be decoded in certain cases. Fixes Trac Ticket #11361. --- libavformat/riffdec.c | 7 +++

Re: [FFmpeg-devel] [PATCH v2 2/2] fate/jpeg2000dec: add missing ISO/IEC 15444-4 conformance tests

2025-01-30 Thread Michael Niedermayer
On Sun, Jan 26, 2025 at 07:29:07PM -0800, p...@sandflow.com wrote: > From: Pierre-Anthony Lemieux > > --- > tests/fate/jpeg2000.mak | 130 ++- > tests/ref/fate/jpeg2000dec-ds0_hm_15_b8 | 6 ++ > tests/ref/fate/jpeg2000dec-ds0_ht_02_b11 | 6 ++ > tests/re

Re: [FFmpeg-devel] considering ffmpeg's twitter/x

2025-01-30 Thread compn
On Tue, 28 Jan 2025 23:26:39 -1000, compn wrote: > hi, > > as i asked on irc this week, and as many of you may have seen it, the > owner of twitter/x did a thing at a political rally last week: > https://www.youtube.com/watch?v=wubITdJ_MCw > > when asked if he meant the gesture, the man replied

Re: [FFmpeg-devel] GSoC 2025

2025-01-30 Thread Koushik Dutta
Why gitlab and not GitHub? If the intent is on making contribution from new developers easier, I think the workflow should be where the majority of developers are actively participating. On Wed, Jan 29, 2025 at 11:32 AM Kieran Kunhya via ffmpeg-devel < ffmpeg-devel@ffmpeg.org> wrote: > On Wed, J

Re: [FFmpeg-devel] [PATCH 7/9] avcodec/nvenc: add MV-HEVC encoding support

2025-01-30 Thread James Almer
On 1/30/2025 4:40 PM, Timo Rothenpieler wrote: From: Diego de Souza Added support for MV-HEVC encoding for stereoscopic videos (2 views only). Compatible with the framepack filter when using the AV_STEREO3D_FRAMESEQUENCE format. Signed-off-by: Diego de Souza --- libavcodec/nvenc.c | 49

[FFmpeg-devel] [PATCH 9/9] avcodec/nvenc: finalize SDK 13.0 support

2025-01-30 Thread Timo Rothenpieler
--- libavcodec/nvenc.c | 4 +++- libavcodec/version.h | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index a5c507150c..eb813ba32e 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -254,8 +254,10 @@ static void nvenc_map_

[FFmpeg-devel] [PATCH 8/9] avcodec/nvenc: use encoder level options for qmin/qmax

2025-01-30 Thread Timo Rothenpieler
AV1 uses a vastly different range than what the global options permit, and also for the other codecs the range of the global options is at least misaligned. Fixes #11365 --- libavcodec/nvenc.c | 49 + libavcodec/nvenc.h | 2 ++ libavcodec/nvenc_a

[FFmpeg-devel] [PATCH 7/9] avcodec/nvenc: add MV-HEVC encoding support

2025-01-30 Thread Timo Rothenpieler
From: Diego de Souza Added support for MV-HEVC encoding for stereoscopic videos (2 views only). Compatible with the framepack filter when using the AV_STEREO3D_FRAMESEQUENCE format. Signed-off-by: Diego de Souza --- libavcodec/nvenc.c | 49 + libavc

[FFmpeg-devel] [PATCH 5/9] avcodec/nvenc: add UHQ to AV1 for NVENC

2025-01-30 Thread Timo Rothenpieler
From: Diego de Souza This commit adds support for Ultra High Quality mode for AV1 on NVIDIA GPUs. Signed-off-by: Diego de Souza --- libavcodec/nvenc.h | 1 + libavcodec/nvenc_av1.c | 5 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libavcodec/nvenc.h b/libavcodec/nven

[FFmpeg-devel] [PATCH 6/9] avcodec/nvenc: add Temporal Filtering for AV1 and H.264 in NVENC

2025-01-30 Thread Timo Rothenpieler
From: Diego de Souza This commit extends the support for Temporal Filtering in NVENC for AV1 and H.264 codecs. For natural videos with noise, NVENC temporal filtering improves video coding efficiency by 4-5%. Signed-off-by: Diego de Souza --- libavcodec/nvenc.c | 40 ++

[FFmpeg-devel] [PATCH 4/9] avcodec/nvenc: add 4:2:2 encoding and H.264 10-bit support

2025-01-30 Thread Timo Rothenpieler
From: Diego de Souza This commit adds support for 4:2:2 encoding for HEVC and H.264 on NVIDIA Blackwell GPUs. Additionally, it supports 10-bit encoding for H.264 on Blackwell GPUs. Signed-off-by: Diego de Souza --- libavcodec/nvenc.c | 68 + libavco

[FFmpeg-devel] [PATCH 3/9] avcodec/cuviddec: add HEVC/H.264 4:2:2 and H.264 10-bit support

2025-01-30 Thread Timo Rothenpieler
From: Diego de Souza This commit adds support for 4:2:2 decoding for HEVC and H.264 on NVIDIA Blackwell GPUs for cuviddec. Moreover, it supports 10-bit decoding for H.264 on Blackwell GPUs. Signed-off-by: Diego de Souza --- libavcodec/cuviddec.c | 83 +--

[FFmpeg-devel] [PATCH 2/9] avcodec/nvdec: add 4:2:2 decoding and 10-bit support

2025-01-30 Thread Timo Rothenpieler
From: Diego de Souza This commit adds support for 4:2:2 decoding for HEVC and H.264 on NVIDIA Blackwell GPUs. Additionally, it supports 10-bit decoding for H.264 on Blackwell GPUs. Signed-off-by: Diego de Souza --- libavcodec/h264_slice.c | 3 +++ libavcodec/hevc/hevcdec.c | 6 ++ liba

[FFmpeg-devel] [PATCH 1/9] avutil/hwcontext_cuda: add 4:2:2 pixel format support

2025-01-30 Thread Timo Rothenpieler
From: Diego de Souza This commit adds support for 4:2:2 pixel formats, namely NV16 and P216 for NVIDIA GPUs. Signed-off-by: Diego de Souza --- libavutil/hwcontext_cuda.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavutil/hwcontext_cuda.c b/libavutil/hwcontext_cuda.c index 3de38473

[FFmpeg-devel] [PATCH 0/9] Nvidia Video Codec SDK 13.0 support

2025-01-30 Thread Timo Rothenpieler
This series adds support for new features and capabilities added in todays release of the Video Codec SDK 13.0. Diego de Souza (7): avutil/hwcontext_cuda: add 4:2:2 pixel format support avcodec/nvdec: add 4:2:2 decoding and 10-bit support avcodec/cuviddec: add HEVC/H.264 4:2:2 and H.264 10-b

Re: [FFmpeg-devel] GSoC 2025

2025-01-30 Thread Michael Niedermayer
Hi CC As i was speaking of infighting this reply seems to provide a good example of the problem FFmpeg has. But also it is insulting toward Yigithan as well as me. As well as really misrepresenting what my mail said. thx On Wed, Jan 29, 2025 at 07:31:45PM +, Kieran Kunhya via ffmpeg-devel w

Re: [FFmpeg-devel] Democratization work in progress draft v2

2025-01-30 Thread Michael Niedermayer
Hi Niklas On Thu, Jan 30, 2025 at 12:43:13AM +0100, Niklas Haas wrote: > On Wed, 29 Jan 2025 21:33:21 +0100 Michael Niedermayer > wrote: > > Hi all > > > > Heres my current "work in progress": (sending that before fosdem, so people > > can discuss if they like) > > > > Goals: > > The prop

[FFmpeg-devel] [PATCH v3] avformat/riffdec: warn on invalid sample rate

2025-01-30 Thread Viraaj Raulgaonkar
If std_strict_compliance < FF_COMPLIANCE_STRICT, then warn the user of the invalid sample rate instead of returning an error. This allows the sample rate to be decoded in certain cases. Fixes Trac Ticket #11361. --- libavformat/riffdec.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-

Re: [FFmpeg-devel] [PATCH] Replace broken Web IRC link

2025-01-30 Thread Timo Rothenpieler
On 30/01/2025 05:42, Marth64 wrote: LGTM. I had noticed that #ffmpeg channel has +r mode but #ffmpeg-devel does not which can confuse people. So if user does not have registered nick they will only be loaded into #ffmpeg-devel. Maybe this gets changed or explained in a second patch later but thi

Re: [FFmpeg-devel] [PATCH] avcodec/hevc/hevcdec: Don't add to null pointer

2025-01-30 Thread James Almer
On 1/30/2025 2:39 AM, Vitaly Buka via ffmpeg-devel wrote: Hello, Would it be possible to merge this patch? Thanks, Vitaly Pushed, thanks. OpenPGP_signature.asc Description: OpenPGP digital signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmp

Re: [FFmpeg-devel] [PATCH] avformat/mov: fix overflow in drift timestamp calculation

2025-01-30 Thread James Almer
On 1/28/2025 9:23 PM, James Almer wrote: Fixes: signed integer overflow: 7803923888585309955 - -3407677434275325337 cannot be represented in type 'int64_t' (aka 'long') Fixes: 377736723/clusterfuzz-testcase-minimized-media_pipeline_integration_fuzzer-5052449500889088 Signed-off-by: James Almer

[FFmpeg-devel] [PATCH] avcodec/amfenc: DX12 Reference-only feature support

2025-01-30 Thread Araz Iusubov
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 D3D12_RESOURCE_FLAG_VIDEO_DECODE_REFERENCE_ONLY resource flag. Reference textures must also be separated fr

[FFmpeg-devel] [PATCH] avcodec/speexdec: fix frame_size for mode == 2

2025-01-30 Thread James Almer
Should match the non-extradata path now, and fix ticket #11078. Signed-off-by: James Almer --- libavcodec/speexdec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/speexdec.c b/libavcodec/speexdec.c index d25823ef6e..b335e2fbe8 100644 --- a/libavcodec/speexd

[FFmpeg-devel] [PATCH] avformat/rtmp: Increase filename size to allow for longer playpaths

2025-01-30 Thread Adam Wall
The current filename length for the stream name when RTMP is acting as a server is too short. Certain services such as Amazon IVS use very long streamkeys (close to 500 characters) when using the new enhanced RTMP multitrack feature. When using software such as OBS that can utilize Amazon IVS mult

Re: [FFmpeg-devel] [PATCH] ffmpeg_demux: don't print input error for AVERROR_EXIT

2025-01-30 Thread Gyan Doshi
On 2025-01-29 10:24 am, Gyan Doshi wrote: On 2025-01-27 10:48 am, Gyan Doshi wrote: This error code is for expected exits, like after listing options for a device. Plan to push tomorrow. Pushed as 1911a6ec26236588f72413c2b9bfe54a97a6a145 Regards, Gyan _

Re: [FFmpeg-devel] GSoC 2025

2025-01-30 Thread Sean McGovern
Hi, On Thu, Jan 30, 2025 at 1:36 AM Vittorio Giovara wrote: > > On Wed, Jan 29, 2025 at 9:02 PM Ronald S. Bultje wrote: > > > Hi, > > > > On Wed, Jan 29, 2025 at 2:32 PM Kieran Kunhya via ffmpeg-devel < > > ffmpeg-devel@ffmpeg.org> wrote: > > > > > It's clear the contribution method is outdated

Re: [FFmpeg-devel] [PATCH v2] avformat/riffdec: warn on invalid sample rate

2025-01-30 Thread Viraaj Raulgaonkar
Hi Marton, On Mon, Jan 27, 2025 at 1:25 AM Marton Balint wrote: > > > > On Sun, 26 Jan 2025, Viraaj Raulgaonkar wrote: > > > Instead of returning an error for invalid sample rates, warn the user > > and set sample_rate to INT_MAX. This allows the sample rate to be > > decoded in certain cases. >

Re: [FFmpeg-devel] Democratization

2025-01-30 Thread Vittorio Giovara
On Wed, Jan 29, 2025 at 10:21 PM Niklas Haas wrote: > On Wed, 29 Jan 2025 21:51:27 +0100 Nicolas George wrote: > > Niklas Haas (12025-01-29): > > > I think the most important crux of the problem is a fundamental > disagreement > > > between Michael and the "community" (for lack of a better term)

Re: [FFmpeg-devel] Democratization

2025-01-30 Thread Vittorio Giovara
On Thu, Jan 30, 2025 at 9:02 AM Nicolas George wrote: > Vittorio Giovara (12025-01-30): > > No, what we're seeing is a few representatives of the community > > Nobody appointed them. > > Nobody appointed you. > > I am more representative of the community than anybody who has been > bullying Micha

Re: [FFmpeg-devel] [PATCH] avcodec/h263dec: Check against previous dimensions instead of coded

2025-01-30 Thread Kacper Michajlow
On Thu, 30 Jan 2025 at 02:57, Michael Niedermayer wrote: > > Fixes: out of array access > Fixes: crash-a41ef3db699013f669b076f02f36942925f5a98c > > Found-by: Kacper Michajlow > Signed-off-by: Michael Niedermayer > --- > libavcodec/h263dec.c | 13 + > 1 file changed, 9 insertions(+),

Re: [FFmpeg-devel] [PATCH] avcodec/jpegxl_parse{, r}: fix integer overflow for some malformed files

2025-01-30 Thread Kacper Michajlow
On Wed, 29 Jan 2025 at 20:58, Leo Izen wrote: > > If there's a very large ISOBMFF box that needs to be skipped, it can > cause an overflow for ctx->skip. There's already a safeguard to return > quickly if ctx->skip > bufsize, so changing ctx->skip to int64_t will > allow this to happen even if ctx

Re: [FFmpeg-devel] Democratization

2025-01-30 Thread Tobias Rapp
On 29/01/2025 12:52, Soft Works wrote: [...] for (i=0; i<12; i++) { print("You did this you did that"); } if (!()) { for (i=0; i<1000; i++) { sendEmail(""); } } Sounds like the accusations are more a leverage than a concern..? Sounds like you are not adding anythi

Re: [FFmpeg-devel] Democratization

2025-01-30 Thread Nicolas George
Vittorio Giovara (12025-01-30): > No, what we're seeing is a few representatives of the community Nobody appointed them. Nobody appointed you. I am more representative of the community than anybody who has been bullying Michael to leave. ___ ffmpeg-dev