[FFmpeg-devel] FFmpeg at IBC

2024-07-14 Thread Thilo Borgmann via ffmpeg-devel
Hi, FFmpeg will have a booth at the next IBC from September 13th to 16th 2024 in Amsterdam [1]! We received a corporate sponsorship for the booth, so there are no costs for the FFmpeg project to it (and no obligations, of course). FFmpeg developers are welcome to join in and help man the bo

Re: [FFmpeg-devel] [PATCH v2] avformat/hls: Fixed incorrect behaviour of default

2024-07-14 Thread CoderVenkat
Ping. Any chance you could take a look? I would like to submit another fix based on this. Thanks, vckt On 2024-07-08 19:13, CoderVenkat wrote: Hello, I have attached a patch with the requested changes. Thanks, vckt ___ ffmpeg-devel mailing list ffmpe

Re: [FFmpeg-devel] [PATCH] ffmpeg: don't truncate getmaxrss value

2024-07-14 Thread Gyan Doshi
On 2024-07-11 02:52 pm, Gyan Doshi wrote: Can lead to printing of nonsensical negative memory usage Plan to push in 24h. Regards, Gyan --- fftools/ffmpeg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 00ab1cce51..3aa2

Re: [FFmpeg-devel] [PATCH v2 1/1] fate/png: add mDCv read and write test

2024-07-14 Thread Leo Izen
On 7/9/24 12:45 PM, Leo Izen wrote: This test confirms that we can write mDCv chunks and read them back via the png decoder. It uses an HEVC conformance sample with this metadata as the base source for the side data in the frames. Signed-off-by: Leo Izen Reported-by: Jan Ekström Reviewed-by: A

Re: [FFmpeg-devel] [PATCH] swscale/utils: fix leak on threaded ctx init failure

2024-07-14 Thread Michael Niedermayer
On Tue, Jul 09, 2024 at 04:41:01PM +0200, Niklas Haas wrote: > From: Niklas Haas > > This count gets incremented after init succeeds, when it should be > incremented after *alloc* succeeds. Otherwise, we leak the context on > failure. > > There are no negative consequences of incrementing for >

Re: [FFmpeg-devel] [PATCH v2] libavdevice: Improve example in deprecation message for opengl and sdl

2024-07-14 Thread Alexander Strasser via ffmpeg-devel
On 2024-06-02 11:27 +0200, Alexander Strasser via ffmpeg-devel wrote: > On 2024-04-29 23:53 +0200, Alexander Strasser via ffmpeg-devel wrote: > > When piping ffmpeg into ffplay both programs write a status line in > > the terminal. That causes flickering and invisibility of one or the > > other sta

Re: [FFmpeg-devel] [PATCH 1/3] avutil/avassert: Add av_assert_unreachable()

2024-07-14 Thread Michael Niedermayer
On Sat, Jul 13, 2024 at 04:44:03PM +0200, epira...@gmail.com wrote: > On 13 Jul 2024, at 2:47, Andreas Rheinhardt wrote: > > > Marvin Scholz: > >> --- > >> libavutil/avassert.h | 12 > >> 1 file changed, 12 insertions(+) > >> > >> diff --git a/libavutil/avassert.h b/libavutil/avasser

[FFmpeg-devel] [PATCH] avfilter/af_channelsplit: fix declaration-after-statement warning

2024-07-14 Thread Leo Izen
Declare AVFrame *buf_out with the rest of the declarations to fix a compiler warning about Declarations after Statements in ISO C90. Signed-off-by: Leo Izen --- libavfilter/af_channelsplit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavfilter/af_channelsplit.c b/lib

Re: [FFmpeg-devel] [PATCH v2] avformat/hls: Fixed incorrect behaviour of default

