Re: [FFmpeg-devel] [PATCH 2/2] libavcodec/v4l2: use libdrm

2024-12-15 Thread Zhao Zhili
> On Dec 15, 2024, at 12:14, Scott Theisen wrote: > > Based on patches by Lukas Rusak from > https://github.com/lrusak/FFmpeg/commits/v4l2-drmprime-v4 > > libavcodec: v4l2m2m: output AVDRMFrameDescriptor > https://github.com/lrusak/FFmpeg/commit/2cb8052ac65a56d8a3f347a1e6f12d4449a5a614 > > li

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/v4l2_buffers.c: set AVFrame interlaced flags

2024-12-15 Thread James Almer
On 12/15/2024 1:14 AM, Scott Theisen wrote: Originally from: https://github.com/MythTV/mythtv/commit/669955c6cb29196b4b5120451b5b998d67a65749 --- libavcodec/v4l2_buffers.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/libavcodec/v4l2_buffers.c b/li

[FFmpeg-devel] [PATCH v2_2 3/6] lavc/riscv: Move VVC macro to h26x

2024-12-15 Thread uk7b-at-foxmail . com
From: sunyuechi --- libavcodec/riscv/h26x/asm.S | 127 ++ libavcodec/riscv/vvc/vvc_mc_rvv.S | 117 ++- 2 files changed, 132 insertions(+), 112 deletions(-) create mode 100644 libavcodec/riscv/h26x/asm.S diff --git a/libavcodec/riscv/h26

[FFmpeg-devel] [PATCH v2_2 2/6] lavc/vvc_mc: R-V V dmvr

2024-12-15 Thread uk7b-at-foxmail . com
From: sunyuechi k230 banana_f3 dmvr_8_12x20_c: 619.3 ( 1.00x)624.1 ( 1.00x) dmvr_8_12x20_rvv_i32: 128.6 ( 4.82x)103.4 ( 6.04x) dmvr_8_20x12_c: 610.0 ( 1.00x)665.6 ( 1.00x) dm

[FFmpeg-devel] [PATCH v2_2 1/6] Update R-V V vvc_mc vset to support more lengths

2024-12-15 Thread uk7b-at-foxmail . com
From: sunyuechi --- libavcodec/riscv/vvc/vvc_mc_rvv.S | 46 +++ 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/libavcodec/riscv/vvc/vvc_mc_rvv.S b/libavcodec/riscv/vvc/vvc_mc_rvv.S index 45f4750f82..18532616d9 100644 --- a/libavcodec/riscv/vvc/vvc_mc

[FFmpeg-devel] [PATCH v2_2 6/6] lavc/vvc_mc R-V V sad

