[FFmpeg-devel] [PATCH] avfilter/vf_guided: support single input

2021-06-13 Thread Xuewei Meng
From: Xuewei Meng Support single input for guided filter by adding guidance mode. If the guidance mode is off, single input is required. And edge-preserving smoothing is conducted. If the mode is on, two inputs are needed. The second input serves as the guidance. For this mode, more tasks are

Re: [FFmpeg-devel] [PATCH] libavcodec/libx265: add user data unregistered SEI encoding

2021-06-13 Thread Brad Hards
On Saturday, 5 June 2021 8:20:28 PM AEST Brad Hards wrote: > --- > libavcodec/libx265.c | 31 +++ > 1 file changed, 31 insertions(+) > > diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c > index 90658d3d9e..35547a5a69 100644 > --- a/libavcodec/libx265.c > +++

Re: [FFmpeg-devel] [PATCH v2] avcodec/ccaption_dec: Make real-time latency configurable

2021-06-13 Thread Pavel Koshevoy
On Sat, Jun 5, 2021 at 11:40 AM Pavel Koshevoy wrote: > Un-hardcode the 200ms minimum latency between emitting subtitle events > so that those that wish to receive a subtitle event for every screen > change could do so. > > The problem with delaying realtime output by any amount is that it is >

Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: fixed jp2k_rsiz and 170M matrix

2021-06-13 Thread Tomas Härdin
sön 2021-06-13 klockan 21:48 +0200 skrev Thilo Borgmann: > Am 13.06.21 um 21:07 schrieb Tomas Härdin: > > sön 2021-06-06 klockan 05:27 +0300 skrev Valerii Zapodovnikov: > > > Again. 240M matrix is different from BT.601! And 170M is the same > > > as BT.601. It is primaries that are the same in

Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: fixed jp2k_rsiz and 170M matrix

2021-06-13 Thread Thilo Borgmann
Am 13.06.21 um 21:07 schrieb Tomas Härdin: sön 2021-06-06 klockan 05:27 +0300 skrev Valerii Zapodovnikov: Again. 240M matrix is different from BT.601! And 170M is the same as BT.601. It is primaries that are the same in 240M and 170M, as for jp2k_rsiz see page 17 of ST 422:2019. IT WAS THERE

[FFmpeg-devel] [PATCH] lavf/webmdashenc.c: Allow AV1 video in WebM

2021-06-13 Thread Thilo Borgmann
Hi, not sure about the spec backing this up, however the following site lists AV1 support in WebM: https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Video_codecs -Thilo From fa6a57486d7fc2cb4d110db05b0b231a2c3046e6 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Sun, 13 Jun 2021

Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: fixed jp2k_rsiz and 170M matrix

2021-06-13 Thread Tomas Härdin
sön 2021-06-06 klockan 05:27 +0300 skrev Valerii Zapodovnikov: > Again. 240M matrix is different from BT.601! And 170M is the same > as BT.601. It is primaries that are the same in 240M and 170M, as > for jp2k_rsiz see page 17 of ST 422:2019. IT WAS THERE since 2006. > This wrong jp2k_rsiz is a

Re: [FFmpeg-devel] [PATCH] avfilter/vf_fps: extend support for expressions

2021-06-13 Thread James Almer
On 6/5/2021 12:52 PM, James Almer wrote: AV_OPT_TYPE_VIDEO_RATE AVOption types are parsed as expressions, but in a limited way. For example, name constants can only be parsed alone and not as part of a longer expression. This change allows usage like ffmpeg -i IN -vf

Re: [FFmpeg-devel] [PATCH 1/2] avutil/samplefmt: remove outdated comment

2021-06-13 Thread James Almer
On 6/7/2021 12:42 AM, James Almer wrote: av_samples_fill_arrays() has been returning the minimum required buffer size for a while now. Signed-off-by: James Almer --- libavutil/samplefmt.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavutil/samplefmt.h

Re: [FFmpeg-devel] [PATCH 1/3] avutil/tests/lzo: remove timer macros

2021-06-13 Thread James Almer
On 6/6/2021 11:20 PM, James Almer wrote: Suggested-by: ffm...@fb.com Signed-off-by: James Almer --- libavutil/tests/lzo.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavutil/tests/lzo.c b/libavutil/tests/lzo.c index 0147ab5c1d..a5655dbfc5 100644 --- a/libavutil/tests/lzo.c +++

Re: [FFmpeg-devel] [PATCH v2] avformat/hls Implement support for using AVSEEK_FLAG_BACKWARD when seeking

2021-06-13 Thread Lingjiang Fang
On Sat, 12 Jun 2021 23:14:16 +0200 Gustav Grusell wrote: > On Sat, Jun 12, 2021 at 6:51 PM Lingjiang Fang > wrote: > > > On Sat, 12 Jun 2021 14:16:22 +0200 > > Gustav Grusell wrote: > > > > > On Fri, Jun 11, 2021 at 6:29 PM Lingjiang Fang > > > wrote: > > > > > > > On Sat, 5 Jun 2021

[FFmpeg-devel] [PATCH] lavfi/dnn_backend_openvino.c: fix crash when target is not specified

2021-06-13 Thread Guo Yejun
--- libavfilter/dnn/dnn_backend_openvino.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavfilter/dnn/dnn_backend_openvino.c b/libavfilter/dnn/dnn_backend_openvino.c index 709a772a4d..dee0a8e047 100644 --- a/libavfilter/dnn/dnn_backend_openvino.c +++

[FFmpeg-devel] [PATCH] Add -strftime_mkdir to image2 and segment outputs (based on HLS).

2021-06-13 Thread Roger Hardiman
Add -strftime_mkdir to create any directories in the output file path for Image2 and Segment outputs. Based on existing function in HLS output. This allows strftime re-writes eg %Y %d %d (Year/Month/Day) and %H %M %S (Hours/Minutes/Seconds) to be used in the directory path of files ffmpeg