[FFmpeg-devel] [PATCH 0/3] avformat/matroska: add ordered-chapter parsing

2025-11-19 Thread Alexander Westberg-Bladh via ffmpeg-devel
Hi, This short series lays the groundwork for ordered-chapter playback in Matroska, fixing trac ticket #3123. To start with I added type defs and parsing for editions. I stay compatible with the existing logic by fetching the chapters from all editions thereby flattening the structure. I think

[FFmpeg-devel] [PATCH 1/3] avformat/matroska: Add element IDs for ordered chapters

2025-11-19 Thread Alexander Westberg-Bladh via ffmpeg-devel
Add MATROSKA_ID_CHAPTERSEGMENTUID and MATROSKA_ID_CHAPTERSEGMENTEDITIONUID element IDs to support parsing of ordered chapters segment linking. Signed-off-by: Alexander Westberg-Bladh --- libavformat/matroska.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/matroska.h b/libavfo

[FFmpeg-devel] [PATCH 3/3] avformat/matroskadec: Update EBML syntax to parse EditionEntry

2025-11-19 Thread Alexander Westberg-Bladh via ffmpeg-devel
Update matroska_chapters[] syntax to parse EditionEntry elements into matroska->editions instead of the flat matroska->chapters list. update chapter finding code to look through all editions. Signed-off-by: Alexander Westberg-Bladh --- libavformat/matroskadec.c | 85 ++---

[FFmpeg-devel] Re: [GASPP PATCH 1/2] Pass "-machine" options through to armasm

2025-11-16 Thread Harish Raja Selvan via ffmpeg-devel
Hi Martin and Rémi, Thank you for the clarification and for summarizing the discussion. I understand the concerns about ABI consistency and the maintenance implications. To clarify the intended use case: many Windows applications such as Jianying Pro,

[FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: Fix B-frame timestamp handling for proper PTS/DTS ordering

2025-11-15 Thread Bo Xu boxuffmpeg--- via ffmpeg-devel
From: boxu VideoToolbox encoder with B-frames can produce non-monotonic DTS values, causing playback issues. This patch implements a complete timestamp reset strategy to ensure correct PTS/DTS ordering. The fix: - Generates monotonic DTS values based on decode order (frame counter) - Preserves V

[FFmpeg-devel] [PATCH] avcodec/nvenc_av1: Correct CQ range for AV1

2024-05-27 Thread Diego Felix de Souza via ffmpeg-devel
From: Diego Felix de Souza The Constant Quality (CQ) range for the AV1 codec is actually 0 to 63, contrary to what is stated in the header and documentation. Signed-off-by: Diego Felix de Souza --- libavcodec/nvenc_av1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/l

[FFmpeg-devel] [PATCH] Add extra const to FF_PFNGLSHADERSOURCEPROC.

2024-05-31 Thread Billy O'Neal (VC AIR) via ffmpeg-devel
Resolves the following compiler error on macOS 14.5: ```console /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl3.h:1891:21: note: 'glShaderSource' has been explicitly marked deprecated here GLAPI void APIENTRY glShaderSource (GLuint sh

Re: [FFmpeg-devel] [PATCH] Add extra const to FF_PFNGLSHADERSOURCEPROC.

2024-06-03 Thread Billy O'Neal (VC AIR) via ffmpeg-devel
[email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Billy O'Neal (VC AIR) via ffmpeg-devel: > Resolves the following compiler error on macOS 14.5: > > ```console > /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/System/Li

Re: [FFmpeg-devel] [PATCH] Add extra const to FF_PFNGLSHADERSOURCEPROC.

2024-06-04 Thread Billy O'Neal (VC AIR) via ffmpeg-devel
mpeg.org Subject: Re: [FFmpeg-devel] [PATCH] Add extra const to FF_PFNGLSHADERSOURCEPROC. Billy O'Neal (VC AIR) via ffmpeg-devel: > Assigning the non-const version to the const version is valid (at least, > builds on other platforms succeeded). > It is not valid: "If a converted

Re: [FFmpeg-devel] [PATCH] Add extra const to FF_PFNGLSHADERSOURCEPROC.

2024-06-04 Thread Billy O'Neal (VC AIR) via ffmpeg-devel
Resolves the following compiler error on macOS 14.5: ```console /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl3.h:1891:21: note: 'glShaderSource' has been explicitly marked deprecated here GLAPI void APIENTRY glShaderSource (GLuint sh

Re: [FFmpeg-devel] [PATCH] Add extra const to FF_PFNGLSHADERSOURCEPROC.

2024-06-10 Thread Billy O'Neal (VC AIR) via ffmpeg-devel
'Neal Visual C++ - vcpkg From: ffmpeg-devel on behalf of Billy O'Neal (VC AIR) via ffmpeg-devel Sent: Tuesday, June 4, 2024 8:39 PM To: [email protected] Cc: Billy O'Neal (VC AIR) Subject: Re: [FFmpeg-devel] [PATCH] Add extra const to FF_P

[FFmpeg-devel] [PATCH] Multi NVENC Split Frame Encoding in HEVC and AV1

2024-04-11 Thread Diego Felix de Souza via ffmpeg-devel
From: Diego Felix de Souza When Split frame encoding is enabled, each input frame is partitioned into horizontal strips which are encoded independently and simultaneously by separate NVENCs, usually resulting in increased encoding speed compared to single NVENC encoding. --- libavcodec/nvenc.c

Re: [FFmpeg-devel] [PATCH] Multi NVENC Split Frame Encoding in HEVC and AV1

2024-04-12 Thread Diego Felix de Souza via ffmpeg-devel
discussions and patches Cc: Diego Felix de Souza Subject: Re: [FFmpeg-devel] [PATCH] Multi NVENC Split Frame Encoding in HEVC and AV1 External email: Use caution opening links or attachments On 11/04/2024 13:58, Diego Felix de Souza via ffmpeg-devel wrote: > From: Diego Felix de Souza >

[FFmpeg-devel] [PATCH v2 1/2] avcodec/nvenc: Multi NVENC Split Frame Encoding in HEVC and AV1

2024-04-12 Thread Diego Felix de Souza via ffmpeg-devel
From: Diego Felix de Souza When Split frame encoding is enabled, each input frame is partitioned into horizontal strips which are encoded independently and simultaneously by separate NVENCs, usually resulting in increased encoding speed compared to single NVENC encoding. Signed-off-by: Diego Fel

[FFmpeg-devel] [PATCH v2 2/2] avcodec/nvenc: Multi NVENC Split Frame Encoding in HEVC and AV1

2024-04-12 Thread Diego Felix de Souza via ffmpeg-devel
From: Diego Felix de Souza When Split frame encoding is enabled, each input frame is partitioned into horizontal strips which are encoded independently and simultaneously by separate NVENCs, usually resulting in increased encoding speed compared to single NVENC encoding. Signed-off-by: Diego Fel

[FFmpeg-devel] [PATCH] avcodec/nvenc: High bit depth encoding for HEVC

2024-04-15 Thread Diego Felix de Souza via ffmpeg-devel
From: Diego Felix de Souza Adding 10-bit encoding support for HEVC if the input is 8-bit. In case of 8-bit input content, NVENC performs an internal CUDA 8 to 10-bit conversion of the input prior to encoding. Currently, only AV1 supports encoding 8-bit content as 10-bit. Signed-off-by: Diego Fel

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: High bit depth encoding for HEVC

2024-04-18 Thread Diego Felix de Souza via ffmpeg-devel
Hi Timo, Thank you for your review. Please check my answers below. Best regards, Diego On 17.04.24, 16:27, "Timo Rothenpieler" wrote: External email: Use caution opening links or attachments On 15/04/2024 16:39, Diego Felix de Souza via ffmpeg-devel wrote: > From: Diego F

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: High bit depth encoding for HEVC

2024-04-19 Thread Diego Felix de Souza via ffmpeg-devel
Hi Roman and Timo, Timo is right. As a general rule, hybrid video coding standards allow encoders to take advantage of encoding a 8-bit input as 10-bit due to the interpolation filters (inter and intra) and transform coding at 10-bit depth. This can generate a better prediction and reduced bandi

[FFmpeg-devel] [PATCH v2] avcodec/nvenc: High bit depth encoding for HEVC

2024-04-19 Thread Diego Felix de Souza via ffmpeg-devel
From: Diego Felix de Souza Adding 10-bit encoding support for HEVC if the input is 8-bit. In case of 8-bit input content, NVENC performs an internal CUDA 8 to 10-bit conversion of the input prior to encoding. Currently, only AV1 supports encoding 8-bit content as 10-bit. Signed-off-by: Diego Fel

[FFmpeg-devel] x265 rpu processing

2023-09-28 Thread Robin van der Linden via ffmpeg-devel
Hello, I've observed that the "-x265-params dolby-vision-rpu /path/to/rpu" doesn't seem to work in my ffmpeg command. Though the libx265 documentation indicates the presence of this parameter, ffmpeg appears to be having trouble recognizing it. In fact, ffmpeg reports it as an unknown paramet

Re: [FFmpeg-devel] x265 rpu processing

2023-09-28 Thread Robin van der Linden via ffmpeg-devel
55s (11.08 fps), 687.17 kb/s, Avg QP:26.82 Thanks in advance, Robin Am 2023-09-28 12:01, schrieb Andreas Rheinhardt: Robin van der Linden via ffmpeg-devel: Hello, I've observed that the "-x265-params dolby-vision-rpu /path/to/rpu" doesn't seem to work in my ffmpeg command. T

[FFmpeg-devel] 0001-Fix-HLG-10bit-color-transfer

2024-07-07 Thread 激情澎湃 via ffmpeg-devel
[email protected]   0001-Fix-HLG-10bit-color-transfer.patch Description: Binary data ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel

[FFmpeg-devel] [PATCH] avcodec/av1_vaapi: Enable AV1Profile2 VAAPI support.

2024-07-30 Thread David (Ming Qiang) Wu via ffmpeg-devel
AV1Profile2 VAAPI is supported and tested on AMD VCN5. Signed-off-by: David (Ming Qiang) Wu --- libavcodec/av1dec.c | 3 +++ libavcodec/vaapi_decode.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c index 1d5b9ef4f4..77f63661a0 100644 --- a

[FFmpeg-devel] [PATCH v2 3/3] avfilter/scale_cuda: Add support for 4:2:2 chroma subsampling

2025-07-07 Thread Diego Felix de Souza via ffmpeg-devel
--- Begin Message --- From: Diego de Souza The supported YUV pixel formats were separated between planar and semiplanar. This approach reduces the number of CUDA kernels for all pixel formats. This patch: 1. Adds support for YUV 4:2:2 planar and semi-planar formats: yuv422p, yuv422p10, n

[FFmpeg-devel] [PATCH v2 2/3] avfilter/hwupload_cuda: Expands pixel formats support

2025-07-07 Thread Diego Felix de Souza via ffmpeg-devel
--- Begin Message --- From: Diego de Souza Add support for uploading additional pixel formats to NVIDIA GPUs: - Planar formats (yuv420p10, yuv422p, yuv422p10, yuv444p10) - Semiplanar formats (nv16, p210, p216) Signed-off-by: Diego de Souza --- libavfilter/vf_hwupload_cuda.c | 6 +++--- 1 file

[FFmpeg-devel] [PATCH v2 1/3] avutil/hwcontext_cuda: Expands pixel formats support

2025-07-07 Thread Diego Felix de Souza via ffmpeg-devel
--- Begin Message --- From: Diego de Souza Add support for additional pixel formats in CUDA hardware context: - Planar formats (yuv420p10, yuv422p, yuv422p10, yuv444p10) - Semiplanar formats (nv16, p210, p216) Signed-off-by: Diego de Souza --- libavutil/hwcontext_cuda.c | 4 1 file change

[FFmpeg-devel] [PATCH] avcodec/nvenc: Fix MV-HEVC encoding display SEI handling

2025-07-08 Thread Diego Felix de Souza via ffmpeg-devel
--- Begin Message --- From: Diego de Souza Remove redundant display_sei_sent flag for 3D reference display info handling in MV-HEVC encoding. The display SEI must be sent for every frame in the multi-view sequence. Signed-off-by: Diego de Souza --- libavcodec/nvenc.c | 4 +--- libavcodec/nvenc

[FFmpeg-devel] [PATCH 3/3] avfilter/scale_cuda: Add support for 4:2:2 chroma subsampling

2025-07-03 Thread Diego Felix de Souza via ffmpeg-devel
--- Begin Message --- From: Diego de Souza The supported YUV pixel formats were separated between planar and semiplanar. This approach reduces the number of CUDA kernels for all pixel formats. This patch: 1. Adds support for YUV 4:2:2 planar and semi-planar formats: yuv422p, yuv422p10, n

[FFmpeg-devel] [PATCH 1/3] avutil/hwcontext_cuda: Expands pixel formats support

2025-07-03 Thread Diego Felix de Souza via ffmpeg-devel
--- Begin Message --- From: Diego de Souza Add support for additional pixel formats in CUDA hardware context: - Planar formats (yuv420p10, yuv422p, yuv422p10, yuv444p10) - Semiplanar formats (nv16, p210, p216) Signed-off-by: Diego de Souza --- libavutil/hwcontext_cuda.c | 7 ++- 1 file cha

[FFmpeg-devel] [PATCH 2/3] avfilter/hwupload_cuda: Expands pixel formats support

2025-07-03 Thread Diego Felix de Souza via ffmpeg-devel
--- Begin Message --- From: Diego de Souza Add support for uploading additional pixel formats to NVIDIA GPUs: - Planar formats (yuv420p10, yuv422p, yuv422p10, yuv444p10) - Semiplanar formats (nv16, p210, p216) Signed-off-by: Diego de Souza --- libavfilter/vf_hwupload_cuda.c | 6 +++--- 1 file

[FFmpeg-devel] [PATCH] avformat/matroskadec: Accept WebVTT subtitles with empty cues

2025-05-20 Thread Marcos Del Sol Vives via ffmpeg-devel
Fixes: #11493 --- libavformat/matroskadec.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 29e35e6dd4..2750652c51 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -3824,9 +3824,6 @@ static int matroska_pars

[FFmpeg-devel] [PATCH] avformat/webvttdec: improve WebVTT parsing

2025-05-27 Thread Marcos Del Sol Vives via ffmpeg-devel
The parser will now strictly check if WebVTT files start with the correct "WEBVTT" marker. Before, files were not checked if they truly started with it. It will also now ignore all non-cue blocks, instead of only a hardcoded list. This is closer to the specification that calls for no action if unk

<    30   31   32   33   34   35