Re: [FFmpeg-devel] [PATCH v2] avutils/hwcontext: When deriving a hwdevice, search for existing device in both directions

2021-09-08 Thread Chen, Wenbin
> -Original Message- > From: ffmpeg-devel On Behalf Of Soft > Works > Sent: Wednesday, September 8, 2021 2:25 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH v2] avutils/hwcontext: When deriving a > hwdevice, search for existin

Re: [FFmpeg-devel] [PATCH] libavfilter: add a gblur_vulkan filter

2021-09-08 Thread Paul B Mahol
On Wed, Sep 8, 2021 at 8:13 AM Wu Jianhua wrote: > This commit adds a powerful and customizable gblur Vulkan filter, > which provides a maximum 127x127 kernel size of Gaussian Filter. > The size could be adjusted by requirements on quality or performance. > > The following command is on how to ap

[FFmpeg-devel] [PATCH v2] libavfilter: add a gblur_vulkan filter

2021-09-08 Thread Wu Jianhua
This commit adds a powerful and customizable gblur Vulkan filter, which provides a maximum 127x127 kernel size of Gaussian Filter. The size could be adjusted by requirements on quality or performance. The following command is on how to apply gblur_vulkan filter: ffmpeg -init_hw_device vulkan=vul:

Re: [FFmpeg-devel] [PATCH] libavfilter: add a gblur_vulkan filter

2021-09-08 Thread Wu, Jianhua
Paul B Mahol wrote: > On Wed, Sep 8, 2021 at 8:13 AM Wu Jianhua > mailto:jianhua...@intel.com>> wrote: >> -- avgblur_vulkan, overlay_vulkan, scale_vulkan and chromaber_vulkan filters >> +- avgblur_vulkan, overlay_vulkan, scale_vulkan, chromaber_vulkan and >> gblur_vulkan filters > Can't do th

[FFmpeg-devel] [PATCH v3] lavfi: add nlmeans CUDA filter

2021-09-08 Thread Dylan Fernando
From f8b8a250a2c4b092747d632adc7dafccfc474140 Mon Sep 17 00:00:00 2001 From: Dylan Fernando Date: Wed, 8 Sep 2021 18:19:40 + Subject: [PATCH] lavfi: add nlmeans_cuda filter Signed-off-by: Dylan Fernando --- configure | 2 + doc/filters.texi | 4 + lib

Re: [FFmpeg-devel] [PATCH v1 1/1] libavformat/amr.c: remove mode range check

2021-09-08 Thread Paul B Mahol
On Wed, Sep 8, 2021 at 4:23 AM Sun Zhenliang wrote: > 在 2021年9月8日 +0800 00:14,Paul B Mahol ,写道: > > On Tue, Sep 7, 2021 at 4:48 PM Sun Zhenliang > > > wrote: > > > > > 在 2021年9月7日 +0800 19:13,Paul B Mahol ,写道: > > > > On Tue, Sep 7, 2021 at 11:36 AM Sun Zhenliang < > > > hisunzhenli...@outlook.c

Re: [FFmpeg-devel] [PATCH v1 1/1] libavformat/amr.c: remove mode range check

2021-09-08 Thread Sun Zhenliang
在 2021年9月8日 +0800 16:37,Paul B Mahol ,写道: > On Wed, Sep 8, 2021 at 4:23 AM Sun Zhenliang > wrote: > > > 在 2021年9月8日 +0800 00:14,Paul B Mahol ,写道: > > > On Tue, Sep 7, 2021 at 4:48 PM Sun Zhenliang > > > > > wrote: > > > > > > > 在 2021年9月7日 +0800 19:13,Paul B Mahol ,写道: > > > > > On Tue, Sep 7, 20

Re: [FFmpeg-devel] [PATCH v1 1/1] libavformat/amr.c: remove mode range check

2021-09-08 Thread Paul B Mahol
On Wed, Sep 8, 2021 at 10:56 AM Sun Zhenliang wrote: > 在 2021年9月8日 +0800 16:37,Paul B Mahol ,写道: > > On Wed, Sep 8, 2021 at 4:23 AM Sun Zhenliang > > > wrote: > > > > > 在 2021年9月8日 +0800 00:14,Paul B Mahol ,写道: > > > > On Tue, Sep 7, 2021 at 4:48 PM Sun Zhenliang < > hisunzhenli...@outlook.com >

Re: [FFmpeg-devel] [PATCH v1 1/1] libavformat/amr.c: remove mode range check

2021-09-08 Thread Hendrik Leppkes
On Sat, Sep 4, 2021 at 1:52 PM Sun Zhenliang wrote: > > Thanks for reviewing. > > Probing is expecting to find “correct” frames, which includes those kinds of > comfort noise and NO_DATA frames mentioned in 3GPP Specifications. > > Besides, those frames are considered as normal frames while readi

