Re: [FFmpeg-devel] [PATCH 3/3] libavfilter/dnn: Initialze DNNData variables

2023-09-20 Thread zhilizhao(赵志立)
> On Sep 20, 2023, at 10:26, wenbin.chen-at-intel@ffmpeg.org wrote: > > From: Wenbin Chen > > Signed-off-by: Wenbin Chen > --- > libavfilter/dnn/dnn_backend_tf.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/libavfilter/dnn/dnn_backend_tf.c > b/libavfilter/d

[FFmpeg-devel] TRAC Spam

2023-09-20 Thread Michael Koch
Ticket / Comment 1920 / 12 ___ 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 subject "unsubscribe".

[FFmpeg-devel] [PATCH] Hi! We've been fuzzing `ffmpeg` with [sydr-fuzz](https://github.com/ispras/oss-sydr-fuzz) security predicates and we found numeric truncation error in `svs.c:57`.

2023-09-20 Thread mezhuevtp
From: headshog In function `svs_read_header` on line 57 field `st->codecpar->sample_rate` has type `int`, the type of return value in `av_rescale_rnd` function is `uint64_t`, so the numeric truncation may occur here. Then value of `st->codecpar->sample_rate` is passed to `avpriv_set_pts_info`

Re: [FFmpeg-devel] [PATCH] Hi! We've been fuzzing `ffmpeg` with [sydr-fuzz](https://github.com/ispras/oss-sydr-fuzz) security predicates and we found numeric truncation error in `svs.c:57`.

2023-09-20 Thread Paul B Mahol
Unacceptable code changes as that Breaks ABI/API. ___ 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 subject "unsubscribe"

Re: [FFmpeg-devel] TRAC Spam

2023-09-20 Thread Paul B Mahol
On Wed, Sep 20, 2023 at 1:46 PM Michael Koch wrote: > Ticket / Comment > 1920 / 12 > Remove that nick once and for all. > > > > > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubs

Re: [FFmpeg-devel] [PATCH] Hi! We've been fuzzing `ffmpeg` with [sydr-fuzz](https://github.com/ispras/oss-sydr-fuzz) security predicates and we found numeric truncation error in `svs.c:57`.

2023-09-20 Thread mezhuevtp
On 2023-09-20 15:29, Paul B Mahol wrote: Unacceptable code changes as that Breaks ABI/API. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-re

Re: [FFmpeg-devel] FFmpeg release 6.1

2023-09-20 Thread Niklas Haas
On Tue, 19 Sep 2023 21:16:08 +0200 Michael Niedermayer wrote: > what about merging libplacebo into FFmpeg for example ? > As far as iam concerned you can have absolute final power about anything > in that libplacebo inside FFmpeg. To respond quickly to this point, I'm not sure what merging libp

Re: [FFmpeg-devel] TRAC Spam

2023-09-20 Thread Michael Niedermayer
On Wed, Sep 20, 2023 at 01:46:45PM +0200, Michael Koch wrote: > Ticket / Comment > 1920 / 12 The ticket comment 12 on ticket #1920 has been deleted. [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Rewriting code that is poorly written but fully understood is go

Re: [FFmpeg-devel] TRAC Spam

2023-09-20 Thread Michael Niedermayer
On Wed, Sep 20, 2023 at 02:30:20PM +0200, Paul B Mahol wrote: > On Wed, Sep 20, 2023 at 1:46 PM Michael Koch > wrote: > > > Ticket / Comment > > 1920 / 12 > > > Remove that nick once and for all. No user with the nick "that" has been found sorry [...] -- Michael GnuPG fingerprint: 9FF2128

Re: [FFmpeg-devel] [RFC/PATCH] ffmpeg CLI multithreading

2023-09-20 Thread Michael Niedermayer
Hi On Tue, Sep 19, 2023 at 09:10:27PM +0200, Anton Khirnov wrote: [...] > You can fetch the code from the 'ffmpeg_threading' branch in > git://git.khirnov.net/libav. I will also present a short talk about this > work at VDD. Comments, questions, suggestions, etc. are very much > welcome, both here

Re: [FFmpeg-devel] TRAC Spam

2023-09-20 Thread Paul B Mahol
On Wed, Sep 20, 2023 at 4:33 PM Michael Niedermayer wrote: > On Wed, Sep 20, 2023 at 02:30:20PM +0200, Paul B Mahol wrote: > > On Wed, Sep 20, 2023 at 1:46 PM Michael Koch < > astroelectro...@t-online.de> > > wrote: > > > > > Ticket / Comment > > > 1920 / 12 > > > > > Remove that nick once and fo

Re: [FFmpeg-devel] [PATCH] avfilter/vf_smartblur: pass old context to sws_getCachedContext

2023-09-20 Thread Zhao Zhili
On Fri, 2023-09-15 at 23:16 +0800, Zhao Zhili wrote: > From: Zhao Zhili > > Otherwise it make no sense to use sws_getCachedContext. > --- >  libavfilter/vf_smartblur.c | 2 +- >  1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/vf_smartblur.c b/libavfilter/vf_smartblur.c

Re: [FFmpeg-devel] TRAC Spam

2023-09-20 Thread Michael Niedermayer
On Wed, Sep 20, 2023 at 05:28:29PM +0200, Paul B Mahol wrote: > On Wed, Sep 20, 2023 at 4:33 PM Michael Niedermayer > wrote: > > > On Wed, Sep 20, 2023 at 02:30:20PM +0200, Paul B Mahol wrote: > > > On Wed, Sep 20, 2023 at 1:46 PM Michael Koch < > > astroelectro...@t-online.de> > > > wrote: > > >

Re: [FFmpeg-devel] FFmpeg release 6.1

2023-09-20 Thread Michael Niedermayer
On Tue, Sep 19, 2023 at 11:58:41PM +0200, Lynne wrote: > Sep 19, 2023, 21:16 by mich...@niedermayer.cc: > > > On Tue, Sep 19, 2023 at 07:18:03PM +0200, Niklas Haas wrote: > > > >> On Tue, 11 Apr 2023 00:14:28 +0200 Michael Niedermayer > >> wrote: > >> > Hi all > >> > > >> > There was the reques

Re: [FFmpeg-devel] FFmpeg release 6.1

2023-09-20 Thread Kieran Kunhya
> > I dont suggest merging more EVC code before the release. I meant the > EVC code already in git, is reading alot of things with no checks. > It maybe doesnt matter in most cases, as its not used in most cases without > more EVC code but still > Also ATM other things are blocking so EVC still cou

Re: [FFmpeg-devel] FFmpeg release 6.1

2023-09-20 Thread Michael Niedermayer
On Wed, Sep 20, 2023 at 02:47:19PM +0200, Niklas Haas wrote: > On Tue, 19 Sep 2023 21:16:08 +0200 Michael Niedermayer > wrote: > > what about merging libplacebo into FFmpeg for example ? > > As far as iam concerned you can have absolute final power about anything > > in that libplacebo inside FFm

Re: [FFmpeg-devel] FFmpeg release 6.1

2023-09-20 Thread Michael Niedermayer
On Wed, Sep 20, 2023 at 06:43:18PM +0100, Kieran Kunhya wrote: > > > > I dont suggest merging more EVC code before the release. I meant the > > EVC code already in git, is reading alot of things with no checks. > > It maybe doesnt matter in most cases, as its not used in most cases without > > more

[FFmpeg-devel] [RFC PATCH 2/2] configure: disable locale use in spa plugin

2023-09-20 Thread Abhishek Ojha
This commit requires to resolve the compilation error of pipewiregrab because Pipewire's spa plugin is requesting locale_t extension to compile. Which was added in POSIX 2008 but ffmpeg is using POSIX 2001 due to which spa plugin complains. __LOCALE_C_ONLY flag is set to disable the locale usage in

[FFmpeg-devel] [RFC PATCH 1/2] libavdevice/pipewiregrab: add pipewire based grab

2023-09-20 Thread Abhishek Ojha
This is an proof of concept for pipewire grab to enable screen capture on wayland. Add a new Linux capture based on [1] PipeWire and the [2] Desktop portal. This new capture starts by asking the Desktop portal for a screencapture session.There are quite a few D-Bus calls involved in this, but the k

Re: [FFmpeg-devel] [PATCH 35/42] avcodec/threadprogress: Add new API for frame-threaded progress

2023-09-20 Thread Michael Niedermayer
On Tue, Sep 19, 2023 at 09:57:27PM +0200, Andreas Rheinhardt wrote: > The API is very similar by the ProgressFrame API, with the exception > that it no longer has an included AVFrame. Instead one can wait > on anything via a ThreadProgress. One just has to ensure that > the lifetime of the object c

Re: [FFmpeg-devel] [PATCH 17/42] avcodec/refstruct: Add RefStruct pool API

2023-09-20 Thread Michael Niedermayer
On Tue, Sep 19, 2023 at 09:57:09PM +0200, Andreas Rheinhardt wrote: > Very similar to the AVBufferPool API, but with some differences: > 1. Reusing an already existing entry does not incur an allocation > at all any more (the AVBufferPool API needs to allocate an AVBufferRef). > 2. The tasks done w

Re: [FFmpeg-devel] [PATCH] avfilter: add libvmaf_cuda

2023-09-20 Thread Kyle Swanson
Hi, On Mon, Sep 18, 2023 at 2:39 PM Kyle Swanson wrote: > > Hi, > > On Mon, Sep 18, 2023 at 12:41 PM Timo Rothenpieler > wrote: > > On 18.09.2023 21:21, Marvin Scholz wrote: > > > I am far from an expert with the configure script but won't that cause > > > --enable-libvmaf to fail when > > > li

Re: [FFmpeg-devel] [RFC PATCH 1/2] libavdevice/pipewiregrab: add pipewire based grab

2023-09-20 Thread Leo Izen
On 9/20/23 14:40, Abhishek Ojha wrote: This is an proof of concept for pipewire grab to enable screen capture on wayland. Add a new Linux capture based on [1] PipeWire and the [2] Desktop portal. This new capture starts by asking the Desktop portal for a screencapture session.There are quite a fe

Re: [FFmpeg-devel] FFmpeg release 6.1

2023-09-20 Thread Kieran Kunhya
> > also iam not sure "experimental" is the right flag for code that has > possible security issues. People might turn experimental on not realizing > the security aspect. > We should make this clear in the docs then. Kieran ___ ffmpeg-devel mailing lis

Re: [FFmpeg-devel] [PATCH] Hi! We've been fuzzing `ffmpeg` with [sydr-fuzz](https://github.com/ispras/oss-sydr-fuzz) security predicates and we found numeric truncation error in `svs.c:57`.

2023-09-20 Thread Andreas Rheinhardt
mezhue...@ispras.ru: > From: headshog > > In function `svs_read_header` on line 57 field `st->codecpar->sample_rate` > has type `int`, the type of return value in `av_rescale_rnd` function is > `uint64_t`, so the numeric truncation may occur here. Then value of > `st->codecpar->sample_rate` is

Re: [FFmpeg-devel] [PATCH] avfilter: add libvmaf_cuda

2023-09-20 Thread Timo Rothenpieler
On 20.09.2023 22:06, Kyle Swanson wrote: Hi, On Mon, Sep 18, 2023 at 2:39 PM Kyle Swanson wrote: Hi, On Mon, Sep 18, 2023 at 12:41 PM Timo Rothenpieler wrote: On 18.09.2023 21:21, Marvin Scholz wrote: I am far from an expert with the configure script but won't that cause --enable-libvmaf

