Re: [FFmpeg-devel] [PATCH 1/2] lavc/mediacodecenc: Probe supported pixel formats

2023-01-06 Thread Zhao Zhili
> From: ffmpeg-devel On Behalf Of Tomas Härdin > Sent: 2023年1月7日 2:22 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH 1/2] lavc/mediacodecenc: Probe supported > pixel formats > > lör 2023-01-07 klockan 02:03 +0800 skrev Zhao Zhili: > > On Fri, 2023-01-06

Re: [FFmpeg-devel] [PATCH] ffmpeg: apply discontinuity adjustment per-stream

2023-01-06 Thread Gyan Doshi
On 2023-01-03 03:52 pm, Gyan Doshi wrote: At present, the offset for discontinuity adjustment is applied per-file but the check for discontinuity is intra-stream so the same discontinuity when seen in multiple streams with copyts, leads to compounded adjustment of the discontinuity offset.

[FFmpeg-devel] [PATCH] arm32/neon: Avoid using bge/beq for function calls

2023-01-06 Thread Rui Ueyama
It looks like compiler-generated code always uses `b`, `bl` or `blx` instructions for function calls. These instructions have a 24-bit immediate and therefore can jump anywhere between PC +- 16 MiB. This hand-written assembly code instead uses `bge` and `beq` for interprocedural jumps. Since

Re: [FFmpeg-devel] Update for my hls and dash patches?

2023-01-06 Thread Basel Sayeh
On 1/5/23 09:26, Steven Liu wrote: Basel Sayeh 于2023年1月5日周四 09:19写道: Hello, Any update or comment on these patch sets? Enable HTTP persistent connections for hls_delete_file & dashenc_delete_file: https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=8033

[FFmpeg-devel] [PATCH v6 2/2] libavformat/dashenc: Enable HTTP persistent connections for dashenc_delete_file

2023-01-06 Thread Basel Sayeh
Signed-off-by: Basel Sayeh --- libavformat/dashenc.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 9c1bcad9e3..8e725a0d3f 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -179,6 +179,7 @@

[FFmpeg-devel] [PATCH v6 1/2] libavformat/hlsenc: Enable HTTP persistent connections for hls_delete_file

2023-01-06 Thread Basel Sayeh
V6: - Removed the const for filename in "hls_delete_file" to fix compilation warnings - Removed the unnecessary calls to ff_format_io_close this patch introduced in hls_delete_file and in dashenc_delete_file V1-V5: hls_delete_file and dashenc_delete_file functions open a new HTTP

[FFmpeg-devel] [PATCH 2/2] avcodec/mvha: Check input size for HUFY before picture allocation

2023-01-06 Thread Michael Niedermayer
Fixes: Timeout Fixes: 54772/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MVHA_fuzzer-5484199677394944 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/mvha.c | 12 +--- 1 file

[FFmpeg-devel] [PATCH 1/2] avcodec/eac3dec: avoid float noise in fixed mode addition to overflow

2023-01-06 Thread Michael Niedermayer
Fixes: 2.28595e+09 is outside the range of representable values of type 'int' Fixes: 54644/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AC3_FIXED_fuzzer-4816961584627712 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by:

Re: [FFmpeg-devel] [PATCH v3] avcodec/vaapi_encode_h26x: passthrough A53 CC data as H264/HEVC SEI

2023-01-06 Thread Andreas Rheinhardt
Aman Karmani: > From: Aman Karmani > > Signed-off-by: Aman Karmani > --- > avcodec/vaapi_encode_h26x: passthrough A53 CC data as H264/HEVC SEI > > v3: fix build failure v2: add control via sei parameter > > Published-As: >

Re: [FFmpeg-devel] [PATCH 1/2] lavc/mediacodecenc: Probe supported pixel formats

