Re: [FFmpeg-devel] [PATCH v2] libavcodec/vp8dec: fix the multi-thread HWAccel decode error

2019-06-05 Thread Xiang, Haihao
On Tue, 2019-06-04 at 15:21 +0800, Wang, Shaofei wrote: > > -Original Message- > > From: Xiang, Haihao > > Sent: Tuesday, May 28, 2019 12:23 PM > > To: ffmpeg-devel@ffmpeg.org > > Cc: Wang, Shaofei > > Subject: Re: [FFmpeg-devel] [PATCH v2] libavcodec/vp8dec: fix the > > multi-thread

[FFmpeg-devel] [PATCH V2 3/4] lavc/webvttdec: fix ffmpeg -h full can't display webvtt decoder

2019-06-05 Thread Jun Zhao
From: Jun Zhao fix ffmpeg -h full can't display webvtt decoder Signed-off-by: Jun Zhao --- libavcodec/webvttdec.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/libavcodec/webvttdec.c b/libavcodec/webvttdec.c index 7b2d175..28113f6 100644 ---

[FFmpeg-devel] [PATCH V2 4/4] lavc/webvttenc: fix ffmpeg -h full can't display webvtt encoder

2019-06-05 Thread Jun Zhao
From: Jun Zhao fix ffmpeg -h full can't display webvtt encoder Signed-off-by: Jun Zhao --- libavcodec/webvttenc.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/libavcodec/webvttenc.c b/libavcodec/webvttenc.c index c84bbf4..21e7d92 100644 ---

[FFmpeg-devel] [PATCH V2 0/4] fix webvtt can't dump option issue

2019-06-05 Thread Jun Zhao
V2: - fix WebVTT encoder fail issue Jun Zhao (4): lavf/webvtt: fix ffmpeg -h demuxer=webvtt can't dump options lavf/webvttenc: fix ffmpeg -h full can't display webvtt muxer lavc/webvttdec: fix ffmpeg -h full can't display webvtt decoder lavc/webvttenc: fix ffmpeg -h full can't display

[FFmpeg-devel] [PATCH V2 1/4] lavf/webvtt: fix ffmpeg -h demuxer=webvtt can't dump options

2019-06-05 Thread Jun Zhao
From: Jun Zhao fix ffmpeg -h demuxer=webvtt can't dump options Signed-off-by: Jun Zhao --- libavformat/webvttdec.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libavformat/webvttdec.c b/libavformat/webvttdec.c index e435de3..52579c5 100644 ---

[FFmpeg-devel] [PATCH V2 2/4] lavf/webvttenc: fix ffmpeg -h full can't display webvtt muxer

2019-06-05 Thread Jun Zhao
From: Jun Zhao fix ffmpeg -h full can't display webvtt muxer Signed-off-by: Jun Zhao --- libavformat/webvttenc.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/libavformat/webvttenc.c b/libavformat/webvttenc.c index 61b7f54..b4e8a61 100644 ---

Re: [FFmpeg-devel] [PATCH] avformat/id3v2enc: write CTOC too

2019-06-05 Thread Michael Niedermayer
On Tue, Jun 04, 2019 at 04:45:38PM +0200, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavformat/id3v2enc.c | 36 > 1 file changed, 36 insertions(+) if this is written in a fate test then it will need an update (this patch as it is ATM does

[FFmpeg-devel] [PATCH] mpegts pat and sdt period should respect user options

2019-06-05 Thread Tomas Hulata
When mux_rate (CBR) is defined, pat/sdt period setting is now respected. In case of VBR, leave it as it was. ---  libavformat/mpegtsenc.c | 12 ++--  1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index

[FFmpeg-devel] [PATCH] lavd/v4l2: produce a 0 byte packet when a dequeued buffer's size is unexpected

2019-06-05 Thread Alexander Strasser
From: Stephan Hilb Behave like we do for V4L2_BUF_FLAG_ERROR, implemented in commit 28f20d2ff4 . For some devices (probably also related to the V4L driver implementation) it happens that when invoking the ioctl DQBUF, the returned buffer is not of the expected size. Here are two examples for

Re: [FFmpeg-devel] [PATCH] avcodec/h264_sei: Add experimental acces to truncated SEI data

2019-06-05 Thread Reimar Döffinger
On 04.06.2019, at 22:33, Antonin Gouzer wrote: > Hello, > Thanks for your response. > It's difficult to say if this is a common issue. > I have hundred of thousands of files like this from an editor. > > Even the off by one Size is not standart compliant and it would be > incorrect to not

Re: [FFmpeg-devel] [PATCH] avfilter/framesync: fix shortest with eof_action=pass

2019-06-05 Thread Gyan
On 05-06-2019 09:06 PM, Nicolas George wrote: Gyan (12019-06-05): With current order, shortest gets ignored with eof_action=pass Enabling both does not make much sense. A warning may be a better idea. But no objection. This is to just to fix an edge case, for the careless user. Will apply.

Re: [FFmpeg-devel] [PATCH] avfilter/framesync: fix shortest with eof_action=pass

2019-06-05 Thread Nicolas George
Gyan (12019-06-05): > With current order, shortest gets ignored with eof_action=pass Enabling both does not make much sense. A warning may be a better idea. But no objection. Regards, -- Nicolas George ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH V2 2/2] checkasm/vf_gblur: add test for horiz_slice simd