Re: [FFmpeg-devel] [PATCH 35/42] avcodec/threadprogress: Add new API for frame-threaded progress

2023-09-20 Thread Andreas Rheinhardt
Michael Niedermayer: > On Tue, Sep 19, 2023 at 09:57:27PM +0200, Andreas Rheinhardt wrote: >> The API is very similar by the ProgressFrame API, with the exception >> that it no longer has an included AVFrame. Instead one can wait >> on anything via a ThreadProgress. One just has to ensure that >> t

Re: [FFmpeg-devel] [PATCH 17/42] avcodec/refstruct: Add RefStruct pool API

2023-09-20 Thread Andreas Rheinhardt
Michael Niedermayer: > On Tue, Sep 19, 2023 at 09:57:09PM +0200, Andreas Rheinhardt wrote: >> Very similar to the AVBufferPool API, but with some differences: >> 1. Reusing an already existing entry does not incur an allocation >> at all any more (the AVBufferPool API needs to allocate an AVBufferR

[FFmpeg-devel] [PATCH v2 1/3] libavfilter/dnn: add layout option to openvino backend

2023-09-20 Thread wenbin . chen-at-intel . com
From: Wenbin Chen Dnn models have different input layout (NCHW or NHWC), so a "layout" option is added Use openvino's API to do layout conversion for input data. Use swscale to do layout conversion for output data as openvino doesn't have similiar C API for output. Signed-off-by: Wenbin Chen --

[FFmpeg-devel] [PATCH v2 2/3] libavfilter/dnn: Add scale and mean preprocess to openvino backend

2023-09-20 Thread wenbin . chen-at-intel . com
From: Wenbin Chen Dnn models has different data preprocess requirements. Scale and mean parameters are added to preprocess input data. Signed-off-by: Wenbin Chen --- libavfilter/dnn/dnn_backend_openvino.c | 43 -- libavfilter/dnn/dnn_io_proc.c | 82 +---

[FFmpeg-devel] [PATCH v2 3/3] libavfilter/dnn: Initialze DNNData variables

2023-09-20 Thread wenbin . chen-at-intel . com
From: Wenbin Chen Signed-off-by: Wenbin Chen --- libavfilter/dnn/dnn_backend_tf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/dnn/dnn_backend_tf.c b/libavfilter/dnn/dnn_backend_tf.c index b521de7fbe..25046b58d9 100644 --- a/libavfilter/dnn/dnn_backend_tf.

Re: [FFmpeg-devel] [PATCH 3/3] libavfilter/dnn: Initialze DNNData variables

2023-09-20 Thread Chen, Wenbin
> > On Sep 20, 2023, at 10:26, wenbin.chen-at-intel@ffmpeg.org wrote: > > > > From: Wenbin Chen > > > > Signed-off-by: Wenbin Chen > > --- > > libavfilter/dnn/dnn_backend_tf.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/libavfilter/dnn/dnn_backend_tf.c > b/

Re: [FFmpeg-devel] FFmpeg release 6.1

2023-09-20 Thread Jean-Baptiste Kempf
Hello, On Thu, 21 Sep 2023, at 00:47, Kieran Kunhya wrote: >> >> also iam not sure "experimental" is the right flag for code that has >> possible security issues. People might turn experimental on not realizing >> the security aspect. >> > > We should make this clear in the docs then. +1 -- Jea

Re: [FFmpeg-devel] TRAC Spam

2023-09-20 Thread Michael Koch
The last username was "sharselune". Can't we also delete the spam from the archive? http://ffmpeg.org/pipermail/ffmpeg-trac/2023-September/067004.html http://ffmpeg.org/pipermail/ffmpeg-trac/2023-September/067006.html http://ffmpeg.org/pipermail/ffmpeg-trac/2023-September/067058.html http://ffmpeg