Re: [FFmpeg-devel] avcodec : add prores_metadata bsf and fate test

2018-10-28 Thread Martin Vignali
Thanks for the comments New patch in attach - Change the options, to only authorized few value in prores frame (based on rdd36). - Change option name to match setparams filter - Include intreadwrite instead of bytestream - Do not modify the property if set to -1 - Move av_packet_make_writable at

[FFmpeg-devel] [PATCH 2/3] avcodec/vp3: Reuse local variable in unpack_superblocks()

2018-10-28 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/vp3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 348416b25d..d8421a8315 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -568,7 +568,7 @@ static int unpack_superblocks(Vp3De

[FFmpeg-devel] [PATCH 3/3] avcodec/vp3: Do not recalculate coded_fragment_list for keyframes

2018-10-28 Thread Michael Niedermayer
This improves decoding speed of keyframes Fixes: Timeout (102->27sec) Fixes: 9642/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP3_fuzzer-6676767875006464 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer

[FFmpeg-devel] [PATCH 1/3] avcodec/vp3: Do not initialize unused tables for keyframes in unpack_superblock()

2018-10-28 Thread Michael Niedermayer
Fixes: Timeout (139sec -> 102sec) Fixes: 9642/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP3_fuzzer-6676767875006464 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/vp3.c | 16 +

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/vp3: Do not initialize unused tables for keyframes in unpack_superblock()

2018-10-28 Thread James Almer
On 10/28/2018 11:04 AM, Michael Niedermayer wrote: > Fixes: Timeout (139sec -> 102sec) > Fixes: > 9642/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP3_fuzzer-6676767875006464 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-

[FFmpeg-devel] [PATCH v2] fftools/ffmpeg.c: allow forcing input framerate on streamcopy

2018-10-28 Thread Leo Izen
This is v2 of a patch I sent earlier, revised after testing on various streams. --- fftools/ffmpeg.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index da4259a9a8..6e81716795 100644 --- a/fftools/ffmpeg.c +++ b/fftool

Re: [FFmpeg-devel] [PATCH] libaomenc: Add support for tiles

2018-10-28 Thread Mark Thompson
On 27/10/18 19:58, James Almer wrote: > On 10/22/2018 7:40 PM, Mark Thompson wrote: >> Adds an option to specify the number of tile rows and columns, then uses >> a uniform tiling if possible and otherwise a fixed tiling with equal-sized >> tiles to fill the frame. >> >> Also adds -tile-columns and

[FFmpeg-devel] [PATCH 2/2] vaapi_encode_h265: Reduce SAR to valid range

2018-10-28 Thread Mark Thompson
Matching previous commit for H.264. --- libavcodec/vaapi_encode_h265.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/libavcodec/vaapi_encode_h265.c b/libavcodec/vaapi_encode_h265.c index 367fa5fde2..8d715f6e93 100644 --- a/libavcodec/vaapi_encode_h265.c +++ b/lib

[FFmpeg-devel] [PATCH 1/2] vaapi_encode_h264: Reduce SAR to valid range

2018-10-28 Thread Mark Thompson
The SAR of the input could have a numerator or denominator greater than 2^16 which would then be truncated to a 16-bit integer when written to the VUI parameters, giving a random result. Instead, reduce the SAR to the nearest representable fraction. --- libavcodec/vaapi_encode_h264.c | 12 +++

Re: [FFmpeg-devel] Enquiry re resolving errors reported by stream analysers after transcoding with FFmpeg

2018-10-28 Thread Reuben Martin
> > Errors reported by analysers > > > > * Unable to insert PCR on PES (TR-8 requirement from Sky's VRP video > > spec for PDL) * MPEG and AAC audio buffer overflows (Manzanita) > > * PES header data_alignment_indicator flag not set for video and audio > > (Manzanita) * Failed HRD

[FFmpeg-devel] [PATCH 1/3] doc/encoders: Move libxavs2 to correct place in alphabetical order

2018-10-28 Thread Mark Thompson
--- doc/encoders.texi | 92 +++ 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/doc/encoders.texi b/doc/encoders.texi index 899faac49b..1ca0ef1543 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -2180,6 +2180,52 @@ ffmpeg -i inp

[FFmpeg-devel] [PATCH 3/3] libaomenc: Deprecate unused noise-sensitivity option

2018-10-28 Thread Mark Thompson
--- This was in the 4.0 release, unfortunately (and did nothing there as well). libavcodec/libaomenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/libaomenc.c b/libavcodec/libaomenc.c index c5458766cb..0c2eb6517f 100644 --- a/libavcodec/libaomenc.c +++ b/li

[FFmpeg-devel] [PATCH 2/3] doc/encoders: Add libaom-av1

2018-10-28 Thread Mark Thompson
--- doc/encoders.texi | 103 ++ 1 file changed, 103 insertions(+) diff --git a/doc/encoders.texi b/doc/encoders.texi index 1ca0ef1543..3156f5d65c 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -1370,6 +1370,109 @@ makes it possible to store n

Re: [FFmpeg-devel] [PATCH 3/3] libaomenc: Deprecate unused noise-sensitivity option

2018-10-28 Thread Carl Eugen Hoyos
2018-10-28 21:08 GMT+01:00, Mark Thompson : > --- > This was in the 4.0 release, unfortunately (and did nothing there as well). If it has never worked, it can be removed imo. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg

Re: [FFmpeg-devel] [PATCH 2/2] flvdec: Add an option for exporting unknown metadata packets as opaque data

2018-10-28 Thread Martin Storsjö
On Sun, 28 Oct 2018, Michael Niedermayer wrote: On Sat, Oct 27, 2018 at 09:22:18PM +0300, Martin Storsjö wrote: On Sat, 27 Oct 2018, Michael Niedermayer wrote: On Thu, Oct 25, 2018 at 03:59:17PM +0300, Martin Storsjö wrote: --- libavformat/flv.h| 1 + libavformat/flvdec.c | 21 ++

[FFmpeg-devel] [PATCH 2/2] flvdec: Export unknown metadata packets as opaque data

2018-10-28 Thread Martin Storsjö
--- Removed the option and made this behaviour the default. --- libavformat/flv.h| 1 + libavformat/flvdec.c | 18 ++ 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/libavformat/flv.h b/libavformat/flv.h index 3aabb3adc9..3571b90279 100644 --- a/libavformat/flv

Re: [FFmpeg-devel] [PATCH 2/2] lavf/vf_scale_amf: AMF scaler/format converter filter implementation

2018-10-28 Thread Mark Thompson
On 10/07/18 15:30, Alexander Kravchenko wrote: > --- > configure | 1 + > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vf_scale_amf.c | 623 > + > 4 files changed, 626 insertions(+) > create

Re: [FFmpeg-devel] [PATCH 1/2] lavc/amfenc: moving amf common code (library and context) to lavu/hwcontext_amf from amfenc to be reused in other amf components

2018-10-28 Thread Mark Thompson
On 10/07/18 15:28, Alexander Kravchenko wrote: > --- > libavcodec/amfenc.c| 247 + > libavcodec/amfenc.h| 27 +--- > libavutil/Makefile | 2 + > libavutil/hwcontext.c | 4 + > libavutil/hwcontext.h | 1

[FFmpeg-devel] [PATCH] avcodec/mpegaudio_parser: Consume more than 0 bytes in case of the unsupported mp3adu case

2018-10-28 Thread Michael Niedermayer
Fixes: Timeout Fixes: 10966/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MP3ADU_fuzzer-5348695024336896 Fixes: 10969/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MP3ADUFLOAT_fuzzer-5691669402877952 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/pro

[FFmpeg-devel] [PATCH] libavformat: add multiple PCR streams in MPEGTS muxer

2018-10-28 Thread fix45u+5vw5dhzga3hjs
From 44c9f3d96c5969349bd2dc4d63e9a8b8e6b5a0e2 Mon Sep 17 00:00:00 2001 From: M. Sanders Date: Sat, 27 Oct 2018 21:39:44 +0200 Subject: [PATCH] libavformat: add multiple PCR streams in MPEGTS muxer --- This simple patch adds two new options to the MPEG-TS muxer. You can use them to mark PCRs in ad

[FFmpeg-devel] [PATCH] libavformat: add multiple PCR streams in MPEGTS muxer

2018-10-28 Thread fix45u+5vw5dhzga3hjs
From 44c9f3d96c5969349bd2dc4d63e9a8b8e6b5a0e2 Mon Sep 17 00:00:00 2001 From: M. Sanders Date: Sat, 27 Oct 2018 21:39:44 +0200 Subject: [PATCH] libavformat: add multiple PCR streams in MPEGTS muxer --- This simple patch adds two new options to the MPEG-TS muxer. You can use them to mark PCRs in ad

[FFmpeg-devel] libavformat: add multiple PCR streams in MPEGTS muxer

2018-10-28 Thread fjdh7h+2jnbu7gpkuczk
This simple patch adds two new options to the MPEG-TS muxer. You can use them to mark PCRs in additional VIDEO and/or AUDIO streams. It's useful when you will remux the output with pid filtering tools. For example, if you put PCR in all audio streams, then you can filter each audio stream to creat

[FFmpeg-devel] libavformat: add multiple PCR streams in MPEGTS muxer

2018-10-28 Thread fjdh7h+2jnbu7gpkuczk
From 44c9f3d96c5969349bd2dc4d63e9a8b8e6b5a0e2 Mon Sep 17 00:00:00 2001 From: M. Sanders Date: Sat, 27 Oct 2018 21:39:44 +0200 Subject: [PATCH] libavformat: add multiple PCR streams in MPEGTS muxer --- This simple patch adds two new options to the MPEG-TS muxer. You can use them to mark PCRs in ad

Re: [FFmpeg-devel] [PATCH V2] libavfilter/vaapi: enable vaapi rotation feature via call Intel iHD driver

2018-10-28 Thread Zhou, Zachary
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Michael Niedermayer > Sent: Saturday, October 27, 2018 5:16 AM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH V2] libavfilter/vaapi: enable vaapi > rot

Re: [FFmpeg-devel] [PATCH V2] libavfilter/vaapi: enable vaapi rotation feature via call Intel iHD driver

2018-10-28 Thread Zhou, Zachary
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > sean darcy > Sent: Saturday, October 27, 2018 3:07 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH V2] libavfilter/vaapi: enable vaapi > rotation feature via call Intel

Re: [FFmpeg-devel] [PATCH V2] libavfilter/vaapi: enable vaapi rotation feature via call Intel iHD driver

2018-10-28 Thread myp...@gmail.com
On Fri, Oct 26, 2018 at 11:26 PM Paul B Mahol wrote: > > On 10/26/18, Zhou, Zachary wrote: > > > > > >> -Original Message- > >> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > >> Rostislav Pehlivanov > >> Sent: Friday, October 26, 2018 9:02 PM > >> To: FFmpeg de

Re: [FFmpeg-devel] [PATCH] cbs_vp9: Ensure that reserved zero bits are actually zero

2018-10-28 Thread James Almer
On 10/27/2018 4:41 PM, Mark Thompson wrote: > --- > On 27/10/18 20:26, James Almer wrote: >> On 10/27/2018 4:13 PM, James Almer wrote: >>> On 10/27/2018 4:11 PM, Mark Thompson wrote: On 26/10/18 20:37, James Almer wrote: > Signed-off-by: James Almer > --- > libavcodec/cbs_vp9_syn

Re: [FFmpeg-devel] [PATCH V4] Add a filter implementing HDR image generation from a single exposure using deep CNNs

2018-10-28 Thread Guo, Yejun
any more comment? thanks. > -Original Message- > From: Guo, Yejun > Sent: Tuesday, October 23, 2018 6:46 AM > To: ffmpeg-devel@ffmpeg.org > Cc: Guo, Yejun ; Guo > Subject: [PATCH V4] Add a filter implementing HDR image generation from a > single exposure using deep CNNs > > see the algori

[FFmpeg-devel] [PATCH 1/4] doc/filters: add document for opencl filters

2018-10-28 Thread Ruiling Song
Signed-off-by: Danil Iashchenko Signed-off-by: Ruiling Song --- Seems like Danil is not working on this recently. So I re-submit this patch to address the comment over overlay_opencl. Thanks! Ruiling doc/filters.texi | 486 +++ 1 file changed,

[FFmpeg-devel] [PATCH 3/4] doc/filters: add tonemap_opencl document.

2018-10-28 Thread Ruiling Song
Signed-off-by: Ruiling Song --- doc/filters.texi | 96 1 file changed, 96 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index 83df460..f884ba4 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -16387,6 +16387,7 @@ tm

[FFmpeg-devel] [PATCH 2/4] lavfi/opencl: Handle overlay input formats correctly.

2018-10-28 Thread Ruiling Song
The main input may have alpha channel, we just ignore it. Also add some checks for incompatible input formats. Signed-off-by: Ruiling Song --- libavfilter/vf_overlay_opencl.c | 58 - 1 file changed, 46 insertions(+), 12 deletions(-) diff --git a/libavfilt

[FFmpeg-devel] [PATCH 4/4] lavfi/opencl: remove peak option of tonemap_opencl

2018-10-28 Thread Ruiling Song
Since the filter use auto-calculate the peak value, the option does not work as expected. So, remove it. Signed-off-by: Ruiling Song --- libavfilter/vf_tonemap_opencl.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libavfilter/vf_tonemap_opencl.c b/libavfilter/vf_ton

[FFmpeg-devel] [PATCH 1/4] doc/filters: add document for opencl filters

2018-10-28 Thread Ruiling Song
Signed-off-by: Danil Iashchenko Signed-off-by: Ruiling Song --- Seems like Danil is not working on this recently. So I re-submit this patch to address the comment over overlay_opencl. Thanks! Ruiling doc/filters.texi | 486 +++ 1 file changed,

[FFmpeg-devel] [PATCH 2/4] lavfi/opencl: Handle overlay input formats correctly.

2018-10-28 Thread Ruiling Song
The main input may have alpha channel, we just ignore it. Also add some checks for incompatible input formats. Signed-off-by: Ruiling Song --- libavfilter/vf_overlay_opencl.c | 58 - 1 file changed, 46 insertions(+), 12 deletions(-) diff --git a/libavfilt

[FFmpeg-devel] [PATCH 3/4] doc/filters: add tonemap_opencl document.

2018-10-28 Thread Ruiling Song
Signed-off-by: Ruiling Song --- doc/filters.texi | 96 1 file changed, 96 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index 83df460..f884ba4 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -16387,6 +16387,7 @@ tm

Re: [FFmpeg-devel] [PATCH 1/4] doc/filters: add document for opencl filters

2018-10-28 Thread Song, Ruiling
> -Original Message- > From: Song, Ruiling > Sent: Monday, October 29, 2018 1:57 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Song, Ruiling ; Danil Iashchenko > > Subject: [PATCH 1/4] doc/filters: add document for opencl filters > > Signed-off-by: Danil Iashchenko > Signed-off-by: Ruiling So