Re: [FFmpeg-devel] [PATCH v2 1/8] avformat/tls: move whip specific init out of generic tls code

2025-07-06 Thread Jack Lau
> On Jul 7, 2025, at 02:36, Timo Rothenpieler wrote: > > --- > libavformat/tls.c | 9 - > libavformat/tls_openssl.c | 12 > libavformat/whip.c| 5 + > 3 files changed, 13 insertions(+), 13 deletions(-) > > diff --git a/libavformat/tls.c b/libavformat/tls

Re: [FFmpeg-devel] [RFC] Introducing policies regarding "AI" contributions

2025-07-06 Thread Michael Niedermayer
On Mon, Jul 07, 2025 at 02:35:38AM +0200, Marvin Scholz wrote: > > > On 7 Jul 2025, at 2:10, Michael Niedermayer wrote: > > > Hi > > > > On Mon, Jul 07, 2025 at 12:29:44AM +0200, Alexander Strasser via > > ffmpeg-devel wrote: > >> Date: Mon, 7 Jul 2025 00:29:44 +0200 > >> From: Alexander Strass

Re: [FFmpeg-devel] [RFC] Introducing policies regarding "AI" contributions

2025-07-06 Thread Michael Niedermayer
On Mon, Jul 07, 2025 at 12:29:44AM +0200, Alexander Strasser via ffmpeg-devel wrote: [...] > Maybe encouraging marking of LLM generated content be it in code > (docs), tickets or mails would also be a good idea. I think one thing that could be added somewhere is something along the lines of "too

Re: [FFmpeg-devel] [RFC] Introducing policies regarding "AI" contributions

