Re: [FFmpeg-devel] [PATCH 2/2] lavf/mov: Support dref.url box for ISO 14496-12

2020-08-07 Thread myp...@gmail.com
On Fri, Aug 7, 2020 at 10:29 PM Zhao Zhili wrote: > > > > > On Aug 7, 2020, at 9:37 PM, Jun Zhao wrote: > > > > From: Jun Zhao > > > > Enable the dref.url box > > > > Signed-off-by: Jun Zhao > > --- > > libavformat/isom.h | 6 ++ > > libavformat/mov.c | 45 +

Re: [FFmpeg-devel] [PATCH v3 1/2] dxva: wait until D3D11 buffer copies are done before submitting them

2020-08-07 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Steve Lhomme > Sent: Saturday, August 8, 2020 7:10 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v3 1/2] dxva: wait until D3D11 buffer > copies are done before submitting them [...] > > > > Hi Steven, > >

Re: [FFmpeg-devel] [PATCH 3/5] lavf/libkvazaar: export encoded frame stats

2020-08-07 Thread myp...@gmail.com
On Fri, Aug 7, 2020 at 11:16 AM Andreas Rheinhardt wrote: > > myp...@gmail.com: > > On Sun, Jul 26, 2020 at 8:45 PM Jun Zhao wrote: > >> > >> From: Jun Zhao > >> > >> Export choosen pict_type and qp. > >> > >> Signed-off-by: Jun Zhao > >> --- > >> libavcodec/libkvazaar.c | 30 +

Re: [FFmpeg-devel] [PATCH v3 1/2] dxva: wait until D3D11 buffer copies are done before submitting them

2020-08-07 Thread Steve Lhomme
On 2020-08-07 23:59, Soft Works wrote: -Original Message- From: ffmpeg-devel On Behalf Of Steve Lhomme Sent: Friday, August 7, 2020 3:05 PM To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [PATCH v3 1/2] dxva: wait until D3D11 buffer copies are done before submitting them I exper

Re: [FFmpeg-devel] [PATCH 2/3] doc/fftools-common-opts: fix typo (name => named)

2020-08-07 Thread Gyan Doshi
On 07-08-2020 07:06 pm, Jun Zhao wrote: From: Jun Zhao fix typo (name => named) Signed-off-by: Jun Zhao --- doc/fftools-common-opts.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/fftools-common-opts.texi b/doc/fftools-common-opts.texi index f339e0d..acda

Re: [FFmpeg-devel] [PATCH 3/3] doc/fftools-common-opts: document ffmpeg -h protocol=protocol_name

2020-08-07 Thread Gyan Doshi
On 07-08-2020 07:06 pm, Jun Zhao wrote: From: Jun Zhao document ffmpeg -h protocol=protocol_name Signed-off-by: Jun Zhao --- doc/fftools-common-opts.texi | 4 1 file changed, 4 insertions(+) diff --git a/doc/fftools-common-opts.texi b/doc/fftools-common-opts.texi index acdaa26..2c9

Re: [FFmpeg-devel] [PATCH 1/3] doc/filters: update filter buffer/abuffer interface file name

2020-08-07 Thread Gyan Doshi
On 07-08-2020 07:06 pm, Jun Zhao wrote: From: tomajsjiang Update filter buffer/abuffer interface file name, from libavfilter/{vsrc|asrc_buffer.h} to libavfilter/buffersrc.h Signed-off-by: Jun Zhao Signed-off-by: tomajsjiang --- doc/filters.texi | 4 ++-- 1 file changed, 2 insertions(+),

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: support dynamic resolution change

2020-08-07 Thread Linjie Fu
On Fri, Aug 7, 2020 at 4:19 PM leozhang wrote: > > Allow dynamic resolution change, this is useful for real time video > communication application. > > Use below commands to test it, > ffmpeg -i reinit-large_420_8-to-small_420_8.h264 -noautoscale -c:v hevc_nvenc > out.265 -loglevel verbose -y >

