[FFmpeg-devel] [PATCH V3 2/3] doc/filters: update how to generate native model for sr filter

2019-06-12 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- doc/filters.texi | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index ec1c7c7..fe6725a 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -16588,10 +16588,13 @@ Efficient Sub-Pixel Convolutional Neural

[FFmpeg-devel] [PATCH V3 3/3] tools/python: move .py scripts from tools to tools/python

2019-06-12 Thread Guo, Yejun
so, all the .py scripts will be under tools/python/ Signed-off-by: Guo, Yejun --- tools/normalize.py| 33 - tools/python/normalize.py | 33 + tools/python/zmqshell.py | 26 ++ tools/zmqshell.py

[FFmpeg-devel] [PATCH V3 1/3] tools/python: add script to convert TensorFlow model (.pb) to native model (.model)

2019-06-12 Thread Guo, Yejun
For example, given TensorFlow model file espcn.pb, to generate native model file espcn.model, just run: python convert.py espcn.pb In current implementation, the native model file is generated for specific dnn network with hard-code python scripts maintained out of ffmpeg. For example, srcnn netwo

Re: [FFmpeg-devel] [PATCH v2] vf_drawtext: Add pkt_pos, pkt_duration, pkt_size as variables

2019-06-12 Thread greg Luce
> This doesn't look correct. It's supposed to contain > Subject: vf_drawtext: Add pkt_pos, pkt_duration, pkt_size as variables > and the Signed-off-by line is to be somewhere in the remaining commit > message. How did you create the patch? I just cloned the main, made the change, and then did "git

Re: [FFmpeg-devel] [PATCH, v2] lavc/vaapi_encode: add support for AVC Trellis

2019-06-12 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Mark Thompson > Sent: Thursday, June 13, 2019 06:37 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH, v2] lavc/vaapi_encode: add support for > AVC Trellis > > On 12/06/2019 1

Re: [FFmpeg-devel] [PATCH V3 1/2] avfilter/vf_gblur: add x86 SIMD optimizations

2019-06-12 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Adam Sampson > Sent: Wednesday, June 12, 2019 8:21 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH V3 1/2] avfilter/vf_gblur: add x86 SIMD > optimizations > > Hi Ruiling,

[FFmpeg-devel] [PATCH 2/4] avformat/img2dec: Fix probe_buffer leak in ff_img_read_header()

2019-06-12 Thread Michael Niedermayer
Fixes: memleak Fixes: 15171/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5683881644130304 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/img2dec.c | 1 + 1 file changed, 1 insertion(

[FFmpeg-devel] [PATCH 1/4] avcodec/xpmdec: Do not use context dimensions as temporary variables

2019-06-12 Thread Michael Niedermayer
Fixes: Integer overflow Fixes: 15134/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_XPM_fuzzer-5722635939348480 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/xpmdec.c | 5 +++-- 1 file ch

[FFmpeg-devel] [PATCH 3/4] avformat/wtvdec: Avoid (32bit signed) sectors

2019-06-12 Thread Michael Niedermayer
Fixes: left shift of negative value -14614752 Fixes: 15174/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5670543606415360 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/wtvdec.c | 5 +

[FFmpeg-devel] [PATCH 4/4] avcodec/fitsdec: Check data_min/max

2019-06-12 Thread Michael Niedermayer
Fixes: division by 0 Fixes: 15206/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FITS_fuzzer-5657260212092928 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/fitsdec.c | 10 ++ 1 fi

Re: [FFmpeg-devel] [PATCH, v2] lavc/vaapi_encode: add support for AVC Trellis

2019-06-12 Thread Mark Thompson
On 12/06/2019 16:28, Linjie Fu wrote: > Add support for VAAPI AVC Trellis Quantization with limitation: > - VA-API version >= (1, 0, 0) > > Use option "-trellis off/I/P/B" to disable or enable Trellis > quantization for I/P/B frames. > > Signed-off-by: Linjie Fu > --- > [v2]: Since nonstanda

Re: [FFmpeg-devel] [PATCH] set AVFrame decode_error_flags in case of decoding error by h264dec

2019-06-12 Thread Amir Z
thanks, I will submit a new patch with the requested changes On Wed, Jun 12, 2019 at 3:00 PM Marton Balint wrote: > > > On Wed, 12 Jun 2019, Michael Niedermayer wrote: > > > On Wed, Jun 12, 2019 at 10:09:08AM +0200, Marton Balint wrote: > >> > >> > >> On Wed, 12 Jun 2019, Michael Niedermayer wro

Re: [FFmpeg-devel] [PATCH v4] vaapi_encode_mjpeg: fix bad component id bug

2019-06-12 Thread Mark Thompson
On 07/06/2019 22:45, U. Artie Eoff wrote: > The compound literals assigned to "components" > only exist within the scope of the if/else > block (thanks Mark Thompson for the better > explanation). > > Thus, after this if/else block, "components" > ends up pointing to an arbitrary/undefined > array

Re: [FFmpeg-devel] [PATCH] avcodec/omx: Correct av_log() log message

2019-06-12 Thread Mark Thompson
On 12/06/2019 13:16, Alejandro Solozabal wrote: > Print the right library name, which is trying to open, on the log message. > > Signed-off-by: Alejandro Solozabal > --- > libavcodec/omx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/omx.c b/libavcodec/omx

Re: [FFmpeg-devel] [FFmpeg-cvslog] avfilter/vf_gblur: add x86 SIMD optimizations

2019-06-12 Thread Jean-Baptiste Kempf
On Wed, Jun 12, 2019, at 20:59, Reimar Döffinger wrote: > Ok, but practically, if we mix all kinds of licenses that require > explicit mention of the license text, how is someone supposed to be > able to ship a FFmpeg binary? List all the copyrights, in theory. > Are they supposed to go through

Re: [FFmpeg-devel] [PATCH v2] vf_drawtext: Add pkt_pos, pkt_duration, pkt_size as variables

2019-06-12 Thread Moritz Barsnick
On Wed, Jun 12, 2019 at 12:11:16 -0400, greg Luce wrote: > Ooops apologies, .patch file attached and with hopefully better line breaks Yes, but something went wrong with its contents: > Subject: [PATCH] Signed-off-by: greg Luce This doesn't look correct. It's supposed to contain Subject: vf_dra

Re: [FFmpeg-devel] [PATCH] set AVFrame decode_error_flags in case of decoding error by h264dec

2019-06-12 Thread Marton Balint
On Wed, 12 Jun 2019, Michael Niedermayer wrote: On Wed, Jun 12, 2019 at 10:09:08AM +0200, Marton Balint wrote: On Wed, 12 Jun 2019, Michael Niedermayer wrote: On Tue, Jun 11, 2019 at 03:21:41PM -0500, Amir Z wrote: Thanks Michael Niedermayer for looking into this What I am trying to sol

Re: [FFmpeg-devel] [FFmpeg-cvslog] avfilter/vf_gblur: add x86 SIMD optimizations

2019-06-12 Thread Reimar Döffinger
On 12.06.2019, at 11:44, "Jean-Baptiste Kempf" wrote: > On Wed, Jun 12, 2019, at 07:51, Reimar Döffinger wrote: >> Where does this license come from? > > Original file. > Very classical BSD-3 > >> Is that even GPL-compatible? > > Yes, of course. Ok, but practically, if we mix all kinds of lic

Re: [FFmpeg-devel] [PATCH v2] vf_drawtext: Add pkt_pos, pkt_duration, pkt_size as variables

2019-06-12 Thread greg Luce
Ooops apologies, .patch file attached and with hopefully better line breaks On Wed, 12 Jun 2019 at 03:43, Michael Niedermayer wrote: > > On Tue, Jun 11, 2019 at 06:02:10PM -0400, greg Luce wrote: > > This is on the bug tracker at https://trac.ffmpeg.org/ticket/7947 > > Created with the help of th

Re: [FFmpeg-devel] [PATCH] set AVFrame decode_error_flags in case of decoding error by h264dec

2019-06-12 Thread Amir Z
FF_DECODE_ERROR_CONCEALMENT_ACTIVE sounds right for the case that the ret variable is set to zero (i.e. indicate the fact that there was an error and it is concealed) ret = ff_h264_execute_decode_slices(h); if (ret < 0 && (h->avctx->err_recognition & AV_EF_EXPLODE)) goto end;

[FFmpeg-devel] [PATCH] avformat/vividas: check length in read_vblock()

2019-06-12 Thread Michael Niedermayer
Fixes: out of array access Fixes: 15166/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5731062396747776 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/vividas.c | 2 +- 1 file changed,

Re: [FFmpeg-devel] [PATCH V3 1/2] avfilter/vf_gblur: add x86 SIMD optimizations

2019-06-12 Thread Adam Sampson
Hi Ruiling, Ruiling Song writes: > The horizontal pass get ~2x performance with the patch > under single thread. [...] > +++ b/libavfilter/x86/vf_gblur.asm [...] > +%if ARCH_X86_64 > +INIT_XMM sse4 > +HORIZ_SLICE > + > +INIT_XMM avx2 > +HORIZ_SLICE > +%endif [...] > +++ b/libavfilter/x86/vf_gblu

[FFmpeg-devel] [PATCH] avcodec/omx: Correct av_log() log message

2019-06-12 Thread Alejandro Solozabal
Print the right library name, which is trying to open, on the log message. Signed-off-by: Alejandro Solozabal --- libavcodec/omx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/omx.c b/libavcodec/omx.c index 466e0be9fe..a1e5a46a54 100644 --- a/libavcodec/omx.c ++

Re: [FFmpeg-devel] [PATCH v4 2/2] doc/filters.texi: don't need to be in gray8 for find image

2019-06-12 Thread Lance Wang
On Wed, Jun 12, 2019 at 5:23 AM Michael Niedermayer wrote: > On Tue, Jun 11, 2019 at 02:07:30PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > doc/filters.texi | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git

[FFmpeg-devel] [PATCH v5 1/3] libavfilter/vf_find_rect: convert the object image to gray8 format instead of failed directly

2019-06-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/filters.texi | 2 +- libavfilter/vf_find_rect.c | 39 +++--- 2 files changed, 29 insertions(+), 12 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index ec1c7c7591..90c57430a6 100644 ---

Re: [FFmpeg-devel] [PATCH v3 2/3] libavfilter/vf_cover_rect: support for cover image with more pixel format and different width and height

2019-06-12 Thread Lance Wang
On Wed, Jun 12, 2019 at 5:43 PM Moritz Barsnick wrote: > On Tue, Jun 11, 2019 at 13:38:43 +0800, lance.lmw...@gmail.com wrote: > > @@ -220,11 +248,6 @@ static av_cold int init(AVFilterContext *ctx) > > &cover->cover_frame->width, > &cover->cover_frame->height, > >

[FFmpeg-devel] [PATCH v5 3/3] vf_find_rect.c: improve the find object detect performance

2019-06-12 Thread lance . lmwang
From: Limin Wang Test with my samples with same test command, the detect function is OK, however the benchmark result is from 16fps to 400fps Signed-off-by: Limin Wang --- libavfilter/vf_find_rect.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/libavfilte

[FFmpeg-devel] [PATCH v5 2/3] vf_find_rect.c: use the optimized sad function to improve the find performance

2019-06-12 Thread lance . lmwang
From: Limin Wang benchmark on x86_64: 6.4 -> 16 with below command: ./ffmpeg -i 1920x1080.mp4 -vf find_rect=./find.tif,cover_rect=./cover.jpg:mode=cover -f null - 6.4 fps -> 16fps Signed-off-by: Limin Wang --- libavfilter/vf_find_rect.c | 53 +++--- 1 file cha

Re: [FFmpeg-devel] [PATCH v3 2/3] libavfilter/vf_cover_rect: support for cover image with more pixel format and different width and height

2019-06-12 Thread Lance Wang
On Wed, Jun 12, 2019 at 4:51 AM Michael Niedermayer wrote: > On Tue, Jun 11, 2019 at 01:38:43PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavfilter/vf_cover_rect.c | 49 +++-- > > 1 file changed, 36

Re: [FFmpeg-devel] [PATCH v3 3/3] doc/filters.texi: Don't need to be yuv420 format for cover image

2019-06-12 Thread Lance Wang
On Wed, Jun 12, 2019 at 5:46 PM Moritz Barsnick wrote: > On Tue, Jun 11, 2019 at 13:38:44 +0800, lance.lmw...@gmail.com wrote: > > doc/filters.texi | 2 +- > > While you're at it, could you kindly add another patch to fix the > descriptions of the examples for find_rect and cover_rect? They are >

[FFmpeg-devel] [PATCH v4] libavfilter/vf_cover_rect: support for cover image with more pixel format and different width and height

2019-06-12 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/filters.texi| 6 ++-- libavfilter/vf_cover_rect.c | 56 +++-- 2 files changed, 44 insertions(+), 18 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index ec1c7c7591..4594a61c13 100644

Re: [FFmpeg-devel] [PATCH v3 3/3] doc/filters.texi: Don't need to be yuv420 format for cover image

2019-06-12 Thread Moritz Barsnick
On Tue, Jun 11, 2019 at 13:38:44 +0800, lance.lmw...@gmail.com wrote: > doc/filters.texi | 2 +- While you're at it, could you kindly add another patch to fix the descriptions of the examples for find_rect and cover_rect? They are copy pasted from pallettegen, and are totally misleading: > Genera

Re: [FFmpeg-devel] [FFmpeg-cvslog] avfilter/vf_gblur: add x86 SIMD optimizations

2019-06-12 Thread Jean-Baptiste Kempf
On Wed, Jun 12, 2019, at 07:51, Reimar Döffinger wrote: > Where does this license come from? Original file. Very classical BSD-3 > Is that even GPL-compatible? Yes, of course. -- Jean-Baptiste Kempf - President +33 672 704 734 ___ ffmpeg-devel maili

Re: [FFmpeg-devel] [PATCH v3 2/3] libavfilter/vf_cover_rect: support for cover image with more pixel format and different width and height

2019-06-12 Thread Moritz Barsnick
On Tue, Jun 11, 2019 at 13:38:43 +0800, lance.lmw...@gmail.com wrote: > @@ -220,11 +248,6 @@ static av_cold int init(AVFilterContext *ctx) > &cover->cover_frame->width, > &cover->cover_frame->height, > &cover->cover_frame->format,

Re: [FFmpeg-devel] [PATCH] set AVFrame decode_error_flags in case of decoding error by h264dec

2019-06-12 Thread Michael Niedermayer
On Wed, Jun 12, 2019 at 10:09:08AM +0200, Marton Balint wrote: > > > On Wed, 12 Jun 2019, Michael Niedermayer wrote: > > >On Tue, Jun 11, 2019 at 03:21:41PM -0500, Amir Z wrote: > >>Thanks Michael Niedermayer for looking into this > >> > >>What I am trying to solve is having a way to detect conc

Re: [FFmpeg-devel] [FFmpeg-cvslog] avfilter/vf_gblur: add x86 SIMD optimizations

2019-06-12 Thread Moritz Barsnick
On Wed, Jun 12, 2019 at 08:23:29 +, Song, Ruiling wrote: > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > > Of Reimar D?ffinger > > Where does this license come from? > The license is from vf_gblur.c, because the code was copied from there. > If I read correctly, thi

Re: [FFmpeg-devel] [PATCH] avcodec: Add smpte2084 transfer function to videotoolboxenc

2019-06-12 Thread Nomis101 🐝
Am 12.06.19 um 10:01 schrieb Michael Niedermayer: > On Wed, Jun 12, 2019 at 09:44:26AM +0200, Nomis101 🐝 wrote: >> This patch will add support of the smpte2084 transfer function to >> videotoolboxenc. kCVImageBufferTransferFunction_SMPTE_ST_2084_PQ is >> available on macOS 10.13 and up. >> This i

Re: [FFmpeg-devel] [FFmpeg-cvslog] avfilter/vf_gblur: add x86 SIMD optimizations

2019-06-12 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Reimar D?ffinger > Sent: Wednesday, June 12, 2019 1:51 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [FFmpeg-cvslog] avfilter/vf_gblur: add x86 > SIMD optimizations > > > >

Re: [FFmpeg-devel] [PATCH, v2] lavc/vaapi_encode: add support for AVC Trellis

2019-06-12 Thread myp...@gmail.com
On Wed, Jun 12, 2019 at 3:28 PM Linjie Fu wrote: > > Add support for VAAPI AVC Trellis Quantization with limitation: > - VA-API version >= (1, 0, 0) > > Use option "-trellis off/I/P/B" to disable or enable Trellis > quantization for I/P/B frames. > > Signed-off-by: Linjie Fu > --- > [v2]: Sin

Re: [FFmpeg-devel] [PATCH] set AVFrame decode_error_flags in case of decoding error by h264dec

2019-06-12 Thread Marton Balint
On Wed, 12 Jun 2019, Michael Niedermayer wrote: On Tue, Jun 11, 2019 at 03:21:41PM -0500, Amir Z wrote: Thanks Michael Niedermayer for looking into this What I am trying to solve is having a way to detect concealed decoding errors by the caller to avcodec_receive_frame. Should I add a gener

Re: [FFmpeg-devel] [PATCH] avcodec: Add smpte2084 transfer function to videotoolboxenc

2019-06-12 Thread Michael Niedermayer
On Wed, Jun 12, 2019 at 09:44:26AM +0200, Nomis101 🐝 wrote: > This patch will add support of the smpte2084 transfer function to > videotoolboxenc. kCVImageBufferTransferFunction_SMPTE_ST_2084_PQ is available > on macOS 10.13 and up. > This is on the bug tracker at https://trac.ffmpeg.org/ticket/7

Re: [FFmpeg-devel] [PATCH V2 1/2] libavfilter/dnn: add script to convert TensorFlow model (.pb) to native model (.model)

2019-06-12 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Pedro Arthur > Sent: Wednesday, June 12, 2019 3:43 AM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH V2 1/2] libavfilter/dnn: add script to > convert T

Re: [FFmpeg-devel] [PATCH 2/2] fftools/ffmpeg: log skipped initial non-keyframes

2019-06-12 Thread Michael Niedermayer
On Sun, Jun 09, 2019 at 11:26:14AM +0200, Stephan Hilb wrote: > > Repeated messages only get supressed if there is no interspaced > > message if 2 things generate a message per frame, neither will be > > supressed > > So should I leave it at DEBUG level or implement a custom log_once? i agree tha

Re: [FFmpeg-devel] [PATCH] set AVFrame decode_error_flags in case of decoding error by h264dec

2019-06-12 Thread Michael Niedermayer
On Tue, Jun 11, 2019 at 03:21:41PM -0500, Amir Z wrote: > Thanks Michael Niedermayer for looking into this > > What I am trying to solve is having a way to detect concealed decoding > errors by the caller to avcodec_receive_frame. > > Should I add a general value e.g. #define > FF_DECODE_ERROR_DE

[FFmpeg-devel] [PATCH] avcodec: Add smpte2084 transfer function to videotoolboxenc

2019-06-12 Thread Nomis101 🐝
This patch will add support of the smpte2084 transfer function to videotoolboxenc. kCVImageBufferTransferFunction_SMPTE_ST_2084_PQ is available on macOS 10.13 and up. This is on the bug tracker at https://trac.ffmpeg.org/ticket/7953 diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoo

Re: [FFmpeg-devel] [PATCH v2] vf_drawtext: Add pkt_pos, pkt_duration, pkt_size as variables

2019-06-12 Thread Michael Niedermayer
On Tue, Jun 11, 2019 at 06:02:10PM -0400, greg Luce wrote: > This is on the bug tracker at https://trac.ffmpeg.org/ticket/7947 > Created with the help of the excellent Calvin Walton > > and rewritten with the advice of the excellent Gyan > > --- > doc/filters.texi | 24 +++

Re: [FFmpeg-devel] [PATCH] avcodec/mjpegdec: Check for non ls PAL8

2019-06-12 Thread Michael Niedermayer
On Sat, Jun 01, 2019 at 09:31:32PM +0200, Michael Niedermayer wrote: > Fixes: Null-dereference READ in av_malloc > Fixes: > 15002/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_THP_fuzzer-5643474625363968 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/maste

Re: [FFmpeg-devel] [PATCH] avcodec/v4l2_m2m_dec: Fix memleak on ff_v4l2_m2m_codec_init() failure

2019-06-12 Thread Michael Niedermayer
On Sat, Jun 01, 2019 at 05:16:56PM +0200, Michael Niedermayer wrote: > Fixes: > 13579/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG1_V4L2M2M_fuzzer-5753560726241280 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by:

Re: [FFmpeg-devel] [PATCH 3/4] tests/ref/fate/nuv-rtjpeg: Preserve the original timestamps

2019-06-12 Thread Michael Niedermayer
On Thu, May 30, 2019 at 04:03:59PM +0200, Michael Niedermayer wrote: > The tests previously rounded the timestamps. Its better in a fate test to > preserve > the data from the demuxer and decoder. > > Signed-off-by: Michael Niedermayer > --- > tests/fate/video.mak | 2 +- > tests/ref/fate

Re: [FFmpeg-devel] [PATCH] avcodec/interplayvideo: check decoding_map_size with video_data_size

2019-06-12 Thread Michael Niedermayer
On Sun, May 26, 2019 at 11:39:13PM +0200, Michael Niedermayer wrote: > Fixes: Timeout (90543 ms -> 59 ms) > Fixes: > 14721/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INTERPLAY_VIDEO_fuzzer-5697492148027392 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/

Re: [FFmpeg-devel] [PATCH] avcodec/pngdec: Check input space

2019-06-12 Thread Michael Niedermayer
On Wed, May 15, 2019 at 05:53:49PM +0200, Michael Niedermayer wrote: > On Tue, May 14, 2019 at 08:52:27PM +0100, Kieran Kunhya wrote: > > On Tue, 14 May 2019 at 20:42, Michael Niedermayer > > wrote: > > > > > Fixes: Timeout (33sec -> 78ms) > > > Fixes: > > > 14668/clusterfuzz-testcase-minimized-f

Re: [FFmpeg-devel] [PATCH] avcodec/h264_parse: Use 64bit for expectedpoc

2019-06-12 Thread Michael Niedermayer
On Mon, May 27, 2019 at 01:10:00AM -0300, James Almer wrote: > On 5/23/2019 8:25 PM, Michael Niedermayer wrote: > > Fixes: signed integer overflow: -2142516591 + -267814575 cannot be > > represented in type 'int' > > Fixes: > > 14450/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-5

[FFmpeg-devel] [PATCH, v2] lavc/vaapi_encode: add support for AVC Trellis

2019-06-12 Thread Linjie Fu
Add support for VAAPI AVC Trellis Quantization with limitation: - VA-API version >= (1, 0, 0) Use option "-trellis off/I/P/B" to disable or enable Trellis quantization for I/P/B frames. Signed-off-by: Linjie Fu --- [v2]: Since nonstandard struct for VAEncMiscParameterQuantization is fixed: h