2025-07-06 Thread Marvin Scholz
On 7 Jul 2025, at 2:10, Michael Niedermayer wrote: > Hi > > On Mon, Jul 07, 2025 at 12:29:44AM +0200, Alexander Strasser via ffmpeg-devel > wrote: >> Date: Mon, 7 Jul 2025 00:29:44 +0200 >> From: Alexander Strasser >> To: FFmpeg development discussions and patches >> Subject: Re: [FFmpeg-deve

Re: [FFmpeg-devel] [PATCH] avutil/hwcontext_videotoolbox: fix unused variable warning

2025-07-06 Thread Marvin Scholz
On 27 Jun 2025, at 2:31, Marvin Scholz wrote: > Resolves an unused variable warning when targeting a recent appleOS > version. > --- > libavutil/hwcontext_videotoolbox.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/libavutil/hwcontext_videotoolbox.c > b/libavuti

Re: [FFmpeg-devel] [RFC] Introducing policies regarding "AI" contributions

2025-07-06 Thread Michael Niedermayer
Hi On Mon, Jul 07, 2025 at 12:29:44AM +0200, Alexander Strasser via ffmpeg-devel wrote: > Date: Mon, 7 Jul 2025 00:29:44 +0200 > From: Alexander Strasser > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [RFC] Introducing policies regarding "AI" > contributions >

Re: [FFmpeg-devel] [PATCH 1/8] configure: require at least OpenSSL 1.1.0

2025-07-06 Thread Marvin Scholz
On 25 Jun 2025, at 21:59, Marvin Scholz wrote: > Given that OPENSSL_init_ssl was introduced in 1.1.0 means we can rely on > that to ensure we have at least 1.1.0. > --- > configure | 9 +++-- > 1 file changed, 3 insertions(+), 6 deletions(-) > > diff --git a/configure b/configure > index d

Re: [FFmpeg-devel] [PATCH 1/2] avformat/tls: move common client options into their own define

2025-07-06 Thread Marvin Scholz
On 24 Jun 2025, at 21:23, Marvin Scholz wrote: > Used in a future commit to not duplicate options. > --- > libavformat/tls.h | 10 +++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > > diff --git a/libavformat/tls.h b/libavformat/tls.h > index 2f381acc04..c1d2e21508 100644 > --- a/l

Re: [FFmpeg-devel] [RFC] Introducing policies regarding "AI" contributions

2025-07-06 Thread Alexander Strasser via ffmpeg-devel
--- Begin Message --- Hi Michael! On 2025-07-04 12:15 +0200, Michael Niedermayer wrote: > The use of tools to assist developers is growing and will > continue to grow. Its not going away. > And what one can and cannot do with these tools will evolve > > I dont think i understand the thought proce

Re: [FFmpeg-devel] [RFC] Introducing policies regarding "AI" contributions

2025-07-06 Thread Alexander Strasser via ffmpeg-devel
--- Begin Message --- On 2025-07-05 14:20 +0300, Rémi Denis-Courmont wrote: > Le tiistaina 1. heinäkuuta 2025, 13.58.23 Itä-Euroopan kesäaika Alexander > Strasser via ffmpeg-devel a écrit : > > (...) I want this thread to start a discussion, that eventually leads > > to a policy about submitting a

[FFmpeg-devel] [PATCH 4/4] tests/fate: add fate test for excessive frame buffering when using filters

2025-07-06 Thread Marton Balint
Based on the command line of ticket #10959. Signed-off-by: Marton Balint --- tests/fate/filter-video.mak| 4 tests/filtergraphs/select-buffering| 1 + tests/ref/fate/filter-select-buffering | 30 ++ 3 files changed, 35 insertions(+) create mode 100

[FFmpeg-devel] [PATCH 3/4] fftools/ffmpeg: add support for setting maximum buffered frames in a filtergraph

2025-07-06 Thread Marton Balint
Signed-off-by: Marton Balint --- doc/ffmpeg.texi | 9 + fftools/ffmpeg.h| 1 + fftools/ffmpeg_filter.c | 6 ++ fftools/ffmpeg_opt.c| 4 4 files changed, 20 insertions(+) diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi index 35675b5309..6dea7ce7a0 100644 --- a/

[FFmpeg-devel] [PATCH 2/4] avfilter/avfilter: add AVFilterGraph->max_buffered_frames to limit buffered frames

2025-07-06 Thread Marton Balint
Signed-off-by: Marton Balint --- doc/APIchanges | 3 +++ libavfilter/avfilter.h | 8 libavfilter/avfiltergraph.c | 4 libavfilter/version.h | 2 +- 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 9c03e541fd

[FFmpeg-devel] [PATCH 1/4] avfilter/framequeue: add support for limiting and tracking buffered frames in the queues

2025-07-06 Thread Marton Balint
Signed-off-by: Marton Balint --- libavfilter/framequeue.c | 7 +++ libavfilter/framequeue.h | 18 +++--- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/libavfilter/framequeue.c b/libavfilter/framequeue.c index 79255fe532..3363406ba7 100644 --- a/libavfilter/frame

[FFmpeg-devel] [PATCH 1/1] avfilter/f_mix: disable fast on discontinuities

2025-07-06 Thread Ignacy Gawędzki
FAST_TMIX_SLICE can work properly only in the case the filter is run from the start and has never been disabled. Therefore, once s->fast is set to 0, it shall never be set back to 1. Signed-off-by: Ignacy Gawędzki --- libavfilter/vf_mix.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-

[FFmpeg-devel] [PATCH 0/1] Fix tmix on discontinuities

2025-07-06 Thread Ignacy Gawędzki
A simple example of the bug: ffplay -f lavfi color=c=gray -vf 'tmix=enable=gt(t\,1)' After one second, the color is wrong (green in my case), not the expected gray. It seems it is due to the fact that parse_weights determines that the weights are all 1 and FAST_TMIX_SLICE should be used instea

[FFmpeg-devel] [PATCH v2 7/8] avformat/tls_schannel: add option to load server certificate from store

2025-07-06 Thread Timo Rothenpieler
--- libavformat/tls_schannel.c | 47 -- 1 file changed, 40 insertions(+), 7 deletions(-) diff --git a/libavformat/tls_schannel.c b/libavformat/tls_schannel.c index b985576b72..90d5765a80 100644 --- a/libavformat/tls_schannel.c +++ b/libavformat/tls_schannel.c @

[FFmpeg-devel] [PATCH v2 8/8] avformat/tls_schannel: fix non-blocking write breaking TLS sessions

2025-07-06 Thread Timo Rothenpieler
--- libavformat/tls_schannel.c | 111 ++--- 1 file changed, 79 insertions(+), 32 deletions(-) diff --git a/libavformat/tls_schannel.c b/libavformat/tls_schannel.c index 90d5765a80..031d12fa27 100644 --- a/libavformat/tls_schannel.c +++ b/libavformat/tls_schannel.c

[FFmpeg-devel] [PATCH v2 5/8] avformat/tls: make passing an external socket universal

2025-07-06 Thread Timo Rothenpieler
--- libavformat/tls.h | 11 +-- libavformat/tls_openssl.c | 14 ++ libavformat/whip.c| 4 ++-- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/libavformat/tls.h b/libavformat/tls.h index 83d6b1ab6e..1ab115aa81 100644 --- a/libavformat/tls.h +++

[FFmpeg-devel] [PATCH v2 6/8] avformat/tls_schannel: add DTLS support

2025-07-06 Thread Timo Rothenpieler
--- configure | 6 +- libavformat/tls_schannel.c | 889 ++--- 2 files changed, 831 insertions(+), 64 deletions(-) diff --git a/configure b/configure index 63d11de207..c6aae97b19 100755 --- a/configure +++ b/configure @@ -3856,7 +3856,7 @@ tcp_pro

[FFmpeg-devel] [PATCH v2 0/8] WHIP + TLS + UDP fixes and SChannel DTLS support

2025-07-06 Thread Timo Rothenpieler
Second version of the series, with a bunch of the more trivial already merged it reduced in size a bit. Remaining patches have been revised after comments, and some further fixes have been added. Original Cover-Letter was: This was originally just me attempting to add DTLS support to SChannel, so

[FFmpeg-devel] [PATCH v2 4/8] avformat/udp: add function to set remote address directly

2025-07-06 Thread Timo Rothenpieler
--- libavformat/network.h | 1 + libavformat/udp.c | 30 ++ 2 files changed, 31 insertions(+) diff --git a/libavformat/network.h b/libavformat/network.h index 48bb75a758..5734b664cd 100644 --- a/libavformat/network.h +++ b/libavformat/network.h @@ -339,5 +339,6 @@

[FFmpeg-devel] [PATCH v2 3/8] avformat/udp: separate rx and tx fifo

2025-07-06 Thread Timo Rothenpieler
--- libavformat/udp.c | 49 +++ 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/libavformat/udp.c b/libavformat/udp.c index 7d64ff07ed..e02eff0f33 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -96,7 +96,8 @@ typedef struct UDP

[FFmpeg-devel] [PATCH v2 1/8] avformat/tls: move whip specific init out of generic tls code

2025-07-06 Thread Timo Rothenpieler
--- libavformat/tls.c | 9 - libavformat/tls_openssl.c | 12 libavformat/whip.c| 5 + 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/libavformat/tls.c b/libavformat/tls.c index c0adaf61ce..bd9c05e6dc 100644 --- a/libavformat/tls.c +++ b/

[FFmpeg-devel] [PATCH v2 2/8] avformat/udp: make recv addr of each packet available

2025-07-06 Thread Timo Rothenpieler
--- libavformat/network.h | 2 ++ libavformat/udp.c | 25 + 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/libavformat/network.h b/libavformat/network.h index ca214087fc..48bb75a758 100644 --- a/libavformat/network.h +++ b/libavformat/network.h @@ -338

Re: [FFmpeg-devel] [PATCH 1/8] avcodec/psd: Move frame allocation after RLE processing

2025-07-06 Thread Michael Niedermayer
On Fri, Jun 20, 2025 at 02:32:48AM +0200, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: > 410609448/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PSD_fuzzer-6267226128973824 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Sig

Re: [FFmpeg-devel] [PATCH 1/5] avcodec/smacker: Move buffer allocation to later

2025-07-06 Thread Michael Niedermayer
On Thu, Jul 03, 2025 at 04:01:27AM +0200, Michael Niedermayer wrote: > Reduces allocations on random input > Fixes: > 421650030/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SMACKAUD_fuzzer-611767493632 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/ma

[FFmpeg-devel] 回复: [PATCH v2] avutil/hwcontext_d3d12va: added resource Flags support to command line

2025-07-06 Thread Wu Jianhua
>From Dmitrii Ovchinnikov: > --- > libavutil/hwcontext_d3d12va.c | 22 +- > libavutil/hwcontext_d3d12va.h | 6 ++ > 2 files changed, 27 insertions(+), 1 deletion(-) > > diff --git a/libavutil/hwcontext_d3d12va.c b/libavutil/hwcontext_d3d12va.c > index 6507cf69c1..b2b58ac6f

Re: [FFmpeg-devel] [RFC] Advanced Error Codes

2025-07-06 Thread Michael Niedermayer
Hi Nicolas On Fri, Jul 04, 2025 at 03:29:19PM +0200, Nicolas George wrote: > Michael Niedermayer (HE12025-07-03): > > return av_adv_err_new(AVERROR_INVALIDDATA, "Garbled foobar data", "Foo > > triangle quantum decoder" > > __FILE__, __LINE__, NULL, "Whaetver you like %s", >

[FFmpeg-devel] [PATCH v3 3/3] avcodec/ohenc: Add h264/hevc OpenHarmony encoders

2025-07-06 Thread Zhao Zhili
From: Zhao Zhili --- Changelog | 1 + configure | 7 +- libavcodec/Makefile| 2 + libavcodec/allcodecs.c | 2 + libavcodec/ohcodec.c | 8 + libavcodec/ohcodec.h | 1 + libavcodec/ohenc.c | 712 + libavcodec

Re: [FFmpeg-devel] [PATCH v4 2/3] avformat/sapenc: fix leak in sap_write_header()

2025-07-06 Thread Lidong Yan
Michael Niedermayer writes: > > contexts will be NULL so i would assume contexts[i] will segfault > > thx > Sorry and you are right. Gonna fix. Thanks, Lidong ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ff

Re: [FFmpeg-devel] [PATCH v2 3/3] avcodec/ohenc: Add h264/hevc OpenHarmony encoders

2025-07-06 Thread Zhao Zhili
> 在 2025年7月6日,下午4:06,Zhao Zhili 写道: > > From: Zhao Zhili > > --- > Changelog | 1 + > configure | 7 +- > libavcodec/Makefile| 2 + > libavcodec/allcodecs.c | 2 + > libavcodec/ohcodec.c | 8 + > libavcodec/ohcodec.h | 1 + > libavcodec/ohenc.c | 69

[FFmpeg-devel] [PATCH v2 3/3] avcodec/ohenc: Add h264/hevc OpenHarmony encoders

2025-07-06 Thread Zhao Zhili
From: Zhao Zhili --- Changelog | 1 + configure | 7 +- libavcodec/Makefile| 2 + libavcodec/allcodecs.c | 2 + libavcodec/ohcodec.c | 8 + libavcodec/ohcodec.h | 1 + libavcodec/ohenc.c | 693 + libavcodec

[FFmpeg-devel] [PATCH v2 2/3] avcodec/ohdec: Add h264/hevc OpenHarmony decoders

2025-07-06 Thread Zhao Zhili
From: Zhao Zhili --- configure | 4 + libavcodec/Makefile| 3 + libavcodec/allcodecs.c | 2 + libavcodec/ohcodec.c | 71 libavcodec/ohcodec.h | 56 +++ libavcodec/ohdec.c | 771 + libavcodec/version.h | 2 +- 7 fil

[FFmpeg-devel] [PATCH v2 1/3] avutil/hwcontext: Add ohcodec device and pixel format

2025-07-06 Thread Zhao Zhili
From: Zhao Zhili --- configure | 5 doc/APIchanges | 6 + libavutil/Makefile | 2 ++ libavutil/hwcontext.c | 4 +++ libavutil/hwcontext.h | 2 ++ libavutil/hwcontext_internal.h | 1 + libavutil/hwcontext_oh.c

[FFmpeg-devel] [PATCH v2 0/3] Add OpenHarmony hardware codec wrapper

2025-07-06 Thread Zhao Zhili
From: Zhao Zhili v2: 1. Add encoder. 2. Trial refactor of decoder. Zhao Zhili (3): avutil/hwcontext: Add ohcodec device and pixel format avcodec/ohdec: Add h264/hevc OpenHarmony decoders avcodec/ohenc: Add h264/hevc OpenHarmony encoders Changelog | 1 + configure