[FFmpeg-devel] [PATCH v2.5 10/33] avcodec: remove FF_API_THREAD_SAFE_CALLBACKS

2023-02-06 Thread Anton Khirnov
From: James Almer Signed-off-by: James Almer Signed-off-by: Anton Khirnov --- Sorry, picked the wrong patch version. This one does build without pthreads. --- fftools/ffmpeg.c | 5 - libavcodec/avcodec.h | 21 --- libavcodec/decode.c | 13 --

[FFmpeg-devel] [PATCH v2 3/3] qsv: remove CONFIG_VAAPI

2023-02-06 Thread Tong Wu
Make 8-bit, 10-bit, 12-bit YUV 4:2:2 video sources as well as YUV 4:4:4 video sources supported by d3d11va and dxva2 just like what VAAPI does. Sign-off-by: Tong Wu --- libavcodec/qsv.c | 4 libavutil/hwcontext_qsv.c | 4 2 files changed, 8 deletions(-) diff --git

[FFmpeg-devel] [PATCH v2 2/3] hwcontext_dxva2: add mutiple supported formats

2023-02-06 Thread Tong Wu
Add support for VUYX, YUYV422, Y210, XV30, P012, Y212, XV36. The added formats work with qsv acceleration and will not have impact on dxva2 acceleration(-hwaccel dxva2) since so far these formats are still not supported by using dxva2 acceleration. Hwupload and hwdownload can work with the added

[FFmpeg-devel] [PATCH v2 1/3] hwcontext_d3d11va: add mutiple supported DXGI formats

2023-02-06 Thread Tong Wu
Add support for VUYX, YUYV422, Y210, XV30, P012, Y212, XV36. The added formats work with qsv acceleration and will not have impact on d3d11va acceleration(-hwaccel d3d11va) since so far these formats are still not supported by using d3d11va acceleration. Hwupload and hwdownload can work with the

Re: [FFmpeg-devel] [PATCH 2/3] hwcontext_dxva2: add mutiple supported formats

2023-02-06 Thread Xiang, Haihao
On Di, 2023-01-31 at 16:41 +0800, Tong Wu wrote: > Add support for VUYX, YUYV422, Y210, XV30, P012, Y212, XV36. > The added formats work with qsv acceleration and will not have > impact on dxva2 acceleration(-hwaccel dxva2) since so far > these formats are still not supported by using dxva2

Re: [FFmpeg-devel] [PATCH 1/3] hwcontext_d3d11va: add mutiple supported DXGI formats

2023-02-06 Thread Xiang, Haihao
On Di, 2023-01-31 at 16:41 +0800, Tong Wu wrote: > Add support for VUYX, YUYV422, Y210, XV30, P012, Y212, XV36. > > The added formats work with qsv acceleration and will not have > impact on d3d11va acceleration(-hwaccel d3d11va) since so far > these formats are still not supported by using

[FFmpeg-devel] [PATCH 2/2] avfilter: add QSV variants of the stack filters

2023-02-06 Thread Xiang, Haihao
From: Haihao Xiang Include hstack_qsv, vstack_qsv and xstack_qsv. They may accept input streams with different sizes. Examples: $ ffmpeg -hwaccel qsv -hwaccel_output_format qsv -i input.mp4 \ -filter_complex "[0:v][0:v]hstack_qsv" -f null - $ ffmpeg \ -hwaccel qsv -hwaccel_output_format qsv -i

[FFmpeg-devel] [PATCH 1/2] lavfi/vf_stack_vaapi: factor out the common code for stack setting

2023-02-06 Thread Xiang, Haihao
From: Haihao Xiang The common code will be used in QSV based stack filters. Signed-off-by: Haihao Xiang --- libavfilter/stack_internal.c | 355 +++ libavfilter/stack_internal.h | 60 ++ libavfilter/vf_stack_vaapi.c | 395 --- 3

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: add a separate list for those with push access

2023-02-06 Thread Steven Liu
> 2023年1月30日 12:22,Stephen Hutchinson 写道: > > On 1/29/23 10:59 PM, Gyan Doshi wrote: >> On 2023-01-30 09:14 am, Leo Izen wrote: >>> >>> >>> On 1/29/23 18:14, Lynne wrote: Dec 18, 2022, 07:31 by d...@lynne.ee: Pushing this in 3 days unless anyone objects.

Re: [FFmpeg-devel] [PATCH] avformat/flvenc: fix EOS tag

2023-02-06 Thread Steven Liu
> 2023年2月7日 05:25,Zhao Zhili 写道: > > From: Zhao Zhili > > FLV spec only has AVC end of sequence tag, and the EOS tag has a > CodecID as other video data packet. MPEG4 doesn't conformance to > the spec, but it's there for a decade. So only 'fix' the EOS tag > rather than remove it completely.

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: add a separate list for those with push access