Re: [FFmpeg-devel] [PATCH] lavc/ratecontrol: Fix error logging for parsing and evaluation of rc_eq

2020-08-07 Thread Alexander Strasser
On 2020-08-02 20:49 +0200, Michael Niedermayer wrote: > On Sat, Aug 01, 2020 at 11:23:36PM +0200, Alexander Strasser wrote: > > Hi Michael! > > > > On 2020-07-31 19:54 +0200, Michael Niedermayer wrote: > > > On Thu, Jul 30, 2020 at 02:42:30PM +0200, Alexander Strasser wrote: > > > > Don't pass a po

Re: [FFmpeg-devel] [PATCH v3 1/2] dxva: wait until D3D11 buffer copies are done before submitting them

2020-08-07 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Soft Works > Sent: Friday, August 7, 2020 11:59 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH v3 1/2] dxva: wait until D3D11 buffer > copies are done before submitting t

Re: [FFmpeg-devel] [PATCH v3 1/2] dxva: wait until D3D11 buffer copies are done before submitting them

2020-08-07 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Steve Lhomme > Sent: Friday, August 7, 2020 3:05 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v3 1/2] dxva: wait until D3D11 buffer > copies are done before submitting them > > I experimented a bit more with

Re: [FFmpeg-devel] [PATCH] doc/developer: origin of tables should be documented.

2020-08-07 Thread Alexander Strasser
Hi Nicolas! On 2020-08-03 11:54 +0200, Nicolas George wrote: > Nicolas George (12020-07-31): > > Something like this would be acceptable: > > > > /* Reverse-engineered by encoding various files with the reference > >encoder. */ > > > > Reluctance to give this little information is baffling to

[FFmpeg-devel] [PATCH 2/2] lavc/ratecontrol: Fix error logging for parsing and evaluation of rc_eq

2020-08-07 Thread Alexander Strasser
Don't pass a potential NULL pointer to av_log, instead use a default in the rc_eq AVOption definitions. Now the context variable always holds a string; even if it's the default expression. Note this also fixes the evaluation error path, where a similar av_log call references the rc_eq string from

[FFmpeg-devel] [PATCH 1/2] lavc/snowenc: Expose an option to set the rc_eq expression

2020-08-07 Thread Alexander Strasser
Snow uses the ratecontrol module, but does not expose a way to set the rc_eq expression. The default expression, set in the ratecontrol module, will always be used. Make it possible to set rc_eq by adding an AVOption to snowenc. The option definition is mostly a copy from the mpegvideo common opt

Re: [FFmpeg-devel] [PATCH 1/2] test: hlsenc: Don't generate test data with -re

2020-08-07 Thread Michael Niedermayer
On Fri, Aug 07, 2020 at 10:35:58PM +0200, Michael Niedermayer wrote: > On Thu, Aug 06, 2020 at 10:08:33PM +0300, Martin Storsjö wrote: > > On Mon, 3 Aug 2020, Martin Storsjö wrote: > > > > > On Mon, 3 Aug 2020, Michael Niedermayer wrote: > > > > > > > is this removing the only test which tests th

Re: [FFmpeg-devel] [PATCH 1/2] test: hlsenc: Don't generate test data with -re

2020-08-07 Thread James Almer
On 8/7/2020 5:35 PM, Michael Niedermayer wrote: > On Thu, Aug 06, 2020 at 10:08:33PM +0300, Martin Storsjö wrote: >> On Mon, 3 Aug 2020, Martin Storsjö wrote: >> >>> On Mon, 3 Aug 2020, Michael Niedermayer wrote: >>> is this removing the only test which tests the "-re" flag ? if so that w

Re: [FFmpeg-devel] [PATCH 1/2] test: hlsenc: Don't generate test data with -re

2020-08-07 Thread Michael Niedermayer
On Thu, Aug 06, 2020 at 10:08:33PM +0300, Martin Storsjö wrote: > On Mon, 3 Aug 2020, Martin Storsjö wrote: > > > On Mon, 3 Aug 2020, Michael Niedermayer wrote: > > > > > is this removing the only test which tests the "-re" flag ? > > > if so that would reduce test coverage > > > > Well, tehcnic

Re: [FFmpeg-devel] [PATCH 2/2] lavf/mov: Support dref.url box for ISO 14496-12

2020-08-07 Thread Kieran Kunhya
> > > @@ -4169,6 +4189,11 @@ static int mov_open_dref(MOVContext *c, > AVIOContext **pb, const char *src, MOVDr > > if (!c->fc->io_open(c->fc, pb, filename, AVIO_FLAG_READ, > NULL)) > > return 0; > > } > > +} else if (ref->location) { > > +av_log(c->f

Re: [FFmpeg-devel] [PATCH v2 3/5] avformat/dump: dump AV_PKT_DATA_MPEGTS_6A_DESC side data

2020-08-07 Thread lance . lmwang
On Fri, Aug 07, 2020 at 08:39:31AM +0200, Moritz Barsnick wrote: > On Thu, Jul 30, 2020 at 22:58:56 +0800, lance.lmw...@gmail.com wrote: > > #include "libavutil/dovi_meta.h" > > +#include "libavutil//mpegts_audio_desc_metadata.h" > ^^ > A duplicate slash slipped in there. Go

Re: [FFmpeg-devel] [PATCH] Support HDR10+ metadata for HEVC.

2020-08-07 Thread Mohammad Izadi
Any more comments? Are you OK to merge? Thanks, Mohammad On Thu, Jul 30, 2020 at 9:06 AM Vittorio Giovara wrote: > On Mon, Jul 27, 2020 at 11:44 PM Mohammad Izadi < > izadi-at-google@ffmpeg.org> wrote: > > > It seems FATE is for the regression test. Here is a sample that you can > use > >

Re: [FFmpeg-devel] [PATCH v2 5/5] avformat/mpegtsenc: support 0x6a descriptor for AC-3 by side data if have

2020-08-07 Thread lance . lmwang
On Fri, Aug 07, 2020 at 08:43:05AM +0200, Moritz Barsnick wrote: > On Thu, Jul 30, 2020 at 22:58:58 +0800, lance.lmw...@gmail.com wrote: > > if (codec_id == AV_CODEC_ID_AC3) { > > +int len = 1; > > + > > +if (ts_st->desc6a.component_type_flag

Re: [FFmpeg-devel] [PATCH 2/5] avutil/mpegts_audio_desc_metadata: add helper function for AC3 descriptor 0x6a

2020-08-07 Thread lance . lmwang
On Thu, Aug 06, 2020 at 03:52:33PM +0100, Kieran Kunhya wrote: > On Thu, 6 Aug 2020 at 15:48, wrote: > > > On Thu, Aug 06, 2020 at 07:51:55AM +0100, Kieran Kunhya wrote: > > > > > > > > It's audio descriptor information although it's stored in PSI table, > > but > > > > it'll map to > > > > speci

Re: [FFmpeg-devel] [PATCH 2/2] lavf/mov: Support dref.url box for ISO 14496-12

2020-08-07 Thread Zhao Zhili
> On Aug 7, 2020, at 9:37 PM, Jun Zhao wrote: > > From: Jun Zhao > > Enable the dref.url box > > Signed-off-by: Jun Zhao > --- > libavformat/isom.h | 6 ++ > libavformat/mov.c | 45 ++--- > 2 files changed, 44 insertions(+), 7 deletions(-) > > di

[FFmpeg-devel] [PATCH 3/3] doc/fftools-common-opts: document ffmpeg -h protocol=protocol_name

2020-08-07 Thread Jun Zhao
From: Jun Zhao document ffmpeg -h protocol=protocol_name Signed-off-by: Jun Zhao --- doc/fftools-common-opts.texi | 4 1 file changed, 4 insertions(+) diff --git a/doc/fftools-common-opts.texi b/doc/fftools-common-opts.texi index acdaa26..2c94eae 100644 --- a/doc/fftools-common-opts.texi

[FFmpeg-devel] [PATCH 1/3] doc/filters: update filter buffer/abuffer interface file name

2020-08-07 Thread Jun Zhao
From: tomajsjiang Update filter buffer/abuffer interface file name, from libavfilter/{vsrc|asrc_buffer.h} to libavfilter/buffersrc.h Signed-off-by: Jun Zhao Signed-off-by: tomajsjiang --- doc/filters.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/filters.texi

[FFmpeg-devel] [PATCH 2/3] doc/fftools-common-opts: fix typo (name => named)

2020-08-07 Thread Jun Zhao
From: Jun Zhao fix typo (name => named) Signed-off-by: Jun Zhao --- doc/fftools-common-opts.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/fftools-common-opts.texi b/doc/fftools-common-opts.texi index f339e0d..acdaa26 100644 --- a/doc/fftools-common-opts.texi

[FFmpeg-devel] [PATCH 1/2] lavf/mov: Remove redundant code

2020-08-07 Thread Jun Zhao
From: Jun Zhao Signed-off-by: Jun Zhao --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 1532e74..808ef7c 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -587,7 +587,7 @@ static int mov_read_dref(MOVCo

[FFmpeg-devel] [PATCH 2/2] lavf/mov: Support dref.url box for ISO 14496-12

2020-08-07 Thread Jun Zhao
From: Jun Zhao Enable the dref.url box Signed-off-by: Jun Zhao --- libavformat/isom.h | 6 ++ libavformat/mov.c | 45 ++--- 2 files changed, 44 insertions(+), 7 deletions(-) diff --git a/libavformat/isom.h b/libavformat/isom.h index 41a9c64..01e2c

Re: [FFmpeg-devel] [PATCH v3 1/2] dxva: wait until D3D11 buffer copies are done before submitting them

2020-08-07 Thread Steve Lhomme
I experimented a bit more with this. Here are the 3 scenarii in other of least frame late: - GetData waiting for 1/2s and releasing the lock - No use of GetData (current code) - GetData waiting for 1/2s and keeping the lock The last option has horrible perfomance issues and should not be used.

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/snowdec: Sanity check hcoeff

2020-08-07 Thread Michael Niedermayer
On Thu, Aug 06, 2020 at 11:18:15PM +0200, Michael Niedermayer wrote: > Fixes: signed integer overflow: -2147483648 * -1 cannot be represented in > type 'int' > Fixes: > 24011/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SNOW_fuzzer-5486376610168832 > > Found-by: continuous fuzzing process

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/tiff: Check bpp/bppcount for 0

2020-08-07 Thread Michael Niedermayer
On Thu, Aug 06, 2020 at 11:31:03PM +0200, Andreas Rheinhardt wrote: > Michael Niedermayer: > > Fixes: division by zero > > Fixes: > > 24253/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-6250318007107584 > > > > Found-by: continuous fuzzing process > > https://github.com/google/os

Re: [FFmpeg-devel] how to use http proxy in ffmpeg-devel

2020-08-07 Thread Moritz Barsnick
On Wed, Aug 05, 2020 at 20:48:20 +0800, 486179 wrote: > for example > avformat_alloc_output_context2(&putFmtCtx, NULL, "rtmp", > "rtmp://1.1.1.1/live"); > or  > avformat_open_input(&InputFmtCtx, "rtmp://1.1.1.1/live", 0, 0) Wrong mailing list. For questions regarding the development with the ffmp

[FFmpeg-devel] [PATCH] dnn: add backend options when load the model

2020-08-07 Thread Guo, Yejun
different backend might need different options for a better performance, so, add the parameter into dnn interface, as a preparation. Signed-off-by: Guo, Yejun --- libavfilter/dnn/dnn_backend_native.c | 3 ++- libavfilter/dnn/dnn_backend_native.h | 2 +- libavfilter/dnn/dnn_backend_openvino.c