Re: [FFmpeg-devel] [PATCH] avformat/tls_openssl: fix build error when openssl version < 3

2025-06-05 Thread Martin Storsjö
On Thu, 5 Jun 2025, Jack Lau via ffmpeg-devel wrote: fix the missing data structure pkey in the tls_context Signed-off-by: Jack Lau --- libavformat/tls_openssl.c | 30 +- 1 file changed, 17 insertions(+), 13 deletions(-) Thanks, this does fix the build break. Howev

[FFmpeg-devel] [PATCH v2] avformat/hlsenc: add hls_min_time to guarantee minimal segment duration

2025-06-05 Thread Ingo Oppermann
The current implementation of the hls_time might produce segments with shorter duration in some cases which is not as expected. With the hls_min_time option the minimal segment duration will be guaranteed by splitting by the next keyframe after the desired duration of the segment has been reached.

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/libaom: Add tests for HDR10+ metadata support

2025-06-05 Thread Andreas Rheinhardt
Maryla Ustarroz via ffmpeg-devel: > On Fri, May 30, 2025 at 2:52 PM Andreas Rheinhardt > wrote: >> >> Maryla Ustarroz-Calonge via ffmpeg-devel: >>> The new fate sample av1/metadata_hdr10_plus.ivf used in the second >>> test is the output of the first test. >>> >>> Signed-off-by: Maryla Ustarroz-Ca

[FFmpeg-devel] [PATCH 2/2] avformat/whip: Constify arguments in is_rtp_rtcp/is_rtcp

2025-06-05 Thread Zhao Zhili
From: Zhao Zhili Fix warning of -Wincompatible-pointer-types-discards-qualifiers. --- libavformat/whip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/whip.c b/libavformat/whip.c index 0671e23635..710f24fc5a 100644 --- a/libavformat/whip.c +++ b/libavformat/

Re: [FFmpeg-devel] [PATCH] avformat/tls_openssl: fix build error when openssl version < 3

2025-06-05 Thread Martin Storsjö
On Thu, 5 Jun 2025, Jack Lau wrote: On Jun 5, 2025, at 15:02, Martin Storsjö wrote: On Thu, 5 Jun 2025, Jack Lau via ffmpeg-devel wrote: fix the missing data structure pkey in the tls_context Signed-off-by: Jack Lau --- libavformat/tls_openssl.c | 30 +- 1 file c

[FFmpeg-devel] [PATCH] avfilter: add CUDA-accelerated transpose filter

2025-06-05 Thread Faeez Kadiri
Add a new CUDA-accelerated transpose filter (transpose_cuda) that provides hardware-accelerated video transposition operations on NVIDIA GPUs using CUDA. This filter supports all the same transpose operations as the CPU transpose filter while leveraging GPU acceleration for improved performance. S

[FFmpeg-devel] [PATCH 1/2] avformat/tls: Fix integer overflow with option mtu