2024-07-14 Thread Steven Liu
CoderVenkat 于2024年7月14日周日 16:21写道: Hi Coder Venkat, > > Ping. > Any chance you could take a look? I would like to submit another fix based on > this. @@ -1434,6 +1436,31 @@ static int create_master_playlist(AVFormatContext *s, avio_printf(hls->m3u8_out, ",INSTREAM-ID=\"%s\"\n", ccs->in

Re: [FFmpeg-devel] [PATCH] avutil/imgutils: av_image_check_size2() ensure width and height fit in 32bit

2024-07-14 Thread Alexander Strasser via ffmpeg-devel
On 2024-07-10 15:51 +0200, Anton Khirnov wrote: > Quoting Michael Niedermayer (2024-07-10 15:44:47) > > Do you still object to a 32bit check on width and height ? > > If not i intend to apply a patch adding such limits > > If you object i will take this to the TC > > In my first reply in this threa

[FFmpeg-devel] [PATCH v3] avformat/hls: Fixed incorrect behaviour of default

2024-07-14 Thread CoderVenkat
Hi, I separated both into different for loops, and changed the order of some checks so they aren't unnecessarily done. Attached patch to this mail. Thanks, vcktFrom 1ccc029801699c21db2fad8e20ddfab226068c37 Mon Sep 17 00:00:00 2001 From: vckt Date: Fri, 5 Jul 2024 18:51:32 +0530 Subject: [PATCH v

Re: [FFmpeg-devel] [PATCH v3] avformat/hls: Fixed incorrect behaviour of default

2024-07-14 Thread CoderVenkat
Apologies Correct file attached in this mail.From 631bdac055935be6f2dfb7c6e227098dae62eb6e Mon Sep 17 00:00:00 2001 From: vckt Date: Fri, 5 Jul 2024 18:51:32 +0530 Subject: [PATCH v3] avformat/hls: Fixed incorrect behaviour of default setting, added autoselect and forced In absence of defualt i

Re: [FFmpeg-devel] [PATCH] libavformat/tls_mbedtls: Changes the return code handling of mbedtls_x509_crt_parse_file

2024-07-14 Thread Marth64
LGTM after checking documentation of mbedtls_x509_crt_parse_file() ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subj

[FFmpeg-devel] [PATCH v2 3/4] lavc/vp8dsp: R-V V loop_filter_inner

2024-07-14 Thread uk7b
From: sunyuechi C908 X60 vp8_loop_filter8uv_inner_h_c : 11.09.5 vp8_loop_filter8uv_inner_h_rvv_i32 : 10.58.7 vp8_loop_filter8uv_inner_v_c : 11.2 11.0 vp8_loop_filter8

[FFmpeg-devel] [PATCH v2 1/4] lavc/vp8dsp: R-V V 256 bilin,epel

2024-07-14 Thread uk7b
From: sunyuechi X60 new vp8_put_bilin16_h_c: 42.542.5 vp8_put_bilin16_h_rvv_i32 :4.7 3.2 vp8_put_bilin16_hv_c : 71.571.7 vp8_put_bili

[FFmpeg-devel] [PATCH v2 4/4] lavc/vp8dsp: R-V V loop_filter

2024-07-14 Thread uk7b
From: sunyuechi C908 X60 vp8_loop_filter8uv_h_c : 12.2 10.0 vp8_loop_filter8uv_h_rvv_i32 : 11.59.7 vp8_loop_filter8uv_v_c : 13.2 11.2 vp8_loop_filter8

Re: [FFmpeg-devel] [PATCH] libavformat/tls_mbedtls: Changes the return code handling of mbedtls_x509_crt_parse_file

2024-07-14 Thread Marth64
> av_log(h, AV_LOG_DEBUG, "mbedtls_x509_crt_parse_file skipped %d certificate(s)\n", ret); Is it worth it making this a higher log level? Or is it too much noise? Thinking if it’s important security information to share with the user. ___ ffmpeg-devel ma

[FFmpeg-devel] [PATCH v2 2/4] lavc/vp8dsp: R-V V loop_filter_simple

2024-07-14 Thread uk7b
From: sunyuechi C908 X60 vp8_loop_filter_simple_h_c :6.25.7 vp8_loop_filter_simple_h_rvv_i32 :3.02.5 vp8_loop_filter_simple_v_c :6.56.2 vp8_loop_filter_

Re: [FFmpeg-devel] [PATCH v2 2/4] lavc/vp8dsp: R-V V loop_filter_simple

2024-07-14 Thread flow gg
> vssseg2e8 > vlsseg4e8 > vwadd.wv > I can't find where VXRM is initialised for that. Updated them and add csrwi 于2024年7月15日周一 00:30写道: > From: sunyuechi > > C908 X60 > vp8_loop_filter_simple_h_c :6.25.7 > v

Re: [FFmpeg-devel] [PATCH 02/11] avfilter/af_channelsplit: fix mixed declaration and code

2024-07-14 Thread Leo Izen
On 7/12/24 11:47 AM, Marvin Scholz wrote: Fix a "mixing declarations and code is incompatible with standards before C99" warning. --- libavfilter/af_channelsplit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavfilter/af_channelsplit.c b/libavfilter/af_channelsplit.

Re: [FFmpeg-devel] [PATCH v2 1/1] fate/png: add mDCv read and write test

2024-07-14 Thread Jan Ekström
On Tue, Jul 9, 2024 at 7:45 PM Leo Izen wrote: > > This test confirms that we can write mDCv chunks and read them back via > the png decoder. It uses an HEVC conformance sample with this metadata > as the base source for the side data in the frames. > > Signed-off-by: Leo Izen > Reported-by: Jan

Re: [FFmpeg-devel] [OSS-Fuzz] Have you considered enabling memory sanitizer?

2024-07-14 Thread Michael Niedermayer
On Sat, Jul 13, 2024 at 11:12:40PM +0200, Kacper Michajlow wrote: > On Thu, 27 Jun 2024 at 02:50, Kacper Michajlow wrote: > > > > On Thu, 27 Jun 2024 at 00:45, Michael Niedermayer > > wrote: > > > > > > On Wed, Jun 26, 2024 at 09:07:42PM +0200, Kacper Michajlow wrote: > > > > Hi, > > > > > > > >

[FFmpeg-devel] [PATCH v5 0/2] avfilter/af_volumedetect.c: Add 32bit float audio support

2024-07-14 Thread Yigithan Yigit
This patchset adds 32bit float audio support to the volumedetect filter and fixes issue #9613. This work is part of my GSoC 2024 Qualification Task. I would greatly appreciate your review of this patcset. Changes since v4: - Defined macros for each format int/float, packed/planar - Changed the lo

[FFmpeg-devel] [PATCH v5 1/2] avfilter/af_volumedetect.c: Move logdb function

2024-07-14 Thread Yigithan Yigit
--- libavfilter/af_volumedetect.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/libavfilter/af_volumedetect.c b/libavfilter/af_volumedetect.c index 8b001d1cf2..327801a7f9 100644 --- a/libavfilter/af_volumedetect.c +++ b/libavfilter/af_volumedetect.c @@

[FFmpeg-devel] [PATCH v5 2/2] avfilter/af_volumedetect.c: Add 32bit float audio support

2024-07-14 Thread Yigithan Yigit
--- libavfilter/af_volumedetect.c | 222 +- 1 file changed, 166 insertions(+), 56 deletions(-) diff --git a/libavfilter/af_volumedetect.c b/libavfilter/af_volumedetect.c index 327801a7f9..ce68c56962 100644 --- a/libavfilter/af_volumedetect.c +++ b/libavfilter/af_vo

Re: [FFmpeg-devel] [PATCH] mailmap: add entry for myself

2024-07-14 Thread Michael Niedermayer
On Sat, Jul 13, 2024 at 10:16:08PM +0800, Tong Wu wrote: > Signed-off-by: Tong Wu > --- > .mailmap | 2 ++ > 1 file changed, 2 insertions(+) will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Whats the most studid thing your enemy could do ? Blow

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/mpegvideo_enc: Do not duplicate pictures on shifting

2024-07-14 Thread Michael Niedermayer
On Thu, Jun 20, 2024 at 09:35:04PM +0200, Michael Niedermayer wrote: > Fixes: out of array access > Fixes: > 69098/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG2VIDEO_fuzzer-6107989688778752 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projec

[FFmpeg-devel] [PATCH v3] avcodec/riscv: add h264 dc idct rvv

2024-07-14 Thread J. Dekker
checkasm: bench runs 131072 (1 << 17) h264_idct4_add_dc_8bpp_c: 1.5 h264_idct4_add_dc_8bpp_rvv_i64: 0.7 h264_idct4_add_dc_9bpp_c: 1.5 h264_idct4_add_dc_9bpp_rvv_i64: 0.7 h264_idct4_add_dc_10bpp_c: 1.5 h264_idct4_add_dc_10bpp_rvv_i64: 0.7 h264_idct4_add_dc_12bpp_c: 1.2 h264_idct4_add_dc_12bpp_rvv_i6

Re: [FFmpeg-devel] [PATCH v3] avcodec/riscv: add h264 dc idct rvv

2024-07-14 Thread Rémi Denis-Courmont
Le 15 juillet 2024 08:50:38 GMT+03:00, "J. Dekker" a écrit : >checkasm: bench runs 131072 (1 << 17) >h264_idct4_add_dc_8bpp_c: 1.5 >h264_idct4_add_dc_8bpp_rvv_i64: 0.7 >h264_idct4_add_dc_9bpp_c: 1.5 >h264_idct4_add_dc_9bpp_rvv_i64: 0.7 >h264_idct4_add_dc_10bpp_c: 1.5 >h264_idct4_add_dc_10bpp_rvv

[FFmpeg-devel] [PATCH] avdevice/dshow: Don't skip audio devices if no video device is present

2024-07-14 Thread patches via ffmpeg-devel
The search of the current DirectShow device list has been customized so that audio devices are always found even if no video device is connected. Signed-off-by: Jens Frederich --- libavdevice/dshow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavdevice/dshow.c b/libavd