Re: [FFmpeg-devel] [PATCH v6] avcodec/cbs_vp8: Add support for VP8 codec bitstream

2023-11-19 Thread Dai, Jianhui J
> -Original Message- > From: ffmpeg-devel On Behalf Of > James Almer > Sent: Thursday, November 16, 2023 9:30 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v6] avcodec/cbs_vp8: Add support for > VP8 codec bitstream > > On 11/15/2023 3:47 PM, Ronald S. Bultje wrot

Re: [FFmpeg-devel] [PATCH v3 3/5] avcodec/h264_mp4toannexb_bsf: fix missing PS before IDR frames

2023-11-19 Thread Zhao Zhili
> On Nov 18, 2023, at 01:24, Zhao Zhili wrote: > > From: Zhao Zhili > > If there is a single group of SPS/PPS before an IDR frame, but no > SPS/PPS after that, we will miss the chance to reset > idr_sps_seen/idr_pps_seen. No SPS/PPS are inserted afterwards. > > This patch saves in-band SPS/P

Re: [FFmpeg-devel] [PATCH 4/6] avcodec/h264: keep track of which frames used gray references

2023-11-19 Thread Vittorio Giovara
On Sun, Nov 19, 2023 at 7:11 PM Michael Niedermayer wrote: > On Tue, Nov 14, 2023 at 07:46:16PM +0100, Michael Niedermayer wrote: > > On Tue, Nov 14, 2023 at 06:32:19PM +0100, Hendrik Leppkes wrote: > > > On Tue, Nov 14, 2023 at 6:21 PM Michael Niedermayer > > > wrote: > > > > > > > > Signed-off

Re: [FFmpeg-devel] [PATCH 4/6] avcodec/h264: keep track of which frames used gray references

2023-11-19 Thread Michael Niedermayer
On Tue, Nov 14, 2023 at 07:46:16PM +0100, Michael Niedermayer wrote: > On Tue, Nov 14, 2023 at 06:32:19PM +0100, Hendrik Leppkes wrote: > > On Tue, Nov 14, 2023 at 6:21 PM Michael Niedermayer > > wrote: > > > > > > Signed-off-by: Michael Niedermayer > > > --- > > > libavcodec/h264_picture.c | 1

Re: [FFmpeg-devel] FFmpeg at NAB 2024

2023-11-19 Thread Kieran Kunhya via ffmpeg-devel
On Sun, Nov 19, 2023 at 9:46 PM Michael Niedermayer wrote: > > On Sun, Nov 19, 2023 at 02:26:22PM +, Kieran Kunhya via ffmpeg-devel > wrote: > [...] > > I would not find it acceptable for SPI to pay these costs. I do not feel > > donors would want their money spent on a corporate show in Las

Re: [FFmpeg-devel] [PATCH] avfilter: merge loudnorm filter functionality into f_ebur128.c

2023-11-19 Thread Paul B Mahol
On Sun, Nov 19, 2023 at 10:55 PM Marton Balint wrote: > > > On Sun, 19 Nov 2023, Paul B Mahol wrote: > > > On Fri, Nov 17, 2023 at 7:38 AM Kyle Swanson wrote: > > > >> Hi, > >> > >> On Wed, Nov 15, 2023 at 12:39 PM Paul B Mahol wrote: > >> > > >> > Attached. > >> > >> Only had a few minutes to

Re: [FFmpeg-devel] [PATCH] avfilter: use AV_OPT_TYPE_CHLAYOUT

2023-11-19 Thread Paul B Mahol
Fixed issue. From 3abdd4d0b085a6c5aa3e6114448a2967d584d7c4 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 19 Nov 2023 19:35:43 +0100 Subject: [PATCH] avfilter: use AV_OPT_TYPE_CHLAYOUT Signed-off-by: Paul B Mahol --- libavfilter/af_channelmap.c | 59 ++-

Re: [FFmpeg-devel] [PATCH] avfilter: use AV_OPT_TYPE_CHLAYOUT

2023-11-19 Thread Michael Niedermayer
On Sun, Nov 19, 2023 at 08:33:08PM +0100, Paul B Mahol wrote: > Attached. > af_channelmap.c | 57 > ++ > af_channelsplit.c | 14 +++-- > af_join.c | 23 - > af_surround.c | 28 +++---

Re: [FFmpeg-devel] [PATCH] avfilter: merge loudnorm filter functionality into f_ebur128.c

2023-11-19 Thread Marton Balint
On Sun, 19 Nov 2023, Paul B Mahol wrote: On Fri, Nov 17, 2023 at 7:38 AM Kyle Swanson wrote: Hi, On Wed, Nov 15, 2023 at 12:39 PM Paul B Mahol wrote: > > Attached. Only had a few minutes to look at this. Seems like more than just merging two filters, I see a bunch of new filter options f

Re: [FFmpeg-devel] FFmpeg at NAB 2024

2023-11-19 Thread Michael Niedermayer
On Sun, Nov 19, 2023 at 02:26:22PM +, Kieran Kunhya via ffmpeg-devel wrote: [...] > I would not find it acceptable for SPI to pay these costs. I do not feel > donors would want their money spent on a corporate show in Las Vegas. all SPI refunds must be posted to the mailing list and approved b

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: extra members for GA v2

2023-11-19 Thread Michael Niedermayer
On Sun, Nov 19, 2023 at 12:58:17PM +0100, Anton Khirnov wrote: > Quoting Michael Niedermayer (2023-11-19 11:35:20) > > On Sun, Nov 19, 2023 at 08:48:19AM +0100, Anton Khirnov wrote: > > > Reminder that the vote starts tomorrow. > > > > > > Quoting Anton Khirnov (2023-11-17 10:40:06) > > > > The li

Re: [FFmpeg-devel] [PATCH 1/6] lavc/aarch64: new optimization for 8-bit hevc_pel_bi_pixels

2023-11-19 Thread Michael Niedermayer
On Sat, Nov 18, 2023 at 10:06:37AM +0800, Logan.Lyu wrote: > put_hevc_pel_bi_pixels4_8_c: 54.7 > put_hevc_pel_bi_pixels4_8_neon: 43.0 > put_hevc_pel_bi_pixels6_8_c: 94.7 > put_hevc_pel_bi_pixels6_8_neon: 37.0 > put_hevc_pel_bi_pixels8_8_c: 171.0 > put_hevc_pel_bi_pixels8_8_neon: 24.0 > put_hevc_pel

[FFmpeg-devel] [PATCH] lavc/llvidencdsp: add R-V V diff_bytes

2023-11-19 Thread Rémi Denis-Courmont
diff_bytes_c: 163.0 diff_bytes_rvv_i32: 52.7 --- libavcodec/lossless_videoencdsp.c | 4 ++- libavcodec/lossless_videoencdsp.h | 1 + libavcodec/riscv/Makefile | 2 ++ libavcodec/riscv/llvidencdsp_init.c | 39 + libavcodec/riscv/llvidencdsp_rvv.S |

[FFmpeg-devel] [PATCH] avfilter: use AV_OPT_TYPE_CHLAYOUT

2023-11-19 Thread Paul B Mahol
Attached. From 79d3fceece0ead163ffcaca753b9479669776d2f Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 19 Nov 2023 19:35:43 +0100 Subject: [PATCH] avfilter: use AV_OPT_TYPE_CHLAYOUT Signed-off-by: Paul B Mahol --- libavfilter/af_channelmap.c | 57 +-- l

[FFmpeg-devel] [PATCH v6 2/2] avformat/oggenc: Add support for embedding cover art

2023-11-19 Thread Zsolt Vadász via ffmpeg-devel
Attached.From 38716e20b2e8b3a711cc22f7e7abc45731aa79b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zsolt=20Vad=C3=A1sz?= Date: Fri, 10 Mar 2023 11:26:27 + Subject: [PATCH v6 2/2] avformat/oggenc: Add support for embedding cover art Fixes #4448. Signed-off-by: Zsolt Vadasz --- libavformat/ogge

[FFmpeg-devel] [PATCH v6 1/2] avformat/flac_picture: Add ff_flac_write_picture

2023-11-19 Thread Zsolt Vadász via ffmpeg-devel
Attached.From 1b7a510ff5720d21868f0284c7a50489034bee7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zsolt=20Vad=C3=A1sz?= Date: Fri, 10 Mar 2023 11:23:13 + Subject: [PATCH v6 1/2] avformat/flac_picture: Add ff_flac_write_picture This function is able to write cover art into both FLAC and Ogg file

[FFmpeg-devel] [PATCH] lavc/aacpsdsp: use LMUL=2 and amortise strides