2025-06-05 Thread Zhao Zhili
From: Zhao Zhili --- libavformat/tls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/tls.h b/libavformat/tls.h index cb626f1977..2f381acc04 100644 --- a/libavformat/tls.h +++ b/libavformat/tls.h @@ -90,7 +90,7 @@ typedef struct TLSShared { {"verifyhost", "V

[FFmpeg-devel] [PATCH] lavu/hwcontext_vaapi: Fix drmVersionPtr leak

2025-06-05 Thread Vicki Pfau
A new branch was added to this loop in dbd74ba3c8f2a11f6ce6c177acfd3bbf1c0ba763 that would either continue or break, but neglected to free the pointer obtained during the loop that had been freed in all previous paths. Signed-off-by: Vicki Pfau --- libavutil/hwcontext_vaapi.c | 1 + 1 file chang

[FFmpeg-devel] [PATCH] avformat/whip: set this muxer as experimental

2025-06-05 Thread Jack Lau via ffmpeg-devel
Signed-off-by: Jack Lau --- libavformat/whip.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavformat/whip.c b/libavformat/whip.c index 0671e23635..e7cd57400d 100644 --- a/libavformat/whip.c +++ b/libavformat/whip.c @@ -1733,6 +1733,12 @@ static av_cold int whip_init(AVFormatContex

Re: [FFmpeg-devel] [PATCH] avformat/whip: set this muxer as experimental

2025-06-05 Thread Kieran Kunhya via ffmpeg-devel
On Thu, Jun 5, 2025 at 3:55 PM Jack Lau via ffmpeg-devel wrote: > > Signed-off-by: Jack Lau > --- > libavformat/whip.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/libavformat/whip.c b/libavformat/whip.c > index 0671e23635..e7cd57400d 100644 > --- a/libavformat/whip.c > +++ b/l

Re: [FFmpeg-devel] [PATCH] avformat/format: make experimental flag works for muxer

2025-06-05 Thread James Almer
On 6/5/2025 1:06 PM, Zhao Zhili wrote: From: Zhao Zhili --- libavformat/avformat.h | 3 +-- libavformat/format.c | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 2034d2aecc..6edcf11022 100644 --- a/libavformat/avf

Re: [FFmpeg-devel] [PATCH] avformat/format: make experimental flag works for muxer

2025-06-05 Thread Zhao Zhili
> On Jun 6, 2025, at 00:09, James Almer wrote: > > On 6/5/2025 1:06 PM, Zhao Zhili wrote: >> From: Zhao Zhili >> --- >> libavformat/avformat.h | 3 +-- >> libavformat/format.c | 2 ++ >> 2 files changed, 3 insertions(+), 2 deletions(-) >> diff --git a/libavformat/avformat.h b/libavformat/av

[FFmpeg-devel] [PATCH v2 1/4] avcodec/ac3_parser: use a padded buffer in av_ac3_parse_header()

2025-06-05 Thread James Almer
The GetBitContext API requires the buffer to be padded, and the documentation for av_ac3_parse_header() does not specify it, so use a temporary local buffer. Signed-off-by: James Almer --- libavcodec/ac3_parser.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavcode

[FFmpeg-devel] [PATCH 2/2] avformat/whip: check the exchange sdp url is start with http

2025-06-05 Thread Steven Liu
Make sure the WHIP protocol performs the SDP offer/answer exchange with the WebRTC peer over HTTP. Signed-off-by: Steven Liu --- libavformat/whip.c | 8 1 file changed, 8 insertions(+) diff --git a/libavformat/whip.c b/libavformat/whip.c index ce06a66bc4..b78ad27858 100644 --- a/libavf

Re: [FFmpeg-devel] [PATCH] tests/fate/mov: Add bitexact for fate-mov-mp4-frag-flush

2025-06-05 Thread Zhao Zhili
> On Jun 6, 2025, at 10:35, Michael Niedermayer wrote: > > On Fri, Jun 06, 2025 at 03:40:33AM +0200, Andreas Rheinhardt wrote: >> Michael Niedermayer: >>> Signed-off-by: Michael Niedermayer >>> --- >>> tests/fate/mov.mak | 4 ++-- >>> 1 file changed, 2 insertions(+), 2 deletions(-) >>> >>> dif

Re: [FFmpeg-devel] [PATCH] avformat/whip: set this muxer as experimental

2025-06-05 Thread James Almer
On 6/5/2025 11:54 AM, Jack Lau via ffmpeg-devel wrote: Signed-off-by: Jack Lau --- libavformat/whip.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavformat/whip.c b/libavformat/whip.c index 0671e23635..e7cd57400d 100644 --- a/libavformat/whip.c +++ b/libavformat/whip.c @@ -173

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/ac3_parser: use a padded buffer in av_ac3_parse_header()

2025-06-05 Thread Andreas Rheinhardt
James Almer: > On 6/5/2025 9:32 PM, Andreas Rheinhardt wrote: >> James Almer: >>> On 6/5/2025 9:29 PM, Andreas Rheinhardt wrote: James Almer: > The GetBitContext API requires the buffer to be padded, and the > documentation for > av_ac3_parse_header() does not specify it, so use a

Re: [FFmpeg-devel] [PATCH] tests/fate/mov: Add bitexact for fate-mov-mp4-frag-flush

2025-06-05 Thread Michael Niedermayer
On Fri, Jun 06, 2025 at 03:40:33AM +0200, Andreas Rheinhardt wrote: > Michael Niedermayer: > > Signed-off-by: Michael Niedermayer > > --- > > tests/fate/mov.mak | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/tests/fate/mov.mak b/tests/fate/mov.mak > > index b9

[FFmpeg-devel] [PATCH v2] avformat/format: make experimental flag works for muxer

2025-06-05 Thread Zhao Zhili
From: Zhao Zhili --- libavformat/avformat.h | 3 +-- libavformat/format.c | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 2034d2aecc..441e31bc2f 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -470

[FFmpeg-devel] [PATCH 1/2] avformat/whip: Remove unnecessary pkt checks

2025-06-05 Thread Steven Liu
h264_annexb_insert_sps_pps (called after write_packet) reorganizes PPS, SPS, and IDR packets in H.264 streams. Since write_packet already validates pkt, redundant null checks in h264_annexb_insert_sps_pps can be removed. Signed-off-by: Steven Liu --- libavformat/whip.c | 2 -- 1 file changed, 2

[FFmpeg-devel] [PATCH] swscale/aarch64/output: Implement neon assembly for yuv2nv12cX_c()

2025-06-05 Thread Harshitha Sarangu Suresh
Changed indentation, checked for FATE tests and gha-aarch64 git workflow. Everything passed. >From 4a590438d61a10d4f75c7a567af2890bc08332ca Mon Sep 17 00:00:00 2001 From: Harshitha Suresh Date: Mon, 19 May 2025 22:37:20 +0530 Subject: [PATCH] swscale/aarch64/output: Implement neon assembly for

Re: [FFmpeg-devel] [PATCH] tests/fate/mov: Add bitexact for fate-mov-mp4-frag-flush

2025-06-05 Thread Andreas Rheinhardt
Michael Niedermayer: > Signed-off-by: Michael Niedermayer > --- > tests/fate/mov.mak | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tests/fate/mov.mak b/tests/fate/mov.mak > index b966249dc07..117d6581e9b 100644 > --- a/tests/fate/mov.mak > +++ b/tests/fate/mov.mak

Re: [FFmpeg-devel] [PATCH] avformat/whip: set this muxer as experimental

2025-06-05 Thread Jack Lau
> On Jun 5, 2025, at 22:56, James Almer wrote: > > On 6/5/2025 11:54 AM, Jack Lau via ffmpeg-devel wrote: >> Signed-off-by: Jack Lau >> --- >> libavformat/whip.c | 6 ++ >> 1 file changed, 6 insertions(+) >> diff --git a/libavformat/whip.c b/libavformat/whip.c >> index 0671e23635..e7cd574

Re: [FFmpeg-devel] [PATCH v3] avformat/whip: Add WHIP muxer support for subsecond latency streaming

2025-06-05 Thread Kieran Kunhya via ffmpeg-devel
On Thu, 5 Jun 2025, 00:03 Jack Lau, wrote: > > > > On Jun 5, 2025, at 06:20, Kieran Kunhya via ffmpeg-devel < > ffmpeg-devel@ffmpeg.org> wrote: > > > > On Wed, 4 Jun 2025, 12:46 Steven Liu, wrote: > > > >> Kieran Kunhya via ffmpeg-devel 于2025年6月4日周三 > >> 19:35写道: > >> Hi Kieran, > >> > >>> > >>

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/ac3_parser: handle more header bits in ff_ac3_parse_header()

2025-06-05 Thread Baptiste Coudurier
> On Jun 5, 2025, at 2:49 PM, James Almer wrote: > > Signed-off-by: James Almer > --- > > diff --git a/libavcodec/ac3_parser_internal.h > b/libavcodec/ac3_parser_internal.h > index 46814bfb1f..ab5df34003 100644 > --- a/libavcodec/ac3_parser_internal.h > +++ b/libavcodec/ac3_parser_internal.h

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/ac3_parser: use a padded buffer in av_ac3_parse_header()

2025-06-05 Thread James Almer
On 6/5/2025 9:14 PM, James Almer wrote: The GetBitContext API requires the buffer to be padded, and the documentation for av_ac3_parse_header() does not specify it, so use a temporary local buffer. Signed-off-by: James Almer --- libavcodec/ac3_parser.c | 16 +--- 1 file changed,

[FFmpeg-devel] [PATCH 1/4] avcodec/ac3_parser: use a padded buffer in av_ac3_parse_header()

2025-06-05 Thread James Almer
The GetBitContext API requires the buffer to be padded, and the documentation for av_ac3_parse_header() does not specify it, so use a temporary local buffer. Signed-off-by: James Almer --- libavcodec/ac3_parser.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --gi

[FFmpeg-devel] [PATCH v2 3/4] avformat/movenc: fix writing reserved bits in EC3SpecificBox

2025-06-05 Thread James Almer
As described in section F.6.1 from ETSI TS 102 366. Found-by: nyanmisaka Signed-off-by: James Almer --- libavformat/movenc.c | 2 +- tests/ref/fate/copy-trac3074 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 594

[FFmpeg-devel] [PATCH v2 4/4] avformat/movenc: handle EAC-3 extension bits for Atmos

2025-06-05 Thread James Almer
From: nyanmisaka Fixes commit #9996. Signed-off-by: James Almer --- libavformat/movenc.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 7bcdc2463d..cd5b45f6fe 100644 --- a/libavformat/movenc.c +++ b/libavformat/

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/ac3_parser: use a padded buffer in av_ac3_parse_header()

2025-06-05 Thread Andreas Rheinhardt
James Almer: > The GetBitContext API requires the buffer to be padded, and the documentation > for > av_ac3_parse_header() does not specify it, so use a temporary local buffer. > > Signed-off-by: James Almer > --- > libavcodec/ac3_parser.c | 16 +--- > 1 file changed, 13 insertions(

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/ac3_parser: use a padded buffer in av_ac3_parse_header()

2025-06-05 Thread James Almer
On 6/5/2025 9:29 PM, Andreas Rheinhardt wrote: James Almer: The GetBitContext API requires the buffer to be padded, and the documentation for av_ac3_parse_header() does not specify it, so use a temporary local buffer. Signed-off-by: James Almer --- libavcodec/ac3_parser.c | 16 +

[FFmpeg-devel] [PATCH v2 2/4] avcodec/ac3_parser: handle more header bits in ff_ac3_parse_header()

2025-06-05 Thread James Almer
Signed-off-by: James Almer --- libavcodec/ac3_parser.c | 219 +++ libavcodec/ac3_parser_internal.h | 19 +++ libavcodec/ac3dec.c | 88 +++-- libavcodec/ac3dec.h | 4 +- libavcodec/ac3defs.h | 2 + libavcodec/

Re: [FFmpeg-devel] [PATCH v2 3/4] avformat/movenc: fix writing reserved bits in EC3SpecificBox

2025-06-05 Thread Baptiste Coudurier
> On Jun 5, 2025, at 5:14 PM, James Almer wrote: > > As described in section F.6.1 from ETSI TS 102 366. > > Found-by: nyanmisaka > Signed-off-by: James Almer > --- > libavformat/movenc.c | 2 +- > tests/ref/fate/copy-trac3074 | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-)

[FFmpeg-devel] [PATCH] tests/fate/mov: Add bitexact for fate-mov-mp4-frag-flush

2025-06-05 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- tests/fate/mov.mak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/fate/mov.mak b/tests/fate/mov.mak index b966249dc07..117d6581e9b 100644 --- a/tests/fate/mov.mak +++ b/tests/fate/mov.mak @@ -84,9 +84,9 @@ fate-mov-ibi-elst-sta

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/ac3_parser: use a padded buffer in av_ac3_parse_header()

2025-06-05 Thread James Almer
On 6/5/2025 9:32 PM, Andreas Rheinhardt wrote: James Almer: On 6/5/2025 9:29 PM, Andreas Rheinhardt wrote: James Almer: The GetBitContext API requires the buffer to be padded, and the documentation for av_ac3_parse_header() does not specify it, so use a temporary local buffer. Signed-off-by:

Re: [FFmpeg-devel] [PATCH v2 4/4] avformat/movenc: handle EAC-3 extension bits for Atmos

2025-06-05 Thread Baptiste Coudurier
> On Jun 5, 2025, at 5:14 PM, James Almer wrote: > > From: nyanmisaka > > Fixes commit #9996. > > Signed-off-by: James Almer > --- > libavformat/movenc.c | 11 ++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > diff --git a/libavformat/movenc.c b/libavformat/movenc.c > index 7

[FFmpeg-devel] [PATCH] avformat/format: make experimental flag works for muxer

2025-06-05 Thread Zhao Zhili
From: Zhao Zhili --- libavformat/avformat.h | 3 +-- libavformat/format.c | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 2034d2aecc..6edcf11022 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -470

Re: [FFmpeg-devel] [PATCH 3/3] avformat/movenc: handle EAC-3 extension bits for Atmos

2025-06-05 Thread Baptiste Coudurier
> On Jun 5, 2025, at 2:49 PM, James Almer wrote: > > From: nyanmisaka > > Fixes commit #9996. > > Signed-off-by: James Almer > --- > libavformat/movenc.c | 31 +++ > 1 file changed, 15 insertions(+), 16 deletions(-) > > diff --git a/libavformat/movenc.c b/libavfor

Re: [FFmpeg-devel] [PATCH 2/3] avformat/movenc: fix writing reserved bits in EC3SpecificBox

2025-06-05 Thread Baptiste Coudurier
Hi James > On Jun 5, 2025, at 2:49 PM, James Almer wrote: > > As described in section F.6.1 from ETSI TS 102 366. > > Found-by: nyanmisaka > Signed-off-by: James Almer > --- > libavformat/movenc.c | 2 +- > tests/ref/fate/copy-trac3074 | 4 ++-- > 2 files changed, 3 insertions(+), 3 dele

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/ac3_parser: handle more header bits in ff_ac3_parse_header()

2025-06-05 Thread Andreas Rheinhardt
James Almer: > Signed-off-by: James Almer > --- > libavcodec/ac3_parser.c | 218 +++ > libavcodec/ac3_parser_internal.h | 19 +++ > libavcodec/ac3dec.c | 88 +++-- > libavcodec/ac3dec.h | 4 +- > libavcodec/ac3defs.h

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/ac3_parser: use a padded buffer in av_ac3_parse_header()

2025-06-05 Thread Andreas Rheinhardt
James Almer: > On 6/5/2025 9:29 PM, Andreas Rheinhardt wrote: >> James Almer: >>> The GetBitContext API requires the buffer to be padded, and the >>> documentation for >>> av_ac3_parse_header() does not specify it, so use a temporary local >>> buffer. >>> >>> Signed-off-by: James Almer >>> --- >>>

Re: [FFmpeg-devel] [PATCH] avcodec/libaomenc: Avoid code duplication when setting options

2025-06-05 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patch attached. > > - Andreas > Will apply this patch tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit l

Re: [FFmpeg-devel] [PATCH 1/7] avutil/frame: Always return error upon error

2025-06-05 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patches attached. > > - Andreas > Will apply this patchset tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, vi

[FFmpeg-devel] [PATCH] configure: Ignore nullability-completeness apple clang warnings

2025-06-05 Thread Dmitriy Kovalenko
Some of the versions of Apple Clang produces a ton of the warnings related to the missing nullablity specifiers on the existing codebase of ffmpeg which significantly slows down the compilation becuase of the produced output size (especially on CI as a part of external build systems because they us

Re: [FFmpeg-devel] [PATCH] configure: Ignore nullability-completeness apple clang warnings

2025-06-05 Thread Marvin Scholz
On 5 Jun 2025, at 23:06, Dmitriy Kovalenko wrote: > Some of the versions of Apple Clang produces a ton of the warnings > related to the missing nullablity specifiers on the existing codebase of > ffmpeg which significantly slows down the compilation becuase of the > produced output size (especiall

Re: [FFmpeg-devel] [PATCH] configure: Ignore nullability-completeness apple clang warnings

2025-06-05 Thread Martin Storsjö
On Thu, 5 Jun 2025, Dmitriy Kovalenko wrote: Some of the versions of Apple Clang produces a ton of the warnings related to the missing nullablity specifiers on the existing codebase of ffmpeg which significantly slows down the compilation becuase of the produced output size (especially on CI as

[FFmpeg-devel] [PATCH 1/3] avcodec/ac3_parser: handle more header bits in ff_ac3_parse_header()

2025-06-05 Thread James Almer
Signed-off-by: James Almer --- libavcodec/ac3_parser.c | 218 +++ libavcodec/ac3_parser_internal.h | 19 +++ libavcodec/ac3dec.c | 88 +++-- libavcodec/ac3dec.h | 4 +- libavcodec/ac3defs.h | 2 + libavcodec/

[FFmpeg-devel] [PATCH 3/3] avformat/movenc: handle EAC-3 extension bits for Atmos

2025-06-05 Thread James Almer
From: nyanmisaka Fixes commit #9996. Signed-off-by: James Almer --- libavformat/movenc.c | 31 +++ 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 25360b004d..b546c8b545 100644 --- a/libavformat/moven

[FFmpeg-devel] [PATCH 2/3] avformat/movenc: fix writing reserved bits in EC3SpecificBox

2025-06-05 Thread James Almer
As described in section F.6.1 from ETSI TS 102 366. Found-by: nyanmisaka Signed-off-by: James Almer --- libavformat/movenc.c | 2 +- tests/ref/fate/copy-trac3074 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 402

Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: add hls_min_time to guarantee minimal segment duration

2025-06-05 Thread Steven Liu
Ingo Oppermann 于2025年6月5日周四 15:24写道: > > The current implementation of the hls_time might produce segments > with shorter duration in some cases which is not as expected. With the > hls_min_time option the minimal segment duration will be guaranteed by > splitting by the next keyframe after the de

Re: [FFmpeg-devel] [PATCH] avformat/tls_openssl: fix build error when openssl version < 3

2025-06-05 Thread Jack Lau
> On Jun 5, 2025, at 15:02, Martin Storsjö wrote: > > On Thu, 5 Jun 2025, Jack Lau via ffmpeg-devel wrote: > >> fix the missing data structure pkey in the tls_context >> >> Signed-off-by: Jack Lau >> --- >> libavformat/tls_openssl.c | 30 +- >> 1 file changed, 17 i

Re: [FFmpeg-devel] [PATCH] avfilter: add CUDA-accelerated transpose filter

2025-06-05 Thread Timo Rothenpieler
On 05.06.2025 13:09, Faeez Kadiri wrote: Add a new CUDA-accelerated transpose filter (transpose_cuda) that provides hardware-accelerated video transposition operations on NVIDIA GPUs using CUDA. This filter supports all the same transpose operations as the CPU transpose filter while leveraging GP

Re: [FFmpeg-devel] [PATCH] lavc/vaapi_encode_av1: Fix ref_order_hint value for second slot

2025-06-05 Thread David Rosca
On Mon, Apr 14, 2025 at 4:00 PM David Rosca wrote: > > We always use two slots, even when only one L0 reference is supported > by the driver. However we still need to set the correct value for the > ref_order_hint of the second slot. > > Fixes bf9f921ef7 ("avcodec/hw_base_encode: restrict size of

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: Add myself for graph printing

2025-06-05 Thread softworkz .
> -Original Message- > From: ffmpeg-devel On Behalf Of Michael > Niedermayer > Sent: Dienstag, 27. Mai 2025 13:26 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH] MAINTAINERS: Add myself for graph printing > > On Tue, May 27, 2025 at 02:35:06AM +0

Re: [FFmpeg-devel] [PATCH 1/2] swscale: rgb_to_yuv neon optimizations

2025-06-05 Thread Martin Storsjö
On Sat, 31 May 2025, Dmitriy Kovalenko wrote: I've found quite a few ways to optimize existing ffmpeg's rgb to yuv subsampled conversion. In this patch stack I'll try to improve the perofrmance. This particular set of changes is a small improvement to all the existing functions and macro. The b

Re: [FFmpeg-devel] [PATCH 2/2] swscale: Neon rgb_to_yuv_half process 32 pixels at a time

2025-06-05 Thread Martin Storsjö
On Sat, 31 May 2025, Dmitriy Kovalenko wrote: This patch integrates so called double bufferring when we are loading 2 batch of elements at a time and then processing them in parallel. On the moden arm processors especially Apple Silicon it gives a visible benefit, for subsampled pixel processing

[FFmpeg-devel] [PATCH v2] avfilter: add CUDA-accelerated transpose filter

2025-06-05 Thread Faeez Kadiri
Add a new CUDA-accelerated transpose filter (transpose_cuda) that provides hardware-accelerated video transposition operations on NVIDIA GPUs using CUDA. This filter supports all the same transpose operations as the CPU transpose filter while leveraging GPU acceleration for improved performance. S

Re: [FFmpeg-devel] [PATCH 2/2] avformat/whip: Constify arguments in is_rtp_rtcp/is_rtcp

2025-06-05 Thread Jack Lau
> On Jun 5, 2025, at 17:41, Zhao Zhili > wrote: > > From: Zhao Zhili > > Fix warning of -Wincompatible-pointer-types-discards-qualifiers. > --- > libavformat/whip.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavformat/whip.c b/libavformat/whip.c > index 0

Re: [FFmpeg-devel] [PATCH 1/2] avformat/tls: Fix integer overflow with option mtu

2025-06-05 Thread Jack Lau
> On Jun 5, 2025, at 17:41, Zhao Zhili > wrote: > > From: Zhao Zhili > > --- > libavformat/tls.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/tls.h b/libavformat/tls.h > index cb626f1977..2f381acc04 100644 > --- a/libavformat/tls.h > +++ b/libavformat