Re: [FFmpeg-devel] [PATCH 2/4] doc/faq: Anwser some questions about he GA, which keep popping up

2025-01-06 Thread Ronald S. Bultje
On Mon, Jan 6, 2025 at 6:23 PM Michael Niedermayer wrote: > +@subsection Can votes be bought? > Really? This is necessary? :-( ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit

Re: [FFmpeg-devel] [PATCH] avfilter/scale_vulkan: add dynamic crop region and aspect ratio match

2025-01-06 Thread Lynne
On 27/11/2024 01:21, Koushik Dutta wrote: The scale_vulkan filter initializes the shader once, with the crop region set by the original frame. However, subsequent frames may specify a different crop region than the first frame. This change updates the cropping to match the behavior present on the

Re: [FFmpeg-devel] [PATCH] avcodec/opus/parser: set duration when complete frames are fed

2025-01-06 Thread Lynne
On 04/01/2025 00:07, James Almer wrote: Fixes a regression since 873a34c129869e551cb7d3d2445e28c0ba079948. Signed-off-by: James Almer --- libavcodec/opus/parser.c | 38 +- 1 file changed, 29 insertions(+), 9 deletions(-) diff --git a/libavcodec/opus/parse

[FFmpeg-devel] [PATCH] [h264] Make slice header parse errors fatal under AV_EF_EXPLODE

2025-01-06 Thread Dale Curtis
This fixes timeout issues with https://crbug.com/383814043 and seems like it was intended since the line emits an error log. Signed-off-by: Dale Curtis slice_error_v0.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

[FFmpeg-devel] [PATCH 2/3] avcodec/mpegvideo_enc: fix qmat value comments

2025-01-06 Thread Marton Balint
The comments supposed to track the possible value of the qmat and qmat16 matrices, but they were not updated properly in the long history of the mpegvideo encoder. Also they wrongly assumed the usage of built-in quantizer matrices and linear quantization. Signed-off-by: Marton Balint --- libavco

[FFmpeg-devel] [PATCH 1/3] avcodec/encode: add checks for custom inter/intra/chroma matrices

2025-01-06 Thread Marton Balint
All elements should be within 1-255. --- libavcodec/encode.c | 16 1 file changed, 16 insertions(+) diff --git a/libavcodec/encode.c b/libavcodec/encode.c index 3baf5b8103..27edb00b04 100644 --- a/libavcodec/encode.c +++ b/libavcodec/encode.c @@ -646,6 +646,22 @@ FF_ENABLE_DEPREC

[FFmpeg-devel] [PATCH 3/3] avcodec/mpegvideo_enc: use 64bit multiplication in dct_quantize_trellis_c and dct_quantize_c

2025-01-06 Thread Marton Balint
Fixes corruption with: ffmpeg -t 1 -filter_complex "sine=f=21,showwaves=scale=cbrt:mode=line:colors=white:draw=full" -c:v mpeg2video -non_linear_quant 1 -qmin 1 -qmax 1 -cpuflags 0 out.mpg or ffmpeg -t 1 -filter_complex "sine=f=21,showwaves=scale=cbrt:mode=line:colors=white:draw=full" -c:v m

[FFmpeg-devel] [PATCH 3/4] doc/faq: Document the plan ahead for Governance

2025-01-06 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- doc/faq.texi | 8 1 file changed, 8 insertions(+) diff --git a/doc/faq.texi b/doc/faq.texi index 54c3fbb41fe..70002a8156d 100644 --- a/doc/faq.texi +++ b/doc/faq.texi @@ -702,4 +702,12 @@ In recent years, a significant number of developers contrib

[FFmpeg-devel] [PATCH 1/4] avfilter/af_pan: Fix sscanf() use

2025-01-06 Thread Michael Niedermayer
Fixes: Memory Data Leak Found-by: Simcha Kosman Signed-off-by: Michael Niedermayer --- libavfilter/af_pan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/af_pan.c b/libavfilter/af_pan.c index 0d20b0307b3..3a11a7d324f 100644 --- a/libavfilter/af_pan.c +++ b/liba

[FFmpeg-devel] [PATCH 2/4] doc/faq: Anwser some questions about he GA, which keep popping up

2025-01-06 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- doc/faq.texi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/doc/faq.texi b/doc/faq.texi index 477cc60533a..54c3fbb41fe 100644 --- a/doc/faq.texi +++ b/doc/faq.texi @@ -683,4 +683,23 @@ Do you happen to have a @code{~} character in t

[FFmpeg-devel] [PATCH 4/4] avcodec/jpeg2000dec: Reset nb_lengthinc

2025-01-06 Thread Michael Niedermayer
Fixes: NULL pointer dereference Found-by: 丁zhengzheng Signed-off-by: Michael Niedermayer --- libavcodec/jpeg2000dec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c index e5e897a29f1..b82d85d5ee5 100644 --- a/libavcodec/jpeg2000dec.c +++

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: CC election

2025-01-06 Thread Vittorio Giovara
On Thu, Jan 2, 2025 at 3:12 PM Vittorio Giovara wrote: > > > On Mon, Dec 30, 2024 at 11:29 AM Leo Izen wrote: > >> On 12/28/24 11:53 AM, Ronald S. Bultje wrote: >> > Hi all, >> > >> > (Prior note: the election was scheduled to end on the 23rd of December. >> > Anton is currently taking a break s

Re: [FFmpeg-devel] [PATCH 2/4] doc/faq: Anwser some questions about he GA, which keep popping up

2025-01-06 Thread Kieran Kunhya via ffmpeg-devel
> > +In recent years, a significant number of developers contributing to the > project are employed by companies, > +unlike in the past. These employees are often compensated for specific > tasks, and the voting rights, > +much like the copyrights, can typically be controlled by their employers. >

[FFmpeg-devel] [PATCH] hwcontext_vulkan: fix recent lavapipe regression

2025-01-06 Thread Lynne
lavapipe indicates it supports external_semaphore_fd, but actually, it does not support exporting such? Ref: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12422 --- libavutil/hwcontext_vulkan.c | 25 - libavutil/vulkan_functions.h | 1 + 2 files changed, 25 insertions

[FFmpeg-devel] [PATCH] avcodec/mediacodecenc: Support config qp range

2025-01-06 Thread Zhao Zhili
From: Zhao Zhili --- libavcodec/mediacodecenc.c | 64 +- libavcodec/version.h | 2 +- 2 files changed, 64 insertions(+), 2 deletions(-) diff --git a/libavcodec/mediacodecenc.c b/libavcodec/mediacodecenc.c index 464903d628..d1a0388d7e 100644 --- a/libav

Re: [FFmpeg-devel] [PATCH] avfilter/vf_grayworld: Use the correct pointer for av_log()

2025-01-06 Thread Alexander Strasser via ffmpeg-devel
On 2025-01-06 05:22 +0100, Michael Niedermayer wrote: > Fixes: crash > > Found-by: Elias Myllymäki > Signed-off-by: Michael Niedermayer > --- > libavfilter/vf_grayworld.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavfilter/vf_grayworld.c b/libavfilter/vf_gray

Re: [FFmpeg-devel] [RFC PATCH] avformat/rtpdec: fix another int overflow in start_time_realtime

2025-01-06 Thread Alexander Strasser via ffmpeg-devel
Hi Jonathan! On 2025-01-05 04:26 -0500, Jonathan Baudanza wrote: > > > On Tue, Nov 26, 2024, at 1:35 AM, j...@jonb.org wrote: > > > > This patch replaces av_rescale, which operates on int64_t, with > > ff_parse_ntp_time, which operates on uint65_t. This will give the correct > > values for times

[FFmpeg-devel] [PATCH] avutil/vulkan_glslang: windows build improvements

2025-01-06 Thread Koushik Dutta
Searches pkg-config for glslang libraries. Use libavutil thread.h wrapper rather than directly including pthread.h. Signed-off-by: Koushik Dutta --- configure | 1 + libavutil/vulkan_glslang.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/conf