Re: [FFmpeg-devel] [PATCH] avfilter/vf_showinfo: add udu_sei_as_ascii option

2023-12-27 Thread Zhao Zhili
> On Dec 21, 2023, at 11:05, Zhao Zhili wrote: > > >> On Dec 13, 2023, at 11:46, Zhao Zhili wrote: >> >> From: Zhao Zhili >> >> Some encoders (e.g., libx264) dump encoder configuration as user >> data unregistered SEI message. This option try to print it as >> ascii character when

[FFmpeg-devel] [PATCH v2 4/5] avcodec/d3d12va_decode|dxva2: add a warning to replace assertion

2023-12-27 Thread Tong Wu
Previous assertion was not useful. Now a warning is added to replace it. For get_surface_index, we should return a zero index in case the index is not found. But a warning is necessary to notify. Signed-off-by: Tong Wu --- libavcodec/d3d12va_decode.c | 3 +-- libavcodec/dxva2.c | 2 +-

[FFmpeg-devel] [PATCH v2 5/5] avcodec/dxva2(h264|mpeg2|vc1): use av_assert0 instead of assert

2023-12-27 Thread Tong Wu
Signed-off-by: Tong Wu --- libavcodec/dxva2.c | 4 ++-- libavcodec/dxva2_h264.c | 16 libavcodec/dxva2_mpeg2.c | 2 +- libavcodec/dxva2_vc1.c | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/libavcodec/dxva2.c b/libavcodec/dxva2.c index

[FFmpeg-devel] [PATCH v2 1/5] avcodec/d3d12va_vp9: fix vp9 max_num_refs value

2023-12-27 Thread Tong Wu
Previous max_num_refs was based on pp.frame_refs plus 1 and it could possibly reaches the size limit. Actually it should be the size of pp.ref_frame_map plus 1. Signed-off-by: Tong Wu --- libavcodec/d3d12va_vp9.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[FFmpeg-devel] [PATCH v2 3/5] avcodec/d3d12va_h264: replace assert with av_assert0

2023-12-27 Thread Tong Wu
Signed-off-by: Tong Wu --- libavcodec/d3d12va_h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/d3d12va_h264.c b/libavcodec/d3d12va_h264.c index 5a6d6852c8..24e1c523fa 100644 --- a/libavcodec/d3d12va_h264.c +++ b/libavcodec/d3d12va_h264.c @@ -60,7 +60,7 @@

[FFmpeg-devel] [PATCH v2 2/5] avcodec/d3d12va_decode: delete an empty line and fix a fuction alignment

2023-12-27 Thread Tong Wu
Signed-off-by: Tong Wu --- libavcodec/d3d12va_decode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/d3d12va_decode.c b/libavcodec/d3d12va_decode.c index e0b67bf964..50d5b8d601 100644 --- a/libavcodec/d3d12va_decode.c +++ b/libavcodec/d3d12va_decode.c @@

Re: [FFmpeg-devel] [PATCH v2] avcodec/d3d12va_decode: don't change the resource state if the referenced frame is the same as the current frame

2023-12-27 Thread Wu, Tong1
>From: ffmpeg-devel On Behalf Of Wu >Jianhua >Sent: Wednesday, December 27, 2023 9:44 PM >To: FFmpeg development discussions and patches de...@ffmpeg.org> >Subject: [FFmpeg-devel] [PATCH v2] avcodec/d3d12va_decode: don't change >the resource state if the referenced frame is the same as the

Re: [FFmpeg-devel] [PATCH v2 3/7] avcodec/hevc: Add pel_uni_w_pixels4/6/8/12/16/24/32/48/64 asm opt

2023-12-27 Thread yinshiyou-hf
> -原始邮件- > 发件人: jinbo > 发送时间:2023-12-27 12:50:15 (星期三) > 收件人: ffmpeg-devel@ffmpeg.org > 抄送: jinbo > 主题: [FFmpeg-devel] [PATCH v2 3/7] avcodec/hevc: Add > pel_uni_w_pixels4/6/8/12/16/24/32/48/64 asm opt > > + > +.macro HEVC_PEL_UNI_W_PIXELS8_LSX src0, dst0, w > +vldrepl.d vr0,

Re: [FFmpeg-devel] [PATCH v1 1/2] avcodec/av1dec: Move message of OBU info back to the beginning

2023-12-27 Thread Wang, Fei W
On Wed, 2023-12-27 at 05:35 +, Xiang, Haihao wrote: > On Di, 2023-12-26 at 11:31 +0800, fei.w.wang-at-intel@ffmpeg.org > wrote: > > From: Fei Wang > > > > So that can show OBU info even it doesn't have decomposed content. > > > > Signed-off-by: Fei Wang > > --- > > libavcodec/av1dec.c

[FFmpeg-devel] [PATCH v2 2/2] avcodec/av1dec: Return error for unsupported tile list OBU