2023-02-06 Thread Michael Niedermayer
On Mon, Feb 06, 2023 at 02:49:19PM +, Derek Buitenhuis wrote: > On 2/6/2023 12:10 PM, Lynne wrote: > > At the FOSDEM meeting yesterday, everyone there agreed that while it's not > > perfect, it's a step in the right direction, and we should merge this. > > (I have no opinion re: merging.) >

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: add a separate list for those with push access

2023-02-06 Thread Michael Niedermayer
On Mon, Feb 06, 2023 at 01:10:06PM +0100, Lynne wrote: > Jan 30, 2023, 20:03 by d...@lynne.ee: > > > Jan 30, 2023, 17:49 by mich...@niedermayer.cc: > > > >> On Thu, Dec 15, 2022 at 02:13:49AM +0100, Lynne wrote: > >> > >>> This list is incomplete, and just contains those I could see > >>> while

Re: [FFmpeg-devel] Request for assistance with adding new pixel format (NV12_8L128) in FFmpeg

2023-02-06 Thread Kieran Kunhya
On Mon, 6 Feb 2023 at 15:43, Le Bao Tin Ha wrote: > I hope this email finds you well. I am currently working on the Toradex > Apalis iMX8QM board and I am trying to perform a hardware decode using the > Amphion driver with ffmpeg h264_v4l2m2m codec. The decoder outputs a pixel > format

[FFmpeg-devel] [PATCH] ffmpeg_opt: move help text for -ab/-b:a to audio category

2023-02-06 Thread Marth64
Since at least 4.4.3, -ab/-b:a help text was in the video section of ffmpeg -h, but these are audio options. Signed-off-by: Marth64 --- fftools/ffmpeg_opt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index

[FFmpeg-devel] Request for assistance with adding new pixel format (NV12_8L128) in FFmpeg

2023-02-06 Thread Le Bao Tin Ha
Dear FFmpeg Community, I hope this email finds you well. I am currently working on the Toradex Apalis iMX8QM board and I am trying to perform a hardware decode using the Amphion driver with ffmpeg h264_v4l2m2m codec. The decoder outputs a pixel format (NV12_8L128, a linear 8x128 NV12 based

[FFmpeg-devel] [PATCH 2/2 v2] lavfi/vf_colorspace: Add SMPTE ST 2084 support

2023-02-06 Thread Tomas Härdin
Here's a version of this patch with options for specifying input and output nits. 32-bit LUTs would make this situation better if vf_colorspace tracked nits internally. 32-bit would only be necessary when dealing with HDR. That way SDR colorspace conversion can still use the 16-bit SIMD. /Tomas

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: add a separate list for those with push access

2023-02-06 Thread Derek Buitenhuis
On 2/6/2023 12:10 PM, Lynne wrote: > At the FOSDEM meeting yesterday, everyone there agreed that while it's not > perfect, it's a step in the right direction, and we should merge this. (I have no opinion re: merging.) Is it not possible to audit/list who has git push access instead of guessing?

Re: [FFmpeg-devel] [PATCH] avfilter: use ff_inlink_make_frame_writable()

2023-02-06 Thread Nicolas George
Paul B Mahol (12023-02-06): > Patch attached. > From 8d2d4d35a54d0a3ddf300ef7196489898c3efc4e Mon Sep 17 00:00:00 2001 > From: Paul B Mahol > Date: Mon, 6 Feb 2023 14:57:50 +0100 > Subject: [PATCH] avfilter: use ff_inlink_make_frame_writable() > > Signed-off-by: Paul B Mahol > --- >

[FFmpeg-devel] [PATCH] avfilter: use ff_inlink_make_frame_writable()

2023-02-06 Thread Paul B Mahol
Patch attached. From 8d2d4d35a54d0a3ddf300ef7196489898c3efc4e Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 6 Feb 2023 14:57:50 +0100 Subject: [PATCH] avfilter: use ff_inlink_make_frame_writable() Signed-off-by: Paul B Mahol --- libavfilter/avf_abitscope.c | 11 +--

[FFmpeg-devel] [PATCH] avformat/flvenc: fix EOS tag

2023-02-06 Thread Zhao Zhili
From: Zhao Zhili FLV spec only has AVC end of sequence tag, and the EOS tag has a CodecID as other video data packet. MPEG4 doesn't conformance to the spec, but it's there for a decade. So only 'fix' the EOS tag rather than remove it completely. Signed-off-by: Zhao Zhili ---

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: add a separate list for those with push access

2023-02-06 Thread Lynne
Jan 30, 2023, 20:03 by d...@lynne.ee: > Jan 30, 2023, 17:49 by mich...@niedermayer.cc: > >> On Thu, Dec 15, 2022 at 02:13:49AM +0100, Lynne wrote: >> >>> This list is incomplete, and just contains those I could see >>> while looking at the recent git log. If it looks like I've forgotten you, I

Re: [FFmpeg-devel] Hardware purchase request Apple M2

2023-02-06 Thread Thilo Borgmann
Hi, the M2 chip recently made it from the laptops into the mini as well. It's the generation of the Chip, I think we should buy one and have that running FATE as well. Kieran agreed on hosting this one like he does for the existing M1 machines. There are currently two M1 machines running at

[FFmpeg-devel] [PATCH V5 2/3] lavfi/dnn: Modified DNN native backend related tools and docs.

2023-02-06 Thread Ting Fu
Deleted the native backend related files in 'tools' dir. Modify its' docs and codes mentioned in such docs. Signed-off-by: Ting Fu --- doc/filters.texi| 43 +- libavfilter/vf_derain.c | 2 +- libavfilter/vf_dnn_processing.c | 2 +-

[FFmpeg-devel] [PATCH V5 1/3] lavfi/dnn: Mark native backend as unsupported

2023-02-06 Thread Ting Fu
Native is deprecated value for backed_type option. Modify related error message. Signed-off-by: Ting Fu --- libavfilter/dnn/dnn_interface.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/libavfilter/dnn/dnn_interface.c b/libavfilter/dnn/dnn_interface.c index

Re: [FFmpeg-devel] [PATCH 2/2] lavfi/vf_colorspace: Add SMPTE ST 2084 support

2023-02-06 Thread Tomas Härdin
mån 2023-02-06 klockan 10:35 +0100 skrev Tomas Härdin: > fre 2023-02-03 klockan 08:29 -0800 skrev Pierre-Anthony Lemieux: > > On Fri, Feb 3, 2023 at 7:54 AM Tomas Härdin wrote: > > > > > > We need something better for proper tonemap support, but this is > > > at > > > least useful for getting

Re: [FFmpeg-devel] [PATCH 2/2] lavfi/vf_colorspace: Add SMPTE ST 2084 support

2023-02-06 Thread Tomas Härdin
fre 2023-02-03 klockan 08:29 -0800 skrev Pierre-Anthony Lemieux: > On Fri, Feb 3, 2023 at 7:54 AM Tomas Härdin wrote: > > > > We need something better for proper tonemap support, but this is at > > least useful for getting the HDR discussion going. > > Below is a demonstration of two tonemap

Re: [FFmpeg-devel] [PATCH] avfilter: add QSV variants of the stack filters

2023-02-06 Thread Paul B Mahol
On 2/6/23, Xiang, Haihao wrote: > On Ma, 2023-01-30 at 09:48 +0100, Paul B Mahol wrote: >> On 1/30/23, Xiang, Haihao wrote: >> > From: Haihao Xiang >> > >> > Include hstack_qsv, vstack_qsv and xstack_qsv. They may accept input >> > streams with different sizes. >> > >> > Examples: >> > $ ffmpeg

Re: [FFmpeg-devel] Hardware purchase request Apple M2

2023-02-06 Thread Paul B Mahol
On 2/6/23, Thilo Borgmann wrote: > Hi, > > the M2 chip recently made it from the laptops into the mini as well. > It's the generation of the Chip, I think we should buy one and have that > running FATE as well. > > Kieran agreed on hosting this one like he does for the existing M1 > machines. >

Re: [FFmpeg-devel] [PATCH v14 9/9] avcodec/evc: Changes in Changelog and MAINTAINERS files

2023-02-06 Thread Dawid Kozinski/Multimedia (PLT) /SRPOL/Staff Engineer/Samsung Electronics
Michael, could you review Lynne's policy change on maintainership? It's essential for us to move EVC case one step forward. -Original Message- From: ffmpeg-devel On Behalf Of Lynne Sent: poniedziałek, 30 stycznia 2023 00:18 To: FFmpeg development discussions and patches Subject: Re:

Re: [FFmpeg-devel] Hardware purchase request Apple M2

2023-02-06 Thread Jean-Baptiste Kempf
On Mon, 6 Feb 2023, at 04:17, Thilo Borgmann wrote: > Kieran agreed on hosting this one like he does for the existing M1 > machines. > There are currently two M1 machines running at Kieran's, one of which > runs FATE and the other is basically idle. > > So I propose to > > a) spend funding on