Re: [FFmpeg-devel] [PATCH v4 1/2] vaapi_encode: Add ROI support

2019-07-16 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Mark Thompson > Sent: Monday, July 08, 2019 3:27 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v4 1/2] vaapi_encode: Add ROI support > > --- > libavcodec/vaapi_encode.c

Re: [FFmpeg-devel] [PATCH v4 2/2] lavfi: addroi filter

2019-07-16 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Mark Thompson > Sent: Monday, July 08, 2019 3:27 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v4 2/2] lavfi: addroi filter > > This can be used to add region of interest

Re: [FFmpeg-devel] [PATCH 3/3] lavf/f_select: make the more pixel format usable to avoid autoscale to rgb

2019-07-16 Thread Paul B Mahol
Please nobody commit this, unless it is tested with every mentioned pixel format. On 7/16/19, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavfilter/f_select.c | 6 ++ > tests/ref/fate/filter-metadata-scenedetect | 16 +++

Re: [FFmpeg-devel] how to create sub project / git repo under FFMPEG

2019-07-16 Thread Michael Niedermayer
On Tue, Jul 16, 2019 at 06:07:58AM +, Guo, Yejun wrote: > Hi Michael, > > With the development of ffmpeg dnn module, there is a need to get a git repo, > controlled by FFMPEG, to hold dnn materials, such as training scripts, > trained parameters etc, as discussed at > http://ffmpeg.org/pipe

Re: [FFmpeg-devel] dash: add descriptor which is useful to the scheme defined by ISO/IEC 23009-1:2014/Amd.2:2015.

2019-07-16 Thread Tao Zhang
Let me add that, descriptor provides extensible syntax and semantics for describing Adaptation Set properties. In my scenario,I implemented one VR tiled video system using descriptor. leozhang 于2019年7月15日周一 上午11:11写道: > > change history: > 1. remove unnecessary cast. > 2. add some braces. > > Ple

[FFmpeg-devel] [PATCH] avcodec: add IMM5 decoder

2019-07-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- configure | 1 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 7 ++ libavcodec/imm5.c | 175 libavformat/riff.c |

Re: [FFmpeg-devel] [PATCH] avcodec: add IMM5 decoder

2019-07-16 Thread Peter Ross
On Tue, Jul 16, 2019 at 11:57:36AM +0200, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > configure | 1 + > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/avcodec.h| 1 + > libavcodec/codec_desc.c | 7 ++ > libavcodec/imm5.c

[FFmpeg-devel] [PATCH v2 3/3] lavf/f_select: make the more pixel format usable to avoid autoscale to rgb

2019-07-16 Thread lance . lmwang
From: Limin Wang Have tested all available pixel format in the code: 1. AV_PIX_FMT_RGBA, AV_PIX_FMT_ABGR, AV_PIX_FMT_BGRA, AV_PIX_FMT_GRAY8 are tested by autoscale with the fate sample: Vertical400kbit.sorenson3.mov pkt_pts=20040 scenecut haven't been detected for serveral format 2. AV_PIX_FMT_

[FFmpeg-devel] [PATCH, v2 2/2] doc/ffmpeg.texi: update docs for autoscale/autorotate

2019-07-16 Thread Linjie Fu
Add docs for autoscale. Update information for autorotate according to ffplay. Signed-off-by: Linjie Fu --- doc/ffmpeg.texi | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi index cd35eb49c8..b91da2b2b4 100644 --- a/doc/ffmpeg.

Re: [FFmpeg-devel] [PATCH] avcodec: add IMM5 decoder

2019-07-16 Thread Andreas Rheinhardt
Paul B Mahol: > Signed-off-by: Paul B Mahol > --- > configure | 1 + > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/avcodec.h| 1 + > libavcodec/codec_desc.c | 7 ++ > libavcodec/imm5.c | 175 +++

[FFmpeg-devel] [PATCH] avcodec: add IMM5 decoder

2019-07-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- configure | 1 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 7 ++ libavcodec/imm5.c | 171 libavformat/riff.c |

[FFmpeg-devel] [PATCH] avformat/mux: correct error msg for when BSF filtering fails

2019-07-16 Thread Gyan
From ec6225cfe6fd139518de6699ea5ded57d9dbae2a Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Tue, 16 Jul 2019 18:06:42 +0530 Subject: [PATCH] avformat/mux: correct error msg for when BSF filtering fails --- libavformat/mux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

Re: [FFmpeg-devel] [PATCH] avcodec: add IMM5 decoder

2019-07-16 Thread Andreas Rheinhardt
Paul B Mahol: > Signed-off-by: Paul B Mahol > --- > configure | 1 + > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/avcodec.h| 1 + > libavcodec/codec_desc.c | 7 ++ > libavcodec/imm5.c | 171 +++

Re: [FFmpeg-devel] [PATCH] avcodec: add IMM5 decoder

2019-07-16 Thread James Almer
On 7/16/2019 9:19 AM, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > configure | 1 + > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/avcodec.h| 1 + > libavcodec/codec_desc.c | 7 ++ > libavcodec/imm5.c | 171 +++

Re: [FFmpeg-devel] [PATCH] avcodec: add IMM5 decoder

2019-07-16 Thread Paul B Mahol
On 7/16/19, James Almer wrote: > On 7/16/2019 9:19 AM, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> configure | 1 + >> libavcodec/Makefile | 1 + >> libavcodec/allcodecs.c | 1 + >> libavcodec/avcodec.h| 1 + >> libavcodec/codec_desc.c | 7 ++ >>

Re: [FFmpeg-devel] [PATCH] avcodec: add IMM5 decoder

2019-07-16 Thread Hendrik Leppkes
On Tue, Jul 16, 2019 at 3:26 PM James Almer wrote: > > > +.priv_data_size = sizeof(IMM5Context), > > +.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | > > + FF_CODEC_CAP_INIT_CLEANUP, > > You could set DR1, and set both h264_avctx->get_buffer2 and > hevc_avctx->get_buf

Re: [FFmpeg-devel] [PATCH] avcodec: add IMM5 decoder

2019-07-16 Thread Paul B Mahol
On 7/16/19, Andreas Rheinhardt wrote: > Paul B Mahol: >> Signed-off-by: Paul B Mahol >> --- >> configure | 1 + >> libavcodec/Makefile | 1 + >> libavcodec/allcodecs.c | 1 + >> libavcodec/avcodec.h| 1 + >> libavcodec/codec_desc.c | 7 ++ >> libavcodec/imm5.c

Re: [FFmpeg-devel] [PATCH] avcodec: add IMM5 decoder

2019-07-16 Thread James Almer
On 7/16/2019 10:42 AM, Paul B Mahol wrote: > On 7/16/19, James Almer wrote: >> On 7/16/2019 9:19 AM, Paul B Mahol wrote: >>> +ret = avcodec_receive_frame(codec_avctx, frame); >>> +if (ret < 0) >>> +return ret; >> >> avcodec_receive_frame() can return EAGAIN when the packet was cons

[FFmpeg-devel] [PATCH] avformat/movenc: always write a colr atom

2019-07-16 Thread James Almer
It hasn't been experimental for a long time. Closes ticket #7961 Signed-off-by: James Almer --- libavformat/movenc.c | 9 +- libavformat/movenc.h | 1 - tests/fate/mov.mak| 2 +- tests/fate/vcodec.mak

Re: [FFmpeg-devel] [PATCH] avformat/movenc: always write a colr atom

2019-07-16 Thread Dave Rice
Hi James, > On Jul 16, 2019, at 9:47 AM, James Almer wrote: > > -{ "write_colr", "Write colr atom (Experimental, may be renamed or > changed, do not use from scripts)", 0, AV_OPT_TYPE_CONST, {.i64 = > FF_MOV_FLAG_WRITE_COLR}, INT_MIN, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM, > "movflags" },

Re: [FFmpeg-devel] [PATCH] avformat/movenc: always write a colr atom

2019-07-16 Thread James Almer
On 7/16/2019 12:41 PM, Dave Rice wrote: > Hi James, > >> On Jul 16, 2019, at 9:47 AM, James Almer wrote: >> >> -{ "write_colr", "Write colr atom (Experimental, may be renamed or >> changed, do not use from scripts)", 0, AV_OPT_TYPE_CONST, {.i64 = >> FF_MOV_FLAG_WRITE_COLR}, INT_MIN, INT_MAX

[FFmpeg-devel] [PATCH v2] avformat/movenc: always write a colr atom

2019-07-16 Thread James Almer
It hasn't been experimental for a long time. Closes ticket #7961 Signed-off-by: James Almer --- Decided to deprecate the flag and making it a no-op instead of changing its behavior to be enabled by default. Otherwise doing something like "-movflags faststart" instead of "-movflags +faststart" wo

[FFmpeg-devel] [PATCH] avcodec: add IMM5 decoder

2019-07-16 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- configure | 1 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 7 ++ libavcodec/imm5.c | 188 libavformat/riff.c |

[FFmpeg-devel] [PATCH v2] libavcodec/amfenc: Vulkan initialization support for encoder.

2019-07-16 Thread OvchinnikovDmitrii
Added linux support for amf encoder through vulkan. To use h.264(AMD VCE) encoder on linux amdgru-pro version 19.20+ and amf-amdgpu-pro package(amdgru-pro contains, but does not install automatically) are required. This driver can be installed using amdgpu-pro-install script in official amd dri

Re: [FFmpeg-devel] [PATCH] AMF: Vulkan initialization support for encoder.

2019-07-16 Thread Дмитрий Овчинников
>Does Vulkan initialisation work on Windows? Yes, but only if dx initialisation failed. >Please add a note in the docs to make it clear that on Linux this only works on the weird proprietary graphics stack that is rarely used and won't be installed by default anywhere. The regular Mesa driver sup

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/fitsdec: Prevent division by 0 with huge data_max

2019-07-16 Thread Michael Niedermayer
On Tue, Jul 16, 2019 at 08:34:14AM +0200, Reimar Döffinger wrote: > On 16.07.2019, at 00:50, Michael Niedermayer wrote: > > > Fixes: division by 0 > > Fixes: > > 15657/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FITS_fuzzer-5738154838982656 > > > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/sanm: Check extradata_size before allocations

2019-07-16 Thread Michael Niedermayer
On Tue, Jul 16, 2019 at 08:27:43AM +0200, Reimar Döffinger wrote: > On 16.07.2019, at 00:50, Michael Niedermayer wrote: > > > Fixes: Leaks > > Fixes: > > 15349/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SANM_fuzzer-5102530557640704 > > > > Found-by: continuous fuzzing process > > https:

Re: [FFmpeg-devel] [PATCH] avcodec/decode: Fix missing PTS/DTS for decoders like wmapro

2019-07-16 Thread Michael Niedermayer
On Sun, Jul 14, 2019 at 06:40:35PM -0400, fumoboy...@me.com wrote: > From: fumoboy007 > > Added back comment (deleted in 061a0c14bb5767bca72e3a7227ca400de439ba09) > explaining that some audio decoders like wmapro may consume partial data > without returning a frame. > > For these cases, `decod

Re: [FFmpeg-devel] [PATCH 1/3] lavf/f_select: support scenecut with more pixel formats

2019-07-16 Thread Marton Balint
On Tue, 16 Jul 2019, lance.lmw...@gmail.com wrote: From: Limin Wang This patch haven't make other pixel format usable yet to make sure the test result is same with rgb format. Signed-off-by: Limin Wang --- libavfilter/f_select.c | 34 ++ 1 file changed, 30 in

Re: [FFmpeg-devel] [PATCH 3/3] lavf/f_select: make the more pixel format usable to avoid autoscale to rgb

2019-07-16 Thread Marton Balint
On Tue, 16 Jul 2019, lance.lmw...@gmail.com wrote: From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/f_select.c | 6 ++ tests/ref/fate/filter-metadata-scenedetect | 16 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/libavfilt

Re: [FFmpeg-devel] [PATCH 1/3] lavf/f_select: support scenecut with more pixel formats

2019-07-16 Thread Limin Wang
On Wed, Jul 17, 2019 at 12:58:04AM +0200, Marton Balint wrote: > > > On Tue, 16 Jul 2019, lance.lmw...@gmail.com wrote: > > >From: Limin Wang > > > >This patch haven't make other pixel format usable yet to make sure the test > >result is same with rgb format. > > > >Signed-off-by: Limin Wang >

[FFmpeg-devel] FFmpeg classification

2019-07-16 Thread Maaya Murakami (JP)
Hello Hope all is well. Currently I am researching about the trends of FFmpeg and its supporting codecs, and in order to do so I am trying to classify FFmpeg codecs into different types. Are there meaningful categories to classify these codes other than video/audio or lossy/lossless? Many thanks,

Re: [FFmpeg-devel] [PATCH] lavc/videotoolboxenc: add hdr10, linear, hlg color transfer function for videotoolboxenc

2019-07-16 Thread Rick Kern
On Wed, Jul 10, 2019 at 5:29 AM Dennis Mungai wrote: > On Wed, Jul 10, 2019, 11:06 Hendrik Leppkes wrote: > > > On Wed, Jul 10, 2019 at 4:23 AM Dennis Mungai wrote: > > > > > > On Wed, Jul 10, 2019, 03:05 Aman Gupta wrote: > > > > > > > On Wed, Jun 26, 2019 at 4:25 AM wrote: > > > > > > > > >

Re: [FFmpeg-devel] [PATCH] lavc/videotoolboxenc: add hdr10, linear, hlg color transfer function for videotoolboxenc

2019-07-16 Thread Limin Wang
On Tue, Jul 16, 2019 at 09:36:32PM -0400, Rick Kern wrote: > On Wed, Jul 10, 2019 at 5:29 AM Dennis Mungai wrote: > > > On Wed, Jul 10, 2019, 11:06 Hendrik Leppkes wrote: > > > > > On Wed, Jul 10, 2019 at 4:23 AM Dennis Mungai wrote: > > > > > > > > On Wed, Jul 10, 2019, 03:05 Aman Gupta wrote

Re: [FFmpeg-devel] dash: add descriptor which is useful to the scheme defined by ISO/IEC 23009-1:2014/Amd.2:2015.

2019-07-16 Thread Jeyapal, Karthick
On 7/15/19 8:41 AM, leozhang wrote: > change history: > 1. remove unnecessary cast. > 2. add some braces. > > Please comment, Thanks Thanks for sending the patch. Please find some of my comments inlined below. > > Signed-off-by: leozhang > --- > doc/muxers.texi | 3 +++ > libavformat/dash

[FFmpeg-devel] [PATCH] matroskadec: Add sizes to forward declarations

2019-07-16 Thread Andreas Rheinhardt
Unknown-length elements end when an element not allowed in them, but allowed at a higher level is encountered. In order to check for this, c1abd95a added a pointer to every syntax level's parent to each EbmlSyntax. Given that the parent must of course also reference the child in order to be able to

Re: [FFmpeg-devel] [PATCH] avformat/mpegenc - reject unsupported audio streams

2019-07-16 Thread Gyan
On 08-07-2019 05:35 PM, Gyan wrote: On 25-04-2019 01:48 PM, Gyan wrote: On 25-04-2019 01:23 PM, Ali KIZIL wrote: There are also Dolby Codecs (ac3 & eac3). Will it also throw error for these codecs ? AC3   is  supported before and after this patch. EAC3 is unsupported before and aft

Re: [FFmpeg-devel] dash: add descriptor which is useful to the scheme defined by ISO/IEC 23009-1:2014/Amd.2:2015.

2019-07-16 Thread Tao Zhang
Jeyapal, Karthick 于2019年7月17日周三 上午10:46写道: > > > On 7/15/19 8:41 AM, leozhang wrote: > > change history: > > 1. remove unnecessary cast. > > 2. add some braces. > > > > Please comment, Thanks > Thanks for sending the patch. Please find some of my comments inlined below. Thanks for your comments. I

[FFmpeg-devel] [PATCH v1] Bug #8027 - Wrong result for FFSIGN(0)

2019-07-16 Thread Ulf Zibis
Hi, I have a patch for bug #8027 (see attachment). But there is still a problem with -0.0, but FFABS(-0.0) works fine. Testcode:    av_log(NULL, AV_LOG_ERROR, "FFSIGN(0): %d\n", FFSIGN(0));     av_log(NULL, AV_LOG_ERROR, "FFSIGN(-0): %d\n", FFSIGN(-0));    

Re: [FFmpeg-devel] [PATCH v1] Bug #8027 - Wrong result for FFSIGN(0)

2019-07-16 Thread Ulf Zibis
Again with the patch attached ... Am 17.07.19 um 08:30 schrieb Ulf Zibis: > Hi, > > I have a patch for bug #8027 (see > attachment). > > But there is still a problem with -0.0, but FFABS(-0.0) works fine. > > Testcode: >    av_log(NULL, AV_LOG_ERROR, "FFSIGN(0

Re: [FFmpeg-devel] [PATCH v1] Bug #8027 - Wrong result for FFSIGN(0)

2019-07-16 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Ulf Zibis > Sent: Wednesday, July 17, 2019 2:34 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v1] Bug #8027 - Wrong result for > FFSIGN(0) > > Again with the patch atta