2023-12-27 Thread fei . w . wang-at-intel . com
From: Fei Wang Otherwise decoding maybe successful but output result is incorrect. Signed-off-by: Fei Wang --- libavcodec/av1dec.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c index 198fe75aa0..41746b1f11 100644 --- a/libavcodec/av1dec.c

[FFmpeg-devel] [PATCH v2 1/2] avcodec/av1dec: Move message of OBU info back to the beginning

2023-12-27 Thread fei . w . wang-at-intel . com
From: Fei Wang So that can show OBU info even it doesn't have decomposed content. And add OBU content status into the message. Signed-off-by: Fei Wang --- libavcodec/av1dec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c index

Re: [FFmpeg-devel] [PATCH] lavfi: add quirc filter

2023-12-27 Thread James Almer
On 12/27/2023 8:20 PM, Stefano Sabatini wrote: On date Wednesday 2023-12-27 14:16:24 -0300, James Almer wrote: On 12/27/2023 8:37 AM, Stefano Sabatini wrote: On date Tuesday 2023-12-26 22:33:36 -0300, James Almer wrote: On 12/26/2023 10:25 PM, Stefano Sabatini wrote: On date Tuesday

Re: [FFmpeg-devel] [PATCH v2 0/3] Fix some active sequences in subtitles

2023-12-27 Thread Oneric
On Sun, Dec 10, 2023 at 17:37:12 +0100, Oneric wrote: > Changes from v1: > - ff_ass_bprint_text_event now only inserts a word-joiner >if there isn’t already one anyway > - added a third commit improving the handling of >curly brackets for standard ASS renderers > > Heads up: > [...]

[FFmpeg-devel] [PATCH 2/2] lavfi/setpts: introduce rand() function in expression

2023-12-27 Thread Stefano Sabatini
This is useful to simulate random jitter. --- Changelog| 1 + doc/filters.texi | 10 +- libavfilter/setpts.c | 39 +-- 3 files changed, 43 insertions(+), 7 deletions(-) diff --git a/Changelog b/Changelog index 424bfc11af..ed01c53264

[FFmpeg-devel] [PATCH 1/2] lavfi/setpts: use macro to access variables array

2023-12-27 Thread Stefano Sabatini
--- libavfilter/setpts.c | 94 +--- 1 file changed, 45 insertions(+), 49 deletions(-) diff --git a/libavfilter/setpts.c b/libavfilter/setpts.c index d057fc91c4..88a8d6af86 100644 --- a/libavfilter/setpts.c +++ b/libavfilter/setpts.c @@ -103,6 +103,9 @@

Re: [FFmpeg-devel] [PATCH] lavfi: add quirc filter

2023-12-27 Thread Stefano Sabatini
On date Wednesday 2023-12-27 14:16:24 -0300, James Almer wrote: > On 12/27/2023 8:37 AM, Stefano Sabatini wrote: > > On date Tuesday 2023-12-26 22:33:36 -0300, James Almer wrote: > > > On 12/26/2023 10:25 PM, Stefano Sabatini wrote: > > > > On date Tuesday 2023-12-26 17:20:33 +0100, Stefano

Re: [FFmpeg-devel] [PATCH] lavfi: add quirc filter

2023-12-27 Thread James Almer
On 12/27/2023 8:37 AM, Stefano Sabatini wrote: On date Tuesday 2023-12-26 22:33:36 -0300, James Almer wrote: On 12/26/2023 10:25 PM, Stefano Sabatini wrote: On date Tuesday 2023-12-26 17:20:33 +0100, Stefano Sabatini wrote: --- Changelog| 1 + configure|

[FFmpeg-devel] [PATCH 1/2] libavdevice/pipewiregrab: add pipewire based grab

2023-12-27 Thread Abhishek Ojha
This is an proof of concept for pipewire grab to enable screen capture on wayland. Add a new Linux capture based on [1] PipeWire and the [2] Desktop portal. This new capture starts by asking the Desktop portal for a screencapture session.There are quite a few D-Bus calls involved in this, but the

[FFmpeg-devel] [PATCH 2/2] configure: disable locale use in spa plugin

2023-12-27 Thread Abhishek Ojha
This commit requires to resolve the compilation error of pipewiregrab because Pipewire's spa plugin is requesting locale_t extension to compile. Which was added in POSIX 2008 but ffmpeg is using POSIX 2001 due to which spa plugin complains. __LOCALE_C_ONLY flag is set to disable the locale usage

[FFmpeg-devel] Pipewiregrab patch

2023-12-27 Thread Abhishek Ojha
I wanted to express my sincere gratitude to the entire FFMPEG community for promptly reviewing the [1] patch I submitted. Leo, Your insightful comments and suggestions have been invaluable in improving the quality of the code. I appreciate your time and effort to thoroughly assessing the patch.I

Re: [FFmpeg-devel] [PATCH] lavfi: add quirc filter

2023-12-27 Thread Tomas Härdin
ons 2023-12-27 klockan 12:37 +0100 skrev Stefano Sabatini: > On date Tuesday 2023-12-26 22:33:36 -0300, James Almer wrote: > > On 12/26/2023 10:25 PM, Stefano Sabatini wrote: > > > On date Tuesday 2023-12-26 17:20:33 +0100, Stefano Sabatini > > > wrote: > > > > --- > > > >   Changelog  

Re: [FFmpeg-devel] [PATCH] all: Don't set AVClass.item_name to its default value

2023-12-27 Thread Kacper Michajlow
On Mon, 25 Dec 2023 at 11:48, Zhao Zhili wrote: > > > > > On Dec 25, 2023, at 18:21, Anton Khirnov wrote: > > > > Quoting Zhao Zhili (2023-12-25 10:27:59) > >> > >> > >>> On Dec 25, 2023, at 16:38, Anton Khirnov wrote: > >>> > >>> Quoting Kacper Michajlow (2023-12-24 11:41:52) > On Fri, 22

[FFmpeg-devel] [PATCH] avformat/rtsp: Fix server compatibility issues with rtspclientsink GStreamer plugin

2023-12-27 Thread Paul Orlyk
mode field in Transport header can be sent in upper case so make string comparison case insensitive. Also, GStreamer expects to see mode=record instead of mode=receive in Transport header in response. Signed-off-by: Paul Orlyk --- libavformat/rtsp.c| 4 ++-- libavformat/rtspdec.c | 4

[FFmpeg-devel] [PATCH v2] avcodec/d3d12va_decode: don't change the resource state if the referenced frame is the same as the current frame

2023-12-27 Thread Wu Jianhua
This commit removes the follow warning and error: D3D12 WARNING: ID3D12CommandList::ResourceBarrier: Called on the same subresource(s) of Resource(0x02236E0E00D0:'Unnamed ID3D12Resource Object') in separate Barrier Descs which is inefficient and likely unintentional. Desc[0] and

[FFmpeg-devel] 回复: [PATCH] avcodec/d3d12va_decode: don't change the resource state if the referenced frame is the same as the current frame

2023-12-27 Thread Wu Jianhua
> From: ffmpeg-devel On Behalf Of Wu, Tong1 > > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH] avcodec/d3d12va_decode: don't change the > resource state if the referenced frame is > the same as the current frame > >>From: ffmpeg-devel On Behalf Of Wu

Re: [FFmpeg-devel] [PATCH] lavfi/overlay: factorize definition of planar and package blending functions

2023-12-27 Thread Stefano Sabatini
On date Sunday 2023-12-24 20:54:39 +0300, Dennis Mungai wrote: > On Sun, 24 Dec 2023, 20:41 Stefano Sabatini, wrote: > > > On date Saturday 2023-12-16 15:24:36 +0100, Stefano Sabatini wrote: > > > --- > > > libavfilter/vf_overlay.c | 260 --- > > > 1 file

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/proresenc: fix alpha plane encoding bitstream

2023-12-27 Thread Stefano Sabatini
On date Tuesday 2023-12-26 23:25:16 +0100, Clément Bœsch wrote: > These functions encode a slice of alpha (1 to 8 macroblocks) which are > expected to be encoded as a repeated sequence of "[diff][run-1]", where > diff is the running difference of the alpha value and run is how many > times that

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/proresenc: make transparency honored in mov/QT

2023-12-27 Thread Stefano Sabatini
On date Tuesday 2023-12-26 23:25:15 +0100, Clément Bœsch wrote: > In the mov muxer (in mov_write_video_tag()), bits_per_coded_sample will > be written under certain conditions and is required to be 32 for the > transparency to be honored in QuickTime. > > prores_kostya already has this setting

Re: [FFmpeg-devel] [PATCH] lavfi: add quirc filter

2023-12-27 Thread Stefano Sabatini
On date Tuesday 2023-12-26 22:33:36 -0300, James Almer wrote: > On 12/26/2023 10:25 PM, Stefano Sabatini wrote: > > On date Tuesday 2023-12-26 17:20:33 +0100, Stefano Sabatini wrote: > > > --- > > > Changelog| 1 + > > > configure| 4 + > > >

Re: [FFmpeg-devel] Mailinglist conduct [was: Re: [PATCH] lavc: remove the QOA decoder]

2023-12-27 Thread Paul B Mahol
On Wed, Dec 27, 2023 at 12:53 AM James Almer wrote: > > On 12/26/2023 7:40 PM, Paul B Mahol wrote: > > On Tue, Dec 26, 2023 at 11:20 PM Ronald S. Bultje > > wrote: > > > >> Paul, > >> > >> On Thu, Dec 21, 2023 at 3:05 PM Paul B Mahol wrote: > >> > >>> Say what serious feature you contributed ?