2024-12-15 Thread uk7b-at-foxmail . com
From: sunyuechi k230 banana_f3 sad_8x16_c: 387.7 ( 1.00x)394.9 ( 1.00x) sad_8x16_rvv_i32: 109.7 ( 3.53x)103.5 ( 3.82x) sad_16x8_c: 378.2 ( 1.00x)384.7 ( 1.00x) sad_16x8_rvv_i32:82.0 ( 4.61x

[FFmpeg-devel] [PATCH v2_2 4/6] lavc/vvc_mc: R-V V put_pixels

2024-12-15 Thread uk7b-at-foxmail . com
From: sunyuechi k230 banana_f3 put_chroma_pixels_8_4x4_c: 63.5 ( 1.00x)59.2 ( 1.00x) put_chroma_pixels_8_4x4_rvv_i32:26.5 ( 2.39x)28.0 ( 2.12x) put_chroma_pixels_8_8

[FFmpeg-devel] [PATCH v2_2 5/6] lavc/hevc: R-V V put_pixels(pow2)

2024-12-15 Thread uk7b-at-foxmail . com
From: sunyuechi k230 banana_f3 put_hevc_pel_pixels4_8_c: 61.6 ( 1.00x)69.5 ( 1.00x) put_hevc_pel_pixels4_8_rvv_i32: 24.6 ( 2.50x)28.0 ( 2.48x) put_hevc_pel_pixels8_8_c: 209.8 ( 1.00x)215.5 ( 1.00x)

Re: [FFmpeg-devel] [PATCH v2_2 1/6] Update R-V V vvc_mc vset to support more lengths

2024-12-15 Thread flow gg
Resolved the conflict (because #elif ARCH_WASM was newly added in master). 于2024年12月15日周日 23:56写道: > From: sunyuechi > > --- > libavcodec/riscv/vvc/vvc_mc_rvv.S | 46 +++ > 1 file changed, 23 insertions(+), 23 deletions(-) > > diff --git a/libavcodec/riscv/vvc/vvc_m

Re: [FFmpeg-devel] [PATCH v2 1/6] Update R-V V vvc_mc vset to support more lengths

2024-12-15 Thread Nuo Mi
On Sat, Dec 14, 2024 at 10:43 AM Nuo Mi wrote: > > > On Tue, Dec 10, 2024 at 10:37 PM flow gg wrote: > >> Thank you, this approach can indeed address similar if else scenarios. >> >> vsetvlstatic \w, \vlen, e8, mf8, mf4, mf2, m1, m2, m4 >> vsetvlstatic \w, \vlen, e16, mf4, mf2, m1, m2, m4, m8 >>

Re: [FFmpeg-devel] [PATCH v2 2/3] avcodec/rawenc: propagate the Producer Reference time

2024-12-15 Thread Clément Péron
Hi Michael, On Fri, 29 Nov 2024 at 20:22, Michael Niedermayer wrote: > > Hi > > On Fri, Nov 01, 2024 at 06:21:23PM +0100, Clément Péron wrote: > > The Producer Reference time contains the source time when the frame > > has been produced. This is usefull in the muxer so propagate it. > > > > Signe

Re: [FFmpeg-devel] [PATCH 0/7] RFC: complete rework of s337m support

2024-12-15 Thread Michael Niedermayer
Hi guys sorry for replying a little late to this, i just now was notifified or rather i just now noticed that i was. On Fri, Dec 13, 2024 at 11:00:43AM +0100, Nicolas George wrote: > Kieran Kunhya via ffmpeg-devel (12024-12-13): > > Where is the second sample rate stored in wav? Given that you

[FFmpeg-devel] [PATCH v3 1/2] avcodec/libjxlenc: add animated JPEG XL encoder

2024-12-15 Thread Leo Izen
libjxl supports animated encoding, so we add a wrapper to the library using the receive_packet callback method. This code was based largely on a patch sent by Zsolt Vadász, although it was updated to use more recent coding practices and many of the leaks and issues were fixed. Co-authored-by: Zso

[FFmpeg-devel] [PATCH v3 0/2] Animated JPEG XL (via libjxl)

2024-12-15 Thread Leo Izen
Changes since v2: - Replaced "goto end;" with "return ret;" when unnecessary - removed *data from JXLEncodeContext and added it as an argument to libjxl_preprocess_frame as that's the only place it was used - Added some comments Changes since v1: - Fixed FATE failures Leo Izen (2): avcodec/libj

Re: [FFmpeg-devel] [PATCH 11/14] avformat/rtmpproto: add more enhanced rtmp codecs

2024-12-15 Thread Michael Niedermayer
Hi On Thu, Dec 12, 2024 at 08:55:36PM +0100, Timo Rothenpieler wrote: > --- > libavformat/rtmpproto.c | 11 +-- > 1 file changed, 9 insertions(+), 2 deletions(-) > > diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c > index b3b1eedacb..a56fec759f 100644 > --- a/libavformat/r

Re: [FFmpeg-devel] [PATCH 06/14] avformat/flvenc: refactor fourcc writing

2024-12-15 Thread Michael Niedermayer
Hi Timo On Thu, Dec 12, 2024 at 08:55:31PM +0100, Timo Rothenpieler wrote: > --- > libavformat/flvenc.c | 96 ++-- > 1 file changed, 47 insertions(+), 49 deletions(-) > > diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c > index 21e2bca5be..fbe54163

Re: [FFmpeg-devel] [PATCH 14/14] avformat/rtmpproto: reserve enough space for statusmsg

2024-12-15 Thread Michael Niedermayer
Hi On Thu, Dec 12, 2024 at 08:55:39PM +0100, Timo Rothenpieler wrote: > --- > libavformat/rtmpproto.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c > index a56fec759f..a5e877cc55 100644 > --- a/libavformat/rtmpproto.c >

Re: [FFmpeg-devel] [PATCH 14/14] avformat/rtmpproto: reserve enough space for statusmsg

2024-12-15 Thread 阿儒
Michael Niedermayer 於 2024年12月16日 週一,06:43寫道: > Hi > > On Thu, Dec 12, 2024 at 08:55:39PM +0100, Timo Rothenpieler wrote: > > --- > > libavformat/rtmpproto.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c > > index

Re: [FFmpeg-devel] [PATCH 04/14] avformat/flvenc: remove !size check for audio packets

2024-12-15 Thread James Almer
On 12/14/2024 5:49 PM, Timo Rothenpieler wrote: On 14.12.2024 10:16, Anton Khirnov wrote: This could use some explanation. I unfortunately don't remember the exact reason, but it ran into this check in normal operation, and empty audio packets are a perfectly valid thing to package. I think

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

2024-12-15 Thread Anton Khirnov
Hi all, this is a reminder that the CC election starts tomorrow morning (CET), with the following candidates: * Vittorio Giovara * James Almer * Marth64 * Anton Khirnov * compn * Jean-Baptiste Kempf * Rémi Denis-Courmont Cheers, -- Anton Khirnov ___ ffm

[FFmpeg-devel] [PATCH] Add SRV3 decoder/demuxer

2024-12-15 Thread Hubert Głuchowski
This commit adds preliminary support for decoding the SRV3 subtitle format. SRV3 is the internal format YouTube uses for their captions. Supporting it in ffmpeg allows video players to play a significant subset of SRV3 mostly correctly by converting it to ASS. Currently the following features are u

[FFmpeg-devel] [PATCH v3 2/2] avformat/jpegxl_anim_dec: use new animated JPEG XL codec ID

2024-12-15 Thread Leo Izen
A new codec ID has been added to avcodec for animated JPEG XL, so we should use that in the animated JPEG XL demuxer. Signed-off-by: Leo Izen --- libavformat/jpegxl_anim_dec.c| 2 +- tests/ref/fate/jxl-anim-demux-icos4d | 2 +- tests/ref/fate/jxl-anim-demux-newton | 2 +- 3 files changed

Re: [FFmpeg-devel] [PATCH] swscale/slice: fix init of 32 bpc planes

2024-12-15 Thread Michael Niedermayer
Hi Niklas On Wed, Dec 11, 2024 at 09:25:12AM +0100, Niklas Haas wrote: > From: Niklas Haas > > In input.c and output.c and many other places, swscale follows the rule of > using > 15-bit intermediate if output bpc is <= 8, and 19-bit (inside int32_t) > intermediate otherwise. See e.g. the comme

[FFmpeg-devel] [PATCH v1] lavc/aarch64: Fix ff_pred8x8_plane_neon_10

2024-12-15 Thread Bin Peng
Fix test failure on aarch64: ./tests/checkasm/checkasm --test=h264pred 479612 The mismatch between neon and C functions can also be reproduced using the following bitstream and command line. wget https://streams.videolan.org/ffmpeg/incoming/intra8x8pred_10bit.264 ./ffmpeg -cpuflags 0 -threa

Re: [FFmpeg-devel] SCaLE booth

2024-12-15 Thread Alexander Strasser via ffmpeg-devel
Hi Rémi! On 2024-11-19 19:10 +0200, Rémi Denis-Courmont wrote: > > I plan to solicit an FFmpeg booth at SCaLE 22x to be held early next March. > Booths for open-source communities are free and include 5 full conference > passes. The exhibition area is open, and needs to be manned, on Friday > afte

Re: [FFmpeg-devel] [PATCH 2/5] lavc/container_fifo: move to lavu and make public

2024-12-15 Thread Alexander Strasser via ffmpeg-devel
On 2024-12-11 15:05 +0100, Anton Khirnov wrote: > This can be useful in other places, e.g. it can replace objpool in > fftools. > > The API is modified in the following nontrivial ways: > * opaque pointers can be passed through to all user callbacks > * read and write were previously separate callb

Re: [FFmpeg-devel] [PATCH] lavc/videotoolboxenc: Add spatial_aq option

2024-12-15 Thread Michael Niedermayer
Hi On Fri, Dec 13, 2024 at 04:26:58PM +0100, Dennis Sädtler via ffmpeg-devel wrote: > From: Dennis Sädtler > > Added in macOS 15 "Sequoia". > > Signed-off-by: Dennis Sädtler > --- > libavcodec/videotoolboxenc.c | 12 > 1 file changed, 12 insertions(+) > > diff --git a/libavcodec