2023-11-19 Thread Rémi Denis-Courmont
The input is laid out in 16 segments, of which 13 actually need to be loaded. There are no really efficient ways to deal with this: 1) If we load 8 segments wit unit stride, then narrow to 16 segments with right shifts, we can only one half-size vector per segment, or just 2 elements per vect

[FFmpeg-devel] [PATCH] avfilter: ambisonic decoder

2023-11-19 Thread Paul B Mahol
Attached. From 0ff5ad526363bed85022381134a152682cdba487 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 11 Jan 2018 21:32:22 +0100 Subject: [PATCH] avfilter: add ambisonic decoder Signed-off-by: Paul B Mahol --- libavfilter/Makefile |1 + libavfilter/af_ambisonic.c

Re: [FFmpeg-devel] [PATCH v3] avcodec/decode: guard against NULL hw_frames_ctx

2023-11-19 Thread Hendrik Leppkes
On Fri, Nov 17, 2023 at 6:04 PM Dmitry Rogozhkin wrote: > > Guard against segfault running VLC decoding under msys2 [1]: > > Thread 33 received signal SIGSEGV, Segmentation fault. > [Switching to Thread 37728.0xadd0] > ff_hwaccel_frame_priv_alloc (avctx=0x6447b00, > hwaccel_picture_private=0x65df

Re: [FFmpeg-devel] FFmpeg at NAB 2024

2023-11-19 Thread Kieran Kunhya via ffmpeg-devel
On Sun, 19 Nov 2023, 14:05 Derek Buitenhuis, wrote: > Hi, > > Followup question... > > On 11/1/2023 9:25 PM, Derek Buitenhuis wrote: > > This is certainly interesting considering we just had a giant thread > about not using > > or using SPI, with multiple people accused of having corporate intere

Re: [FFmpeg-devel] FFmpeg at NAB 2024

2023-11-19 Thread Derek Buitenhuis
On 11/19/2023 2:19 PM, Derek Buitenhuis wrote: > http://ffmpeg.org/pipermail/ffmpeg-devel/2023-November/317196.html FFS. Here is the right link: http://ffmpeg.org/pipermail/ffmpeg-devel/2023-November/316603.html - Deek ___ ffmpeg-devel mailing list ff

Re: [FFmpeg-devel] FFmpeg at NAB 2024

2023-11-19 Thread Derek Buitenhuis
On 11/19/2023 2:05 PM, Derek Buitenhuis wrote: > So who signed? The "anonymous" corproate entity, on behalf of FFmpeg, with out > our consent? http://ffmpeg.org/pipermail/ffmpeg-devel/2023-November/317196.html Prob unrelated I am sure. - Derek ___ ffmp

Re: [FFmpeg-devel] FFmpeg at NAB 2024

2023-11-19 Thread Derek Buitenhuis
Hi, Followup question... On 11/1/2023 9:25 PM, Derek Buitenhuis wrote: > This is certainly interesting considering we just had a giant thread about > not using > or using SPI, with multiple people accused of having corporate interests. I noticed FFmpeg is on the NAB floor plan. This implies FF

[FFmpeg-devel] [PATCH] lavc/g722dsp: optimise R-V V apply_qmf

2023-11-19 Thread Rémi Denis-Courmont
This stores the constant coefficients deinterleaved, so that they can be loaded directly with NF=0. Unfortunately, we cannot optimise loading the input, due to insufficient memory alignment (not 32-bit). Before: g722_apply_qmf_c: 82.5 g722_apply_qmf_rvv_i32: 78.2 After: g722_apply_qmf_c:

[FFmpeg-devel] [PATCH] lavu/fixed_dsp: R-V V fmul_window_scaled

2023-11-19 Thread Rémi Denis-Courmont
vector_fmul_window_scaled_fixed_c: 4393.7 vector_fmul_window_scaled_fixed_rvv_i64: 1642.7 --- libavutil/riscv/fixed_dsp_init.c | 7 - libavutil/riscv/fixed_dsp_rvv.S | 48 2 files changed, 54 insertions(+), 1 deletion(-) diff --git a/libavutil/riscv/fi

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: extra members for GA v2

2023-11-19 Thread Anton Khirnov
Quoting Michael Niedermayer (2023-11-19 11:35:20) > On Sun, Nov 19, 2023 at 08:48:19AM +0100, Anton Khirnov wrote: > > Reminder that the vote starts tomorrow. > > > > Quoting Anton Khirnov (2023-11-17 10:40:06) > > > The list of candidates I have so far is: > > > * Ronald Bultje > > > * Alexander

[FFmpeg-devel] [PATCH 2/2] lavfi/vsrc_ddagrab: add an option to avoid duplicating frames

2023-11-19 Thread Anton Khirnov
--- doc/filters.texi | 15 +++ libavfilter/vsrc_ddagrab.c | 7 ++- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index bd4e4ca8f7..30b7c73826 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -28165,10 +28165,10

[FFmpeg-devel] [PATCH 1/2] doc/filters:ddagrab: elaborate on the semantics of framerate

2023-11-19 Thread Anton Khirnov
--- doc/filters.texi | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index 38615e4f18..bd4e4ca8f7 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -28163,7 +28163,12 @@ Only affects hardware cursors. If a game or application ren

Re: [FFmpeg-devel] [PATCH] avfilter: merge loudnorm filter functionality into f_ebur128.c

2023-11-19 Thread Paul B Mahol
On Fri, Nov 17, 2023 at 7:38 AM Kyle Swanson wrote: > Hi, > > On Wed, Nov 15, 2023 at 12:39 PM Paul B Mahol wrote: > > > > Attached. > > Only had a few minutes to look at this. Seems like more than just > merging two filters, I see a bunch of new filter options for example. > Can you explain? >

[FFmpeg-devel] [PATCH 2/2] lavu/float_dsp: optimise R-V V fmul_reverse & fmul_window

2023-11-19 Thread Rémi Denis-Courmont
Roll the loop to avoid slow gathers. Before: vector_fmul_reverse_c: 1561.7 vector_fmul_reverse_rvv_f32: 2410.2 vector_fmul_window_c:2068.2 vector_fmul_window_rvv_f32: 1879.5 After: vector_fmul_reverse_c: 1561.7 vector_fmul_reverse_rvv_f32: 916.2 vector_fmul_window_c:

[FFmpeg-devel] [PATCH 1/2] lavu/fixed_dsp: optimise R-V V fmul_reverse

2023-11-19 Thread Rémi Denis-Courmont
Gathers are (unsurprisingly) a notable exception to the rule that R-V V gets faster with larger group multipliers. So roll the function to speed it up. Before: vector_fmul_reverse_fixed_c: 2840.7 vector_fmul_reverse_fixed_rvv_i32: 2430.2 After: vector_fmul_reverse_fixed_c: 2841.0 vect

Re: [FFmpeg-devel] [PATCH 1/3] doc/encoders/libx264: review and extend option description

2023-11-19 Thread Stefano Sabatini
On date Saturday 2023-11-04 22:26:27 +0100, Stefano Sabatini wrote: > On date Wednesday 2023-09-06 11:04:49 +0530, Gyan Doshi wrote: > [...] > > Sorry for the slow reply. > > > > -Argument is a list of @var{key}=@var{value} couples separated by > > > -":". In @var{filter} and @var{psy-rd} options

Re: [FFmpeg-devel] [PATCH] lavfilter/af_loudnorm: fix loudnorm limiter invalid at final frame

2023-11-19 Thread Paul B Mahol
There are much more serious issues with this filter. That why my approach and fix is to completely rewrite it. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or ema

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: extra members for GA v2

2023-11-19 Thread Michael Niedermayer
On Sun, Nov 19, 2023 at 08:48:19AM +0100, Anton Khirnov wrote: > Reminder that the vote starts tomorrow. > > Quoting Anton Khirnov (2023-11-17 10:40:06) > > The list of candidates I have so far is: > > * Ronald Bultje > > * Alexander Strasser > > * Hendrik Leppkes > > * Reimar Döffinger > > * Bapt

Re: [FFmpeg-devel] [PATCH v3] avcodec/decode: guard against NULL hw_frames_ctx

2023-11-19 Thread Sebastian Ramacher
On 2023-11-17 09:03:03 -0800, Dmitry Rogozhkin wrote: > Guard against segfault running VLC decoding under msys2 [1]: > > Thread 33 received signal SIGSEGV, Segmentation fault. > [Switching to Thread 37728.0xadd0] > ff_hwaccel_frame_priv_alloc (avctx=0x6447b00, > hwaccel_picture_private=0x65dfd00)