Re: [FFmpeg-devel] [PATCH v2] libavfilter: add a gblur_vulkan filter

2021-09-08 Thread Andreas Rheinhardt
Wu Jianhua: > This commit adds a powerful and customizable gblur Vulkan filter, > which provides a maximum 127x127 kernel size of Gaussian Filter. > The size could be adjusted by requirements on quality or performance. > > The following command is on how to apply gblur_vulkan filter: > > ffmpeg -

Re: [FFmpeg-devel] [PATCH] avfilter/frei0r: use win32dlfcn wrapper

2021-09-08 Thread Timo Rothenpieler
Will push soon smime.p7s Description: S/MIME Cryptographic Signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with

[FFmpeg-devel] [PATCH] avcodec/nvenc: remove useless context pop

2021-09-08 Thread leozhang
Signed-off-by: leozhang --- libavcodec/nvenc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index ae25afd7f8..fdf06d6102 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -607,9 +607,6 @@ static av_cold int nvenc_check_device(AVCodecConte

[FFmpeg-devel] [PATCH] avcodec/nvenc: remove useless context pop

2021-09-08 Thread leozhang
Signed-off-by: leozhang --- libavcodec/nvenc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index ae25afd7f8..fdf06d6102 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -607,9 +607,6 @@ static av_cold int nvenc_check_device(AVCodecConte

[FFmpeg-devel] [PATCH] avformat/libsrt: data transmission bitrate control

2021-09-08 Thread Bartsevich, Dmitry
The patch adds 3 parameters ("bitrate", "burst_bits", "fifo_size") and output bitrate control to the libsrt muxer. The code is mostly taken from udp.c and the reasoning is the same: data transmission bursts cause decoding errors on some decoders. Windows-specific APIs (performance counters and w

Re: [FFmpeg-devel] [PATCH 01/11] avcodec/bsf: ff_list_bsf static

2021-09-08 Thread Andreas Rheinhardt
Andreas Rheinhardt: > It is a special BSF that is only available via the av_bsf_list-API; > it is not part of the list generated from the declarations in > bitstream_filters.c and therefore needn't have external linkage. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/bsf.c | 6 +++--- >

Re: [FFmpeg-devel] [PATCH v1 1/1] libavformat/amr.c: remove mode range check

2021-09-08 Thread Sun Zhenliang
在 2021年9月8日 +0800 17:55,Hendrik Leppkes ,写道: > On Sat, Sep 4, 2021 at 1:52 PM Sun Zhenliang > wrote: > > > > Thanks for reviewing. > > > > Probing is expecting to find “correct” frames, which includes those kinds > > of comfort noise and NO_DATA frames mentioned in 3GPP Specifications. > > > > B

Re: [FFmpeg-devel] [PATCH v1 1/1] libavformat/amr.c: remove mode range check

2021-09-08 Thread Sun Zhenliang
在 2021年9月8日 +0800 17:10,Paul B Mahol ,写道: > On Wed, Sep 8, 2021 at 10:56 AM Sun Zhenliang > wrote: > > > 在 2021年9月8日 +0800 16:37,Paul B Mahol ,写道: > > > On Wed, Sep 8, 2021 at 4:23 AM Sun Zhenliang > > > > > wrote: > > > > > > > 在 2021年9月8日 +0800 00:14,Paul B Mahol ,写道: > > > > > On Tue, Sep 7, 2

Re: [FFmpeg-devel] [PATCH] avformat/libsrt: data transmission bitrate control

2021-09-08 Thread Zhao Zhili
> On Sep 8, 2021, at 7:37 PM, Bartsevich, Dmitry wrote: > > The patch adds 3 parameters ("bitrate", "burst_bits", "fifo_size") and output > bitrate control to the libsrt muxer. The code is mostly taken from udp.c and > the reasoning is the same: data transmission bursts cause decoding errors

[FFmpeg-devel] [PATCH] avfilter: add (a)latency filters

2021-09-08 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/Makefile | 2 + libavfilter/allfilters.c | 2 + libavfilter/f_latency.c | 171 +++ 3 files changed, 175 insertions(+) create mode 100644 libavfilter/f_latency.c diff --git a/libavfilter/Makefile b/libavfilt

[FFmpeg-devel] [PATCH 1/4] avcodec/mjpegdec: export display matrix frame side data when available

2021-09-08 Thread James Almer
Signed-off-by: James Almer --- libavcodec/mjpegdec.c | 53 +++ 1 file changed, 53 insertions(+) diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 2a5868fe1d..7bec5ce221 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -30,6

[FFmpeg-devel] [PATCH 2/4] cmdutils: round rotation value to nearest integer

2021-09-08 Thread James Almer
As recommended by the doxy for av_display_rotation_get(). Signed-off-by: James Almer --- fftools/cmdutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index ac172dbd65..7e9c4299fa 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdut

[FFmpeg-devel] [PATCH 3/4] ffmpeg: use display matrix frame side data for autorotation

2021-09-08 Thread James Almer
And give it priority over stream side data when present. Fixes part of ticket #6945. Signed-off-by: James Almer --- fftools/cmdutils.c | 4 +--- fftools/cmdutils.h | 2 +- fftools/ffmpeg.c| 8 fftools/ffmpeg.h| 1 + fftools/ffmpeg_filter.c | 14

[FFmpeg-devel] [PATCH 4/4] ffmpeg: take into account image flipping in the display matrix

2021-09-08 Thread James Almer
This covers only standard rotations. Finishes fixing ticket #6945. Signed-off-by: James Almer --- fftools/ffmpeg_filter.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index a4c2de07da..da0d4faf54

[FFmpeg-devel] [PATCH] avformat/webpdec: WebP demuxer implementation

2021-09-08 Thread yakoyoku
From: Martin Reboredo FFmpeg has the ability to mux encoded WebP packets, but it cannot demux the format. The purpose of this patch is to add a way to extract pictures from a WebP stream. Any other side data processing (mainly ICC profiles) is left up for later work. Although we have a demuxer

Re: [FFmpeg-devel] [PATCH] avformat/webpdec: WebP demuxer implementation

2021-09-08 Thread Andreas Rheinhardt
yakoy...@gmail.com: > From: Martin Reboredo > > FFmpeg has the ability to mux encoded WebP packets, but it cannot demux the > format. > The purpose of this patch is to add a way to extract pictures from a WebP > stream. > Any other side data processing (mainly ICC profiles) is left up for later

[FFmpeg-devel] [PATCH v2 1/2] avformat/webpdec: WebP demuxer implementation

2021-09-08 Thread Martin Reboredo
FFmpeg has the ability to mux encoded WebP packets, but it cannot demux the format. The purpose of this patch is to add a way to extract pictures from a WebP stream. Any other side data processing (mainly ICC profiles) is left up for later work. Although we have a demuxer with `image2`, it doesn'

[FFmpeg-devel] [PATCH v2 2/2] avformat/webpenc: better detection of anim chunks

2021-09-08 Thread Martin Reboredo
Receiving RIFF chunks as `av_packet`s from `webpdec.c` in `webpenc.c` it wasn't doing proper animated frame detection/enumeration. Check for `ANIM`/`ANMF` chunks to see if the package is an animated WebP packet and for the `ANMF`/`ALPH`/`VP8 `/`VP8L` chunks if it's an actual frame. Signed-off-by

[FFmpeg-devel] New format JPEG-XL

2021-09-08 Thread seb seb
Hello, Have your heart about the new format JPEG-XL? https://cloudinary.com/blog/time_for_next_gen_codecs_to_dethrone_jpeg Mr Varun have done a good job to introduce into FFmpeg https://ffaux-bg.ffmpeg.org/project/ffmpeg/patch/20200315184154.28685-2-varun.gupta...@gmail.com/#52069 But i don't se

[FFmpeg-devel] [PATCH] avcodec/mlpenc: Fix mixed declarations and code warning

2021-09-08 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- Will apply this soon. libavcodec/mlpenc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/mlpenc.c b/libavcodec/mlpenc.c index 6d4a12ce3b..ef01c1d282 100644 --- a/libavcodec/mlpenc.c +++ b/libavcodec/mlpenc.c @@ -476,6 +476,7

[FFmpeg-devel] [PATCH] Why does this break FATE?

2021-09-08 Thread Soft Works
Test seek-lavf-asf failed. Look at tests/data/fate/seek-lavf-asf.err for details. make: *** [/build/ffmpeg-git/tests/Makefile:256: fate-seek-lavf-asf] Error 139 $ cat tests/data/fate/seek-lavf-asf.err /build/ffmpeg-git/tests/fate-run.sh: line 78: 21786 Segmentation fault $target_exec $targe

Re: [FFmpeg-devel] [PATCH] Why does this break FATE?

2021-09-08 Thread James Almer
On 9/8/2021 10:14 PM, Soft Works wrote: Test seek-lavf-asf failed. Look at tests/data/fate/seek-lavf-asf.err for details. make: *** [/build/ffmpeg-git/tests/Makefile:256: fate-seek-lavf-asf] Error 139 $ cat tests/data/fate/seek-lavf-asf.err /build/ffmpeg-git/tests/fate-run.sh: line 78: 21786 Se

Re: [FFmpeg-devel] [PATCH] Why does this break FATE?

2021-09-08 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > James Almer > Sent: Thursday, 9 September 2021 03:18 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] Why does this break FATE? > > On 9/8/2021 10:14 PM, Soft Works wrote: > > Test seek-lavf-asf failed. Look at

Re: [FFmpeg-devel] [PATCH] Why does this break FATE?

2021-09-08 Thread James Almer
On 9/8/2021 10:29 PM, Soft Works wrote: -Original Message- From: ffmpeg-devel On Behalf Of James Almer Sent: Thursday, 9 September 2021 03:18 To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [PATCH] Why does this break FATE? On 9/8/2021 10:14 PM, Soft Works wrote: Test seek-l

Re: [FFmpeg-devel] [PATCH] webp: fix transforms after a palette with pixel packing.

2021-09-08 Thread James Zern
On Mon, Aug 30, 2021 at 5:11 AM Maryla wrote: > > When a color indexing transform with 16 or fewer colors is used, > WebP uses "pixel packing", i.e. storing several pixels in one byte, > which virtually reduces the width of the image (see WebPContext's > reduced_width field). This reduced_width sh

Re: [FFmpeg-devel] [PATCH] Why does this break FATE?

2021-09-08 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > James Almer > Sent: Thursday, 9 September 2021 03:34 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] Why does this break FATE? > > On 9/8/2021 10:29 PM, Soft Works wrote: > > > > > >> -Original Message

Re: [FFmpeg-devel] [PATCH] Why does this break FATE?

2021-09-08 Thread James Almer
On 9/8/2021 10:49 PM, Soft Works wrote: -Original Message- From: ffmpeg-devel On Behalf Of James Almer Sent: Thursday, 9 September 2021 03:34 To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [PATCH] Why does this break FATE? On 9/8/2021 10:29 PM, Soft Works wrote: -Ori

Re: [FFmpeg-devel] [PATCH v2] avcodec/libvpxenc: Apply codec options to alpha codec context

2021-09-08 Thread James Zern
On Fri, Sep 3, 2021 at 5:02 PM James Zern wrote: > > On Fri, Sep 3, 2021 at 1:33 AM Adam Chelminski > wrote: > > > > When encoding yuva420 (alpha) frames, the vpx encoder uses a second > > vpx_codec_ctx to encode the alpha stream. However, codec options were > > only being applied to the primary

Re: [FFmpeg-devel] [PATCH v2] libavfilter: add a gblur_vulkan filter

2021-09-08 Thread Wu, Jianhua
Andreas Rheinhardt Wrote: > Wu Jianhua: > > +static av_cold void init_gaussian_params(GBlurVulkanContext *s) { > > +if (!(s->size & 1)) { > > +av_log(s, AV_LOG_WARNING, "kernel size should be even\n"); > > +s->size++; > > +} > > +if (s->sigmaV <= 0) > > +s->sigma

Re: [FFmpeg-devel] [PATCH] Why does this break FATE?

2021-09-08 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > James Almer > Sent: Thursday, 9 September 2021 03:57 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] Why does this break FATE? > [..] > > > > Based on the fact that requirements are strict about MINOR bumps

Re: [FFmpeg-devel] [PATCH] Why does this break FATE?

2021-09-08 Thread James Almer
On 9/8/2021 11:24 PM, Soft Works wrote: -Original Message- From: ffmpeg-devel On Behalf Of James Almer Sent: Thursday, 9 September 2021 03:57 To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [PATCH] Why does this break FATE? [..] Based on the fact that requirements are st

Re: [FFmpeg-devel] [PATCH] Why does this break FATE?

2021-09-08 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > James Almer > Sent: Thursday, 9 September 2021 04:31 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] Why does this break FATE? > > On 9/8/2021 11:24 PM, Soft Works wrote: > > > > > >> -Original Message

[FFmpeg-devel] Running FATE

2021-09-08 Thread Soft Works
Hi, I have a few questions regarding FATE: - Is it possible to run FATE in a way that it doesn't stop on error? - Is there a better way to exclude certain tests other than commenting them in the mak files? - Is it possible to run just a specific test via command line? Thanks, softworkz __

[FFmpeg-devel] [PATCH v3] libavfilter: add a gblur_vulkan filter

2021-09-08 Thread Wu Jianhua
This commit adds a powerful and customizable gblur Vulkan filter, which provides a maximum 127x127 kernel size of Gaussian Filter. The size could be adjusted by requirements on quality or performance. The following command is on how to apply gblur_vulkan filter: ffmpeg -init_hw_device vulkan=vul: