[FFmpeg-devel] [PATCH] libavfilter/vf_pad: Try round up w/h for odd resolution to avoid failure

2022-05-01 Thread Linjie Fu
Try round_up output w/h for the clips with odd resolution to avoid failure if no padding is required(e.g. iw/ih+0+0). $ffmpeg -i input.mp4 -vf "scale=1241x1234,pad=iw+0+0:ih+3+3:0:3" -f null - Before: Round down to 1240x1234 and failed since s->w < inlink->w (e.g. 1240 < 1241) [Parsed_pad_1 @ 0x7

Re: [FFmpeg-devel] [PATCH] Fix AVX-512-VNNI_hevc_qpel_filters_avx512icl

2022-05-01 Thread Marton Balint
On Fri, 29 Apr 2022, Wu Jianhua wrote: Felix LeClair: Sent: 2022年4月29日 1:17 To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH] Fix AVX-512-VNNI_hevc_qpel_filters_avx512icl This commit fixes the above by swapping lin

[FFmpeg-devel] [PATCH] avformat/mov: fix timecode with rounded down tmcd nb_frames

2022-05-01 Thread Marton Balint
Regression since 8dd5bb728038f21d17ec789e21d65fe8f3f364a6. Fixes ticket #5978. Signed-off-by: Marton Balint --- libavformat/mov.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 0f63d997fc..dfd5720bf4 100644 --- a/lib

[FFmpeg-devel] [PATCH] avcodec/pixlet: consider minimum plane header in the minimal packet size

2022-05-01 Thread Michael Niedermayer
Fixes: Timeout Fixes: 46956/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PIXLET_fuzzer-5698161106092032 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/pixlet.c | 2 +- 1 file changed, 1

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

2022-05-01 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 23 libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_multiply.c | 253 ++ 4 files changed, 278 insertions(+) create mode 100644 libavfilter/vf_multiply.c dif

Re: [FFmpeg-devel] [PATCH v2 1/5] avutil/hwcontext_d3d11va: fix the uninitialized texture bindflag

2022-05-01 Thread Hendrik Leppkes
On Sun, May 1, 2022 at 7:09 AM Soft Works wrote: > I think that's what Hendrik wanted to point out as far as I understood. > Basically, I want explicit behavior, not implicit defaults. Anytime a hwcontext is created, something should tell it what its going to be used for, so we can determine whic

Re: [FFmpeg-devel] [PATCH v2 1/5] avutil/hwcontext_d3d11va: fix the uninitialized texture bindflag

2022-05-01 Thread Hendrik Leppkes
On Sun, May 1, 2022 at 5:48 PM Hendrik Leppkes wrote: > > On Sun, May 1, 2022 at 7:09 AM Soft Works wrote: > > I think that's what Hendrik wanted to point out as far as I understood. > > > > Basically, I want explicit behavior, not implicit defaults. Anytime a > hwcontext is created, something sh

Re: [FFmpeg-devel] [PATCH] libavcodec/videotoolboxenc.c: add option to hevc encoder to prioritize speed.

2022-05-01 Thread Simone Karin Lehmann
Hi, may I kindly ask you to check, if this patch could now be applied? Regards Simone Von meinem iPad gesendet > Am 25.04.2022 um 22:33 schrieb Simone Karin Lehmann : > >  > >>> Am 25.04.2022 um 21:14 schrieb Rick Kern : >>> >>> >>> { "a53cc", "Use A53 Closed Captions (if available)", O

Re: [FFmpeg-devel] [PATCH] libavcodec/videotoolboxenc.c: add option to hevc encoder to prioritize speed.

2022-05-01 Thread Richard Kern
> On May 1, 2022, at 1:31 PM, Simone Karin Lehmann wrote: > > Hi, > > may I kindly ask you to check, if this patch could now be applied? I’ll look at it today. > > Regards > Simone > > Von meinem iPad gesendet > >> Am 25.04.2022 um 22:33 schrieb Simone Karin Lehmann : >> >>  >> >

Re: [FFmpeg-devel] [PATCH] libavcodec/videotoolboxenc.c: add option to hevc encoder to prioritize speed.

2022-05-01 Thread Simone Karin Lehmann
Hi, … I’m so sorry, the patch I recently sent didn’t test the prio_speed bool. This corrects it. I really sorry. :-/ Regards Simone 0001-add-options-to-h264-hevc-and-prores-encoders-to-prio.patch Description: Binary data > Am 01.05.2022 um 20:25 schrieb Richard Kern : > > > >> On May 1,

[FFmpeg-devel] [PATCH] avformat/jpegxl_probe: fix incorrect cw_mask probing

2022-05-01 Thread Leo Izen
Fix incorrectly skipping over the upX_weights if the cw_mask is present and it is not a multiple of 4. --- libavformat/jpegxl_probe.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libavformat/jpegxl_probe.c b/libavformat/jpegxl_probe.c index 9cd00da194..c03dc3bd1d

Re: [FFmpeg-devel] [PATCH v2 5/7] avcodec/cbs_sei: refactor to use avutil/uuid

2022-05-01 Thread Mark Thompson
On 30/04/2022 21:53, Pierre-Anthony Lemieux wrote: On Sat, Apr 30, 2022 at 12:26 PM Mark Thompson wrote: On 30/04/2022 18:53, Pierre-Anthony Lemieux wrote: On Sat, Apr 30, 2022 at 10:31 AM Mark Thompson wrote: On 24/04/2022 11:14, Zane van Iperen wrote: From: Pierre-Anthony Lemieux ---

Re: [FFmpeg-devel] [PATCH 1/3] avutils/hwcontext: add derive-device function which searches for existing devices in both directions

2022-05-01 Thread Mark Thompson
On 30/04/2022 23:42, Soft Works wrote: -Original Message- From: ffmpeg-devel On Behalf Of Mark Thompson Sent: Saturday, April 30, 2022 11:39 PM To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [PATCH 1/3] avutils/hwcontext: add derive- device function which searches for exis

[FFmpeg-devel] PATCH - wolfSSL TLS support

2022-05-01 Thread David Fletcher
Please find attached a patch adding support for wolfSSL as a TLS backend. This is against release ffmpeg-5.0.1, and is working well with wolfSSL 5.1.1 (January 2022 release). This is based on a patch previously submitted in 2018 which never made it into the mail codebase, but now updated for ffmpe

[FFmpeg-devel] PATCH - libmad MP3 decoding support

2022-05-01 Thread David Fletcher
Please find attached a patch adding support for MP3 decoding using libmad. This is against release ffmpeg-5.0.1, and works for libmad 0.15.1b (the most recent available). I hope that this is useful. Some context - I found the FFmpeg inbuild fixed point MP3 decoder produced very distorted audio for

[FFmpeg-devel] [PATCH 1/3] lavc/libuavs3d: fix incorrect comments

2022-05-01 Thread Jun Zhao
From: Jun Zhao fix incorrect comments Signed-off-by: Jun Zhao --- libavcodec/libuavs3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libuavs3d.c b/libavcodec/libuavs3d.c index 48333f17d1..6966e00b62 100644 --- a/libavcodec/libuavs3d.c +++ b/libavcodec/libuavs

[FFmpeg-devel] [PATCH 2/3] lavc/cavsdec: Add profile check

2022-05-01 Thread Jun Zhao
From: Jun Zhao Add profile check for cavs decoder, now cavs decoder only support JiZhun(0x20) profile Signed-off-by: Jun Zhao --- libavcodec/cavsdec.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c index 7aaf3f2bcf..6c69c2c94e 100644 --- a/

[FFmpeg-devel] [PATCH 3/3] lavf/cavsvideodec: Add GuangDian profile support

2022-05-01 Thread Jun Zhao
From: Jun Zhao Enable the Guangdian profile support Signed-off-by: Jun Zhao --- libavformat/cavsvideodec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavformat/cavsvideodec.c b/libavformat/cavsvideodec.c index 1fa3aa5e92..437ad544d3 100644 --- a/libavformat/cavs

Re: [FFmpeg-devel] [PATCH 3/3] lavf/cavsvideodec: Add GuangDian profile support

2022-05-01 Thread zhilizhao(赵志立)
> On May 2, 2022, at 11:36 AM, Jun Zhao wrote: > > From: Jun Zhao > > Enable the Guangdian profile support > > Signed-off-by: Jun Zhao > --- > libavformat/cavsvideodec.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/libavformat/cavsvideodec.c b/libavformat/ca

Re: [FFmpeg-devel] [PATCH v2 1/5] avutil/hwcontext_d3d11va: fix the uninitialized texture bindflag

2022-05-01 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Hendrik Leppkes > Sent: Sunday, May 1, 2022 5:54 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH v2 1/5] avutil/hwcontext_d3d11va: > fix the uninitialized texture bindfla

Re: [FFmpeg-devel] [PATCH 1/3] avutils/hwcontext: add derive-device function which searches for existing devices in both directions

2022-05-01 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Mark > Thompson > Sent: Monday, May 2, 2022 12:01 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH 1/3] avutils/hwcontext: add derive- > device function which searches for existing devices in both directions [.