2019-06-05 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Michael Niedermayer > Sent: Wednesday, June 5, 2019 4:16 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH V2 2/2]

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

2019-06-05 Thread Ruiling Song
The horizontal pass get ~2x performance with the patch under single thread. Tested overall performance using the command(avx2 enabled): ./ffmpeg -i 1080p.mp4 -vf gblur -f null /dev/null ./ffmpeg -i 1080p.mp4 -vf gblur=threads=1 -f null /dev/null For single thread, the fps improves from 43 to 60,

[FFmpeg-devel] [PATCH V3 2/2] checkasm/vf_gblur: add test for horiz_slice simd

2019-06-05 Thread Ruiling Song
Signed-off-by: Ruiling Song --- tests/checkasm/Makefile | 1 + tests/checkasm/checkasm.c | 3 ++ tests/checkasm/checkasm.h | 1 + tests/checkasm/vf_gblur.c | 67 +++ tests/fate/checkasm.mak | 1 + 5 files changed, 73 insertions(+) create mode 100644

[FFmpeg-devel] [PATCH] avfilter/framesync: fix shortest with eof_action=pass

2019-06-05 Thread Gyan
With current order, shortest gets ignored with eof_action=pass Gyan From 61834c8a9d8b01c2a82a001d2974d6389f7f7c49 Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Wed, 5 Jun 2019 19:52:04 +0530 Subject: [PATCH] avfilter/framesync: fix shortest with eof_action=pass Shifted check of shortest to

Re: [FFmpeg-devel] [PATCH] avcodec/mss4: Check input size against skip bits

2019-06-05 Thread Michael Niedermayer
On Tue, May 14, 2019 at 02:50:48PM +0200, Michael Niedermayer wrote: > Fixes: Timeout (17sec -> 20ms) > Fixes: > 14615/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MTS2_fuzzer-5093007763701760 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH] avcodec/dxv: Check op_offset in dxv_decompress_cocg()

2019-06-05 Thread Michael Niedermayer
On Tue, May 21, 2019 at 02:22:10AM +0200, Michael Niedermayer wrote: > Fixes: signed integer overflow: -2147483648 - 12 cannot be represented in > type 'int' > Fixes: > 14732/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DXV_fuzzer-5735273129836544 > > Found-by: continuous fuzzing process

Re: [FFmpeg-devel] [PATCH] avcodec/diracdec: Fix integer overflow in global_mv()

2019-06-05 Thread Michael Niedermayer
On Wed, May 22, 2019 at 02:35:46AM +0200, Michael Niedermayer wrote: > Fixes: signed integer overflow: 16384 * 196607 cannot be represented in type > 'int' > Fixes: > 14810/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5091232683917312 > > Found-by: continuous fuzzing process

[FFmpeg-devel] [PATCH 2/2] avcodec/bitstream: Check for more conflicting codes in build_table()

2019-06-05 Thread Michael Niedermayer
Fixes: out of array read Fixes: 14563/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AGM_fuzzer-5646451545210880 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/bitstream.c | 3 ++- 1 file

Re: [FFmpeg-devel] [PATCH] tools/target_dec_fuzzer: Limit error concealment on pixels instead of just frames

2019-06-05 Thread Michael Niedermayer
On Fri, May 17, 2019 at 10:57:53AM +0200, Michael Niedermayer wrote: > This should reduce the amount of timeout issues overall > > Fixes: Timeout (34->10sec) > Fixes: > 14682/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMV2_fuzzer-5728608414334976 > > Found-by: continuous fuzzing process

[FFmpeg-devel] [PATCH 1/2] avcodec/bitstream: Check for integer code truncation in build_table()

2019-06-05 Thread Michael Niedermayer
Fixes: out of array read Fixes: 14563/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AGM_fuzzer-5646451545210880 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/bitstream.c | 4 1

[FFmpeg-devel] [PATCH] lavf/qsvvpp: add extra_hw_frames support

2019-06-05 Thread Zhong Li
extra_hw_frames is needed for some cases. (eg: qsv decoding + qsv vpp + qsv look_ahead encoding, transcoding failed if no extra_hw_frames supported: ffmpeg -hwaccel qsv -c:v h264_qsv -i bbb_sunflower_1080p_30fps_normal_2000frames.mp4 \ -vf vpp_qsv=w=1280:h=720:extra_hw_frames=100 -v verbose