2023-01-06 Thread Tomas Härdin
lör 2023-01-07 klockan 02:03 +0800 skrev Zhao Zhili: > On Fri, 2023-01-06 at 16:42 +0100, Tomas Härdin wrote: > > > +    if (!(format = ff_AMediaFormat_new(use_ndk_codec))) { > > +    av_log(NULL, AV_LOG_ERROR, "Failed to create media > > format\n"); > > +   

Re: [FFmpeg-devel] [PATCH v3 1/4] avcodec/bswapdsp: remove unused cextern

2023-01-06 Thread Mark Reid
On Mon, Dec 26, 2022 at 1:31 PM Mark Reid wrote: > > > On Mon, Dec 12, 2022 at 6:42 PM wrote: > >> From: Mark Reid >> >> --- >> libavcodec/x86/bswapdsp.asm | 2 -- >> 1 file changed, 2 deletions(-) >> >> diff --git a/libavcodec/x86/bswapdsp.asm b/libavcodec/x86/bswapdsp.asm >> index

Re: [FFmpeg-devel] [PATCH 1/2] lavc/mediacodecenc: Probe supported pixel formats

2023-01-06 Thread Zhao Zhili
On Fri, 2023-01-06 at 16:42 +0100, Tomas Härdin wrote: > For each entry in color_formats[] an encoder is configured and opened. > If this succeeds then the corresponding pixel format is added to > probed_pix_fmts[]. > > This patch has been released by Epic Games' legal department. > --- >

Re: [FFmpeg-devel] [PATCH] libswresample: avoid s16p internal processing format

2023-01-06 Thread Paul B Mahol
On Fri, Jan 6, 2023 at 7:01 PM Paul B Mahol wrote: > > > On Fri, Jan 6, 2023 at 6:25 PM Michael Niedermayer > wrote: > >> On Thu, Jan 05, 2023 at 11:08:25PM +0100, Paul B Mahol wrote: >> > On Thu, Jan 5, 2023 at 9:53 PM Michael Niedermayer < >> mich...@niedermayer.cc> >> > wrote: >> > >> > > On

Re: [FFmpeg-devel] [PATCH] libswresample: avoid s16p internal processing format

2023-01-06 Thread Paul B Mahol
On Fri, Jan 6, 2023 at 6:25 PM Michael Niedermayer wrote: > On Thu, Jan 05, 2023 at 11:08:25PM +0100, Paul B Mahol wrote: > > On Thu, Jan 5, 2023 at 9:53 PM Michael Niedermayer < > mich...@niedermayer.cc> > > wrote: > > > > > On Thu, Jan 05, 2023 at 01:44:10PM +0100, Paul B Mahol wrote: > > > >

[FFmpeg-devel] [PATCH v3] avcodec/vaapi_encode_h26x: passthrough A53 CC data as H264/HEVC SEI

2023-01-06 Thread Aman Karmani
From: Aman Karmani Signed-off-by: Aman Karmani --- avcodec/vaapi_encode_h26x: passthrough A53 CC data as H264/HEVC SEI v3: fix build failure v2: add control via sei parameter Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-46%2Ftmm1%2Fvaapi-a53cc-v3

Re: [FFmpeg-devel] [PATCH] libswresample: avoid s16p internal processing format

2023-01-06 Thread Michael Niedermayer
On Thu, Jan 05, 2023 at 11:08:25PM +0100, Paul B Mahol wrote: > On Thu, Jan 5, 2023 at 9:53 PM Michael Niedermayer > wrote: > > > On Thu, Jan 05, 2023 at 01:44:10PM +0100, Paul B Mahol wrote: > > > Patch attached. > > > > > swresample.c |3 ++- > > > 1 file changed, 2 insertions(+), 1

[FFmpeg-devel] [PATCH v2] avcodec/vaapi_encode_h26x: passthrough A53 CC data as H264/HEVC SEI

2023-01-06 Thread Aman Karmani
From: Aman Karmani Signed-off-by: Aman Karmani --- avcodec/vaapi_encode_h26x: passthrough A53 CC data as H264/HEVC SEI v2: control via sei parameter Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-46%2Ftmm1%2Fvaapi-a53cc-v2 Fetch-It-Via: git fetch

Re: [FFmpeg-devel] [PATCH v2 1/3] avformat/imfdec: remove the experimental flag

2023-01-06 Thread Pierre-Anthony Lemieux
On Fri, Jan 6, 2023 at 8:09 AM Tomas Härdin wrote: > > fre 2023-01-06 klockan 07:50 -0800 skrev Pierre-Anthony Lemieux: > > On Fri, Jan 6, 2023 at 7:45 AM Tomas Härdin wrote: > > > > > > tor 2023-01-05 klockan 15:29 -0800 skrev p...@sandflow.com: > > > > From: Pierre-Anthony Lemieux > > > > > >

Re: [FFmpeg-devel] [PATCH v2 1/3] avformat/imfdec: remove the experimental flag

2023-01-06 Thread Tomas Härdin
fre 2023-01-06 klockan 07:50 -0800 skrev Pierre-Anthony Lemieux: > On Fri, Jan 6, 2023 at 7:45 AM Tomas Härdin wrote: > > > > tor 2023-01-05 klockan 15:29 -0800 skrev p...@sandflow.com: > > > From: Pierre-Anthony Lemieux > > > > > > --- > > >  libavformat/imfdec.c | 2 +- > > >  1 file changed,

Re: [FFmpeg-devel] [PATCH v2 1/3] avformat/imfdec: remove the experimental flag

2023-01-06 Thread Pierre-Anthony Lemieux
On Fri, Jan 6, 2023 at 7:45 AM Tomas Härdin wrote: > > tor 2023-01-05 klockan 15:29 -0800 skrev p...@sandflow.com: > > From: Pierre-Anthony Lemieux > > > > --- > > libavformat/imfdec.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/libavformat/imfdec.c

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/jpeg2000dec: Move decoder structs to header files.

2023-01-06 Thread Tomas Härdin
ons 2022-12-28 klockan 23:20 +0300 skrev etemesica...@gmail.com: > From: caleb > > --- >  libavcodec/jpeg2000dec.c |  88 +--- >  libavcodec/jpeg2000dec.h | 121 > +++ >  2 files changed, 122 insertions(+), 87 deletions(-) >  create mode

Re: [FFmpeg-devel] [PATCH v2 1/3] avformat/imfdec: remove the experimental flag

2023-01-06 Thread Tomas Härdin
tor 2023-01-05 klockan 15:29 -0800 skrev p...@sandflow.com: > From: Pierre-Anthony Lemieux > > --- >  libavformat/imfdec.c | 2 +- >  1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/imfdec.c b/libavformat/imfdec.c > index 03de9ce151..a92686e93b 100644 > ---

[FFmpeg-devel] [PATCH 2/2] lavc/mediacodecenc: Probe actually supported color formats using JNI

2023-01-06 Thread Tomas Härdin
This should be faster than opening the encoder several times. /Tomas From 44c347f5a2b6160abd8fc09a0255ee21a7ba6ee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= Date: Wed, 4 Jan 2023 16:27:26 +0100 Subject: [PATCH 2/2] lavc/mediacodecenc: Probe actually supported color formats

[FFmpeg-devel] [PATCH 1/2] lavc/mediacodecenc: Probe supported pixel formats

2023-01-06 Thread Tomas Härdin
From eb6d090967b8ed7ea0ee0651a1f557633fa23517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= Date: Thu, 22 Dec 2022 13:29:58 +0100 Subject: [PATCH 1/2] lavc/mediacodecenc: Probe supported pixel formats For each entry in color_formats[] an encoder is configured and opened. If

Re: [FFmpeg-devel] [PATCH v2] avcodec/mediacodecenc: enable B frames only with -strict experimental

2023-01-06 Thread Tomas Härdin
lör 2023-01-07 klockan 00:07 +0800 skrev Zhao Zhili: > From: Zhao Zhili > > Signed-off-by: Zhao Zhili > --- > v2: Enable -> Enabling > >  libavcodec/mediacodecenc.c | 10 +- >  1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/mediacodecenc.c

Re: [FFmpeg-devel] [PATCH v4 1/4] lavc: add standalone cached bitstream reader

2023-01-06 Thread Anton Khirnov
Quoting Anton Khirnov (2023-01-03 12:19:40) > Will push in a few days if nobody has further comments. pushed -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit

Re: [FFmpeg-devel] [PATCH 2/2] avformat/movenc: Add loop parameter to animated AVIF

2023-01-06 Thread zhilizhao(赵志立)
> On Jan 6, 2023, at 01:34, Vignesh Venkatasubramanian > wrote: > > On Thu, Jan 5, 2023 at 1:45 AM "zhilizhao(赵志立)" > wrote: >> >> >> >>> On Jan 5, 2023, at 06:16, Vignesh Venkatasubramanian >>> wrote: >>> >>> The HEIF specification permits specifying the looping behavior of >>>

Re: [FFmpeg-devel] [PATCH V3 1/3] lavfi/dnn: Mark native backend as deprecated

2023-01-06 Thread Fu, Ting
> -Original Message- > From: ffmpeg-devel On Behalf Of Ting > Fu > Sent: Friday, January 6, 2023 05:02 PM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH V3 1/3] lavfi/dnn: Mark native backend as > deprecated > > Mark native as deprecated for backed_type option. Modify

[FFmpeg-devel] [PATCH V4 2/3] lavfi/dnn: Delete DNN native backend releated tools and docs.

2023-01-06 Thread Ting Fu
Signed-off-by: Ting Fu --- doc/filters.texi| 43 +- tools/python/convert.py | 56 --- tools/python/convert_from_tensorflow.py | 607 tools/python/convert_header.py | 26 - 4 files changed, 4 insertions(+), 728

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

2023-01-06 Thread Ting Fu
Native is deprecated value for backed_type option. Modify realted 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 V2 1/2] lavfi/dnn: Modify error message for incorrect backend_type

2023-01-06 Thread Fu, Ting
> -Original Message- > From: ffmpeg-devel On Behalf Of Guo, > Yejun > Sent: Thursday, January 5, 2023 09:07 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH V2 1/2] lavfi/dnn: Modify error message > for incorrect backend_type >

[FFmpeg-devel] [PATCH V3 2/3] lavfi/dnn: Delete DNN native backend releated tools and docs.

2023-01-06 Thread Ting Fu
Signed-off-by: Ting Fu --- doc/filters.texi| 43 +- tools/python/convert.py | 56 --- tools/python/convert_from_tensorflow.py | 607 tools/python/convert_header.py | 26 - 4 files changed, 4 insertions(+), 728

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

2023-01-06 Thread Ting Fu
Mark native as deprecated for backed_type option. Modify realted error message. Signed-off-by: Ting Fu --- libavfilter/dnn/dnn_interface.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/libavfilter/dnn/dnn_interface.c b/libavfilter/dnn/dnn_interface.c index

[FFmpeg-devel] [PATCH v2] avcodec/mediacodecenc: enable B frames only with -strict experimental

2023-01-06 Thread Zhao Zhili
From: Zhao Zhili Signed-off-by: Zhao Zhili --- v2: Enable -> Enabling libavcodec/mediacodecenc.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libavcodec/mediacodecenc.c b/libavcodec/mediacodecenc.c index 4c1809093c..a92a8dc5a9 100644 ---