[FFmpeg-devel] [PATCH] avformat/hlsenc: hls_init_time should used in living stream mode

2022-12-08 Thread Steven Liu
When hls_init_time should available when hls_list_size > 0. Because the list will not refresh new top line segment when hls_list_size is 0 Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hls

Re: [FFmpeg-devel] [PATCH] lavc/videotoolbox: validate vt context in the decoder callback

2022-12-08 Thread zhilizhao(赵志立)
> On Dec 7, 2022, at 00:30, Alessandro Di Nepi > wrote: > > Got you; giving some context here, and you can find all the details in the > ticket #10079 (http://trac.ffmpeg.org/ticket/10079). > > The issue has been introduced with the commit > d7f4ad88a0df3c1339e142957bf2c40cd056b8ce. > This

[FFmpeg-devel] [PATCH 2/2] avfilter/vf_tinterlace: support full-range YUV

2022-12-08 Thread Niklas Haas
From: Niklas Haas This filter, when used in the "pad" mode, currently makes the distinction between limited and full range solely by testing for YUVJ pixel formats at link setup time. This is deprecated and should be improved to perform the detection based on the per-frame metadata. In order to

[FFmpeg-devel] [PATCH 1/2] avfilter/vf_blackdetect: support full-range YUV

2022-12-08 Thread Niklas Haas
From: Niklas Haas This filter currently makes the distinction between limited and full range by testing for the deprecated YUVJ pixel formats at link setup time. This is deprecated and should be improved to perform the detection based on the per-frame metadata. Rewrite it to calculate the black

Re: [FFmpeg-devel] AVX512 NUCs for FATE and development

2022-12-08 Thread Kieran Kunhya
I intend to buy this RAM: https://www.amazon.co.uk/Crucial-CT2K16G4SFRA32A-PC4-25600-SODIMM-260-Pin/dp/B08C4X9VR5 2x £529 for NUCs 2x £102.48 for RAM 2x £69 for M.2 NVMe SSD £1400 total. Kieran On Thu, 8 Dec 2022 at 21:30, Jean-Baptiste Kempf wrote: > > > On Thu, 8 Dec 2022, at 22:20, Ronal

Re: [FFmpeg-devel] AVX512 NUCs for FATE and development

2022-12-08 Thread Jean-Baptiste Kempf
On Thu, 8 Dec 2022, at 22:20, Ronald S. Bultje wrote: > Hi, > > On Sun, Dec 4, 2022 at 1:08 PM Kieran Kunhya wrote: > >> Hello, >> >> As discussed at the developer meeting it would be good to have an AVX-512 >> (ICL) FATE machine and also a development machine. >> What I didn't realise until a f

Re: [FFmpeg-devel] AVX512 NUCs for FATE and development

2022-12-08 Thread Ronald S. Bultje
Hi, On Sun, Dec 4, 2022 at 1:08 PM Kieran Kunhya wrote: > Hello, > > As discussed at the developer meeting it would be good to have an AVX-512 > (ICL) FATE machine and also a development machine. > What I didn't realise until a few weeks ago is that 11th Generation NUCs > have AVX512ICL support.

[FFmpeg-devel] [PATCH] avfilter: add minvar video filter

2022-12-08 Thread Paul B Mahol
Patch attached. TODO: documentation. From 85063fe1d9f1fb33670068f7d3bb9038e22f2f75 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 7 Dec 2022 22:09:59 +0100 Subject: [PATCH] avfilter: add minvar video filter Signed-off-by: Paul B Mahol --- libavfilter/Makefile | 1 + libavfilter/a

[FFmpeg-devel] [PATCH] avcodec/libdav1d: honor the requested skip_frame level

2022-12-08 Thread James Almer
This supports dropping non-intra, non-key, or all frames. Signed-off-by: James Almer --- libavcodec/libdav1d.c | 51 +++ 1 file changed, 32 insertions(+), 19 deletions(-) diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c index 028929404e..2f83a96

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/vqcdec: Check width & 15

2022-12-08 Thread Michael Niedermayer
On Thu, Dec 08, 2022 at 06:32:40PM +1100, Peter Ross wrote: > On Sun, Nov 27, 2022 at 11:34:34PM +0100, Michael Niedermayer wrote: > > Various parts of the code assume that width can be divided by various > > powers of 2 > > without rounding > > > > Fixes: out of array access > > Fixes: > > 5362

Re: [FFmpeg-devel] [PATCH] avformat/file: add fd protocol

2022-12-08 Thread Zhao Zhili
On Thu, 2022-12-08 at 16:28 +0100, Andreas Rheinhardt wrote: > Marvin Scholz: > > > > On 8 Dec 2022, at 16:11, Zhao Zhili wrote: > > > > > On Mon, 2022-12-05 at 10:51 +0800, zhilizhao(赵志立) wrote: > > > > > On Nov 19, 2022, at 02:48, Zhao Zhili > > > > > > > > > > wrote: > > > > > > > > > > From

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/mediacodecenc: add option to select codec by name

2022-12-08 Thread Zhao Zhili
On Mon, 2022-11-28 at 00:55 +0800, Zhao Zhili wrote: > From: Zhao Zhili > > --- > libavcodec/mediacodecenc.c | 8 +++- > libavcodec/version.h | 2 +- > 2 files changed, 8 insertions(+), 2 deletions(-) > > Applied. ___ ffmpeg-devel mailing

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mediacodec: fix missing crop info when use NDK MediaCodec

2022-12-08 Thread Zhao Zhili
On Thu, 2022-11-24 at 00:49 +0800, Zhao Zhili wrote: > From: Zhao Zhili > > --- > libavcodec/mediacodec_wrapper.c | 38 - > -- > libavcodec/mediacodec_wrapper.h | 24 +++ > libavcodec/mediacodecdec_common.c | 4 > 3 files changed, 63 insertio

Re: [FFmpeg-devel] [PATCH] avformat/file: add fd protocol

2022-12-08 Thread Andreas Rheinhardt
Marvin Scholz: > > > On 8 Dec 2022, at 16:11, Zhao Zhili wrote: > >> On Mon, 2022-12-05 at 10:51 +0800, zhilizhao(赵志立) wrote: On Nov 19, 2022, at 02:48, Zhao Zhili wrote: From: Zhao Zhili Unlike the pipe protocol, fd protocol has seek support if it correspond

Re: [FFmpeg-devel] [PATCH] avformat/file: add fd protocol

2022-12-08 Thread Marvin Scholz
On 8 Dec 2022, at 16:11, Zhao Zhili wrote: > On Mon, 2022-12-05 at 10:51 +0800, zhilizhao(赵志立) wrote: >>> On Nov 19, 2022, at 02:48, Zhao Zhili >>> wrote: >>> >>> From: Zhao Zhili >>> >>> Unlike the pipe protocol, fd protocol has seek support if it >>> corresponding to a regular file. >>> ---

Re: [FFmpeg-devel] [PATCH] avformat/file: add fd protocol

2022-12-08 Thread Zhao Zhili
On Mon, 2022-12-05 at 10:51 +0800, zhilizhao(赵志立) wrote: > > On Nov 19, 2022, at 02:48, Zhao Zhili > > wrote: > > > > From: Zhao Zhili > > > > Unlike the pipe protocol, fd protocol has seek support if it > > corresponding to a regular file. > > --- > > Sometimes it's the only way to access file

[FFmpeg-devel] [PATCH 5/5] avcodec/libdav1d: reindent after the previous commit

2022-12-08 Thread James Almer
Signed-off-by: James Almer --- libavcodec/libdav1d.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c index d9542dd6a0..2f151d2d1b 100644 --- a/libavcodec/libdav1d.c +++ b/libavcodec/libdav1d.c @@ -328,7 +328,

[FFmpeg-devel] [PATCH 4/5] avcodec/libdav1d: set frame props from the reordered packet

2022-12-08 Thread James Almer
Attach the AVPacket instead of only a few values to the corresponding Dav1dData struct and use it to set all output frame props. Signed-off-by: James Almer --- libavcodec/libdav1d.c | 45 +++ 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/

[FFmpeg-devel] [PATCH 3/5] avcodec/libdav1d: don't use AVCodecInternal.in_pkt

2022-12-08 Thread James Almer
Allocate an AVPacket instead, which will be used in the following commit. Signed-off-by: James Almer --- libavcodec/libdav1d.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c index 028929404e..f98f351e49

[FFmpeg-devel] [PATCH 2/5] avcodec/decode: reindent after the previous commit

2022-12-08 Thread James Almer
Signed-off-by: James Almer --- libavcodec/decode.c | 46 ++--- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/libavcodec/decode.c b/libavcodec/decode.c index 8f7f0fadbe..3e5be501b9 100644 --- a/libavcodec/decode.c +++ b/libavcodec/decode.c

[FFmpeg-devel] [PATCH 1/5] avcodec/decode: add a function to set frame props from a user provided packet

2022-12-08 Thread James Almer
It will be useful for decoders that don't rely on last_pkt_props to set frame props. Signed-off-by: James Almer --- libavcodec/decode.c | 19 +++ libavcodec/decode.h | 5 + 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/libavcodec/decode.c b/libavcodec/decod