Re: [FFmpeg-devel] [PATCH v2 12/14] avfilter/vf_scale_qsv: add logging context to log

2019-10-08 Thread Li, Zhong
> From: ffmpeg-devel On Behalf Of Steven > Liu > Sent: Wednesday, October 2, 2019 2:58 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Steven Liu > Subject: [FFmpeg-devel] [PATCH v2 12/14] avfilter/vf_scale_qsv: add logging > context to log > > Signed-off-by: Steven Liu > --- >

Re: [FFmpeg-devel] [PATCH v2 12/14] avfilter/vf_scale_qsv: add logging context to log

2019-10-08 Thread Steven Liu
> 在 2019年10月8日,15:08,Li, Zhong 写道: > >> From: ffmpeg-devel On Behalf Of Steven >> Liu >> Sent: Wednesday, October 2, 2019 2:58 PM >> To: ffmpeg-devel@ffmpeg.org >> Cc: Steven Liu >> Subject: [FFmpeg-devel] [PATCH v2 12/14] avfilter/vf_scale_qsv: add logging >> context to log >> >>

Re: [FFmpeg-devel] [PATCH V2 2/2] avfilter/dnn: unify the layer execution function in native mode

2019-10-08 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Pedro Arthur > Sent: Saturday, October 05, 2019 12:09 AM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH V2 2/2] avfilter/dnn: unify the layer >

Re: [FFmpeg-devel] [PATCH v3] avfilter/vf_delogo: make the interp value compute method simple

2019-10-08 Thread Paul B Mahol
probably ok On 10/8/19, Steven Liu wrote: > because the interp >= 0UL comparison of an unsigned value is always true > fix CID: 1454642 > > Signed-off-by: Steven Liu > --- > libavfilter/vf_delogo.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/vf_delogo.c

Re: [FFmpeg-devel] [PATCH v2] avfilter/vf_freezedetect: add discard option to force drop freezen frame

2019-10-08 Thread Paul B Mahol
On 10/8/19, lance.lmw...@gmail.com wrote: > From: Limin Wang > > How to tested it, please try with the following command: > ./ffmpeg -f lavfi -i > "smptebars=duration=5:size=1280x720:rate=30,freezedetect=d=1:discard=0" -f > null - > frame= 150 fps=0.0 q=-0.0 Lsize=N/A time=00:00:05.00

Re: [FFmpeg-devel] [PATCH v1 4/4] avformat/hlsenc: replace with av_freep for all av_free

2019-10-08 Thread Steven Liu
> 在 2019年9月16日,09:03,lance.lmw...@gmail.com 写道: > > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavformat/hlsenc.c | 64 ++-- > 1 file changed, 32 insertions(+), 32 deletions(-) > > diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c

Re: [FFmpeg-devel] [PATCH 0/1] avformat/hls: fix missing data from last segment of HLS+fMP4 when using http_multiple

2019-10-08 Thread Steven Liu
> 在 2019年10月5日,06:04,vectronic 写道: > > When using http_multiple with HLS and fragmented MP4 media, the last segment > is attempted to be > read without resetting the current segment offset to 0. the previous segments > last offset was > thus used which meant an invalid portion of the last

Re: [FFmpeg-devel] [PATCH 1/2] [PATCH 1/2] avformat/http: add ff_http_do_new_request2() which supports options to be applied to HTTPContext after initialisation with the new uri

2019-10-08 Thread Steven Liu
> 在 2019年10月5日,05:56,vectronic 写道: > > Signed-off-by: vectronic > --- > libavformat/http.c | 8 +++- > libavformat/http.h | 13 + > 2 files changed, 20 insertions(+), 1 deletion(-) > > diff --git a/libavformat/http.c b/libavformat/http.c > index 71dd6c2b1f..85cbd06092 100644 >

Re: [FFmpeg-devel] [PATCH v2 1/3] avfilter/vf_scenechangedetect: add filter to detect scene change

2019-10-08 Thread Paul B Mahol
On 10/8/19, Limin Wang wrote: > On Mon, Oct 07, 2019 at 09:00:10PM +0200, Paul B Mahol wrote: > >> Too long filter name. > Yes, the name is too long, how about to use scdetect? If it's OK, I'll > update the patch. Just scdet. > >> >> On 10/7/19, Limin Wang wrote: >> > >> > ping, please give

Re: [FFmpeg-devel] [PATCH 4/4] avformat/flacdec: Remove useless packet

2019-10-08 Thread Paul B Mahol
lgtm On 10/8/19, Andreas Rheinhardt wrote: > flac_read_timestamp() applied av_init_packet() to a packet (which > initializes all fields of the packet except for data and size) and then > went on to use only the data and size fields. In other words: Said > packet can be removed and replaced by an

Re: [FFmpeg-devel] [PATCH v3] avfilter/vf_delogo: make the interp value compute method simple

2019-10-08 Thread Steven Liu
> 在 2019年10月8日,15:44,Paul B Mahol 写道: > > probably ok Thanks Paul. > > On 10/8/19, Steven Liu wrote: >> because the interp >= 0UL comparison of an unsigned value is always true >> fix CID: 1454642 >> >> Signed-off-by: Steven Liu >> --- >> libavfilter/vf_delogo.c | 2 +- >> 1 file changed, 1

Re: [FFmpeg-devel] [PATCH v2 2/3] avfilter/vf_framerate: if metadata lavfi.scd.mafd exists, we'll use it first

2019-10-08 Thread Paul B Mahol
On 9/29/19, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavfilter/vf_framerate.c | 15 +++ > 1 file changed, 11 insertions(+), 4 deletions(-) > > diff --git a/libavfilter/vf_framerate.c b/libavfilter/vf_framerate.c > index

Re: [FFmpeg-devel] [PATCH v3 1/4] avfilter/vf_scenechangedetect: add filter to detect scene change

2019-10-08 Thread Paul B Mahol
On 10/8/19, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > configure | 1 + > doc/filters.texi | 35 + > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + >

Re: [FFmpeg-devel] [PATCH v3 2/3] avformat/mpjpegdec: fix strict boundary search string

2019-10-08 Thread Michael Niedermayer
On Mon, Oct 07, 2019 at 12:19:29AM +0200, Moritz Barsnick wrote: > According to RFC1341, the multipart boundary indicated by the > Content-Type header must be prepended by CRLF + "--", and followed > by CRLF. In the case of strict MIME header boundary handling, the > "--" was forgotten to add. >

Re: [FFmpeg-devel] [PATCH 1/4] avformat/mpeg: Remove set-but-unused variable

2019-10-08 Thread Paul B Mahol
lgtm On 10/8/19, Andreas Rheinhardt wrote: > Forgotten in 7da57875. > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/mpeg.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c > index 6f132aae05..bd182e4429 100644 > ---

[FFmpeg-devel] [PATCH] doc/examples/decode_audio: read the audio data from data[0]

2019-10-08 Thread Steven Liu
only frame linesize[0] can get length size, i have tested before patch like this: ffmpeg -i /Users/liuqi/input.mp3 -codec:a ac3 -ac 5 a.ac3 ./doc/examples/decode_audio a.ac3 a.pcm ffplay -f f32le -ac 5 -ar 44100 a.pcm there have problem. no problem after this patch. Reported-by: Bepartofyou

Re: [FFmpeg-devel] [PATCH] doc/examples/decode_audio: read the audio data from data[0]

2019-10-08 Thread Paul B Mahol
On 10/8/19, Steven Liu wrote: > only frame linesize[0] can get length size, > i have tested before patch like this: > ffmpeg -i /Users/liuqi/input.mp3 -codec:a ac3 -ac 5 a.ac3 > ./doc/examples/decode_audio a.ac3 a.pcm > ffplay -f f32le -ac 5 -ar 44100 a.pcm > there have problem. > > no problem

[FFmpeg-devel] [PATCH v3 1/4] avfilter/vf_scenechangedetect: add filter to detect scene change

2019-10-08 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- configure | 1 + doc/filters.texi | 35 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_scenechangedetect.c | 220

[FFmpeg-devel] [PATCH v3 2/4] avfilter/vf_framerate: if metadata lavfi.scd.mafd exists, we'll use it first

2019-10-08 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_framerate.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_framerate.c b/libavfilter/vf_framerate.c index 6c8d01c94b..8d16998457 100644 --- a/libavfilter/vf_framerate.c +++

Re: [FFmpeg-devel] [PATCH] doc/examples/decode_audio: read the audio data from data[0]

2019-10-08 Thread Steven Liu
> 在 2019年10月8日,16:48,Paul B Mahol 写道: > > On 10/8/19, Steven Liu wrote: >> only frame linesize[0] can get length size, >> i have tested before patch like this: >> ffmpeg -i /Users/liuqi/input.mp3 -codec:a ac3 -ac 5 a.ac3 >> ./doc/examples/decode_audio a.ac3 a.pcm >> ffplay -f f32le -ac 5 -ar

Re: [FFmpeg-devel] [PATCH 5/5] avcodec/flicvideo: Use bytestream2_get_buffer() in flic_decode_frame_15_16BPP() for FLI_COPY

2019-10-08 Thread Michael Niedermayer
On Sat, Sep 28, 2019 at 08:46:52PM +0200, Carl Eugen Hoyos wrote: > Am Sa., 28. Sept. 2019 um 16:52 Uhr schrieb Tomas Härdin : > > > > tor 2019-09-26 klockan 23:10 +0200 skrev Michael Niedermayer: > > > Fixes: Timeout(103sec -> 3sec) > > > Fixes: > > >

Re: [FFmpeg-devel] [PATCH v2] avfilter/vf_freezedetect: add discard option to force drop freezen frame

2019-10-08 Thread Paul B Mahol
On 10/8/19, Paul B Mahol wrote: > On 10/8/19, lance.lmw...@gmail.com wrote: >> From: Limin Wang >> >> How to tested it, please try with the following command: >> ./ffmpeg -f lavfi -i >> "smptebars=duration=5:size=1280x720:rate=30,freezedetect=d=1:discard=0" >> -f >> null - >> frame= 150

Re: [FFmpeg-devel] [PATCH] doc/examples/decode_audio: read the audio data from data[0]

2019-10-08 Thread Hendrik Leppkes
On Tue, Oct 8, 2019 at 10:44 AM Steven Liu wrote: > > only frame linesize[0] can get length size, > i have tested before patch like this: > ffmpeg -i /Users/liuqi/input.mp3 -codec:a ac3 -ac 5 a.ac3 > ./doc/examples/decode_audio a.ac3 a.pcm > ffplay -f f32le -ac 5 -ar 44100 a.pcm > there have

[FFmpeg-devel] [PATCH v3 3/4] avfilter/vf_minterpolate: if metadata lavfi.scd.mafd exists, we'll use it first

2019-10-08 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_minterpolate.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_minterpolate.c b/libavfilter/vf_minterpolate.c index b0bb238ade..db3d7d4ca3 100644 ---

[FFmpeg-devel] [PATCH v3 4/4] fate: add scenechangedetect metadata test

2019-10-08 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 6 ++ tests/ref/fate/filter-metadata-scenechangedetect | 11 +++ 2 files changed, 17 insertions(+) create mode 100644 tests/ref/fate/filter-metadata-scenechangedetect diff --git

Re: [FFmpeg-devel] [PATCH 01/13] avformat/mux: Move packet references

2019-10-08 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Andreas Rheinhardt: >> In the common case that the input packet was already refcounted, >> ff_interleave_add_packet would allocate a new AVPacketList, use >> av_packet_ref to create a new reference to the buffer for the >> AVPacketList's packet, interleave the packet and

[FFmpeg-devel] [PATCH 4/8] avfilter/af_anlms: switch to ff_filter_process_command()

2019-10-08 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/af_anlms.c | 27 ++- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/libavfilter/af_anlms.c b/libavfilter/af_anlms.c index 75bd969a83..b618e2367d 100644 --- a/libavfilter/af_anlms.c +++ b/libavfilter/af_anlms.c @@

Re: [FFmpeg-devel] [PATCH v4 1/4] avfilter/vf_scdet: add filter to detect scene change

2019-10-08 Thread Paul B Mahol
On 10/8/19, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Reviewed-by: Paul B Mahol > Signed-off-by: Limin Wang > --- > configure| 1 + > doc/filters.texi | 35 +++ > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + >

Re: [FFmpeg-devel] [PATCH v4 4/4] fate: add scdetect metadata test

2019-10-08 Thread Paul B Mahol
On 10/8/19, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Reviewed-by: Paul B Mahol > Signed-off-by: Limin Wang > --- > tests/fate/filter-video.mak | 6 ++ > tests/ref/fate/filter-metadata-scdet | 11 +++ > 2 files changed, 17 insertions(+) > create mode 100644

Re: [FFmpeg-devel] [PATCH v5 1/3] hevc_mp4toannexb: Insert correct parameter sets before IRAP

2019-10-08 Thread Andreas Rheinhardt
Andriy Gelman: > From: Andriy Gelman > > Fixes #7799 > > Currently, the mp4toannexb filter always inserts the same extradata at > the start of the first IRAP unit. As in ticket #7799, this can lead to > decoding errors if modified parameter sets are signalled in-band. > > This commit keeps

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/flac_parser: do not over-decrement nb_headers_buffered

2019-10-08 Thread Michael Niedermayer
On Thu, Sep 19, 2019 at 09:37:38PM +0200, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: > 15400/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FLAC_fuzzer-5669509794365440 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg >

[FFmpeg-devel] [PATCH v4 4/4] fate: add scdetect metadata test

2019-10-08 Thread lance . lmwang
From: Limin Wang Reviewed-by: Paul B Mahol Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 6 ++ tests/ref/fate/filter-metadata-scdet | 11 +++ 2 files changed, 17 insertions(+) create mode 100644 tests/ref/fate/filter-metadata-scdet diff --git

[FFmpeg-devel] [PATCH v4 3/4] avfilter/vf_minterpolate: if metadata lavfi.scd.mafd exists, we'll use it first

2019-10-08 Thread lance . lmwang
From: Limin Wang Reviewed-by: Paul B Mahol Signed-off-by: Limin Wang --- libavfilter/vf_minterpolate.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_minterpolate.c b/libavfilter/vf_minterpolate.c index b0bb238ade..db3d7d4ca3 100644 ---

[FFmpeg-devel] [PATCH v4 1/4] avfilter/vf_scdet: add filter to detect scene change

2019-10-08 Thread lance . lmwang
From: Limin Wang Reviewed-by: Paul B Mahol Signed-off-by: Limin Wang --- configure| 1 + doc/filters.texi | 35 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_scdet.c | 220 +++ 5

[FFmpeg-devel] [PATCH v4 2/4] avfilter/vf_framerate: if metadata lavfi.scd.mafd exists, we'll use it first

2019-10-08 Thread lance . lmwang
From: Limin Wang Reviewed-by: Paul B Mahol Signed-off-by: Limin Wang --- libavfilter/vf_framerate.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_framerate.c b/libavfilter/vf_framerate.c index 6c8d01c94b..8d16998457 100644 ---

[FFmpeg-devel] [PATCH 3/8] avutil/opt: print command flag too

2019-10-08 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavutil/opt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/opt.c b/libavutil/opt.c index 7c2649725f..5bc70f7ffc 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -1217,6 +1217,7 @@ static void opt_list(void *obj, void *av_log_obj, const

[FFmpeg-devel] [PATCH 2/8] avfilter/avfilter: add ff_filter_process_command()

2019-10-08 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/avfilter.c | 13 + libavfilter/internal.h | 7 +++ 2 files changed, 20 insertions(+) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 93e866b79c..4d462d4e0a 100644 --- a/libavfilter/avfilter.c +++

[FFmpeg-devel] [PATCH 7/8] avfilter/af_anlmdn: switch to ff_filter_process_command()

2019-10-08 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/af_anlmdn.c | 36 +++- 1 file changed, 7 insertions(+), 29 deletions(-) diff --git a/libavfilter/af_anlmdn.c b/libavfilter/af_anlmdn.c index b5bc94b4eb..8125005114 100644 --- a/libavfilter/af_anlmdn.c +++

[FFmpeg-devel] [PATCH 6/8] avfilter/vf_avgblur: switch to ff_filter_process_command()

2019-10-08 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_avgblur.c | 20 ++-- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/libavfilter/vf_avgblur.c b/libavfilter/vf_avgblur.c index a1f6c9b80e..0857d11878 100644 --- a/libavfilter/vf_avgblur.c +++ b/libavfilter/vf_avgblur.c

[FFmpeg-devel] [PATCH 1/8] avutil/opt: add AV_OPT_FLAG_COMMAND_PARAM flag

2019-10-08 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavutil/opt.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/opt.h b/libavutil/opt.h index 39f4a8dda0..693a170bcc 100644 --- a/libavutil/opt.h +++ b/libavutil/opt.h @@ -288,6 +288,7 @@ typedef struct AVOption { */ #define AV_OPT_FLAG_READONLY

[FFmpeg-devel] [PATCH 8/8] avfilter/vf_scroll: add support for commands

2019-10-08 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_scroll.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_scroll.c b/libavfilter/vf_scroll.c index 32b36d5631..f233976c53 100644 --- a/libavfilter/vf_scroll.c +++ b/libavfilter/vf_scroll.c @@ -155,12

[FFmpeg-devel] [PATCH 5/8] avfilter/vf_gblur: switch to ff_filter_process_command()

2019-10-08 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_gblur.c | 20 ++-- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/libavfilter/vf_gblur.c b/libavfilter/vf_gblur.c index 6ef261478f..6a4e7d6936 100644 --- a/libavfilter/vf_gblur.c +++ b/libavfilter/vf_gblur.c @@ -35,7

Re: [FFmpeg-devel] [PATCH v3 02/18] cbs: Ensure that reference fields always follow the associated pointer

2019-10-08 Thread Andreas Rheinhardt
Mark Thompson: > Hvaing these together allows us to find both pointers given the address > of only one of them. > --- > libavcodec/cbs_av1.h | 6 +++--- > libavcodec/cbs_h264.h | 18 +- > libavcodec/cbs_h265.h | 16 > libavcodec/cbs_jpeg.h | 2 +- >

Re: [FFmpeg-devel] [PATCH] avcodec/zmbv: Simplify assigning decode_intra function pointer

2019-10-08 Thread Tomas Härdin
mån 2019-10-07 klockan 16:42 + skrev Andreas Rheinhardt: > Tomas Härdin: > > mån 2019-10-07 klockan 02:57 +0200 skrev Andreas Rheinhardt: > > > zmbv has only one function for decoding intra frames, namely > > > decode_intra. This can be used to simplify the process of choosing the > > > right

Re: [FFmpeg-devel] [PATCH v3 2/3] avformat/mpjpegdec: fix strict boundary search string

2019-10-08 Thread Moritz Barsnick
On Tue, Oct 08, 2019 at 11:32:09 +0200, Michael Niedermayer wrote: > > A side effect is that this coincidentally breaks enforcement of > > strict MIME headers against servers running motion < 3.4.1, where > > the boundary announcement in the HTTP headers incorrectly used the > > prefix "--", which

Re: [FFmpeg-devel] [PATCH v1 2/6] avfilter/af_silencedetect: document metadata

2019-10-08 Thread Limin Wang
On Tue, Oct 08, 2019 at 02:21:06PM +0200, Moritz Barsnick wrote: > On Mon, Oct 07, 2019 at 22:23:21 +0800, Limin Wang wrote: > > On Tue, Oct 01, 2019 at 09:40:45AM +0200, Moritz Barsnick wrote: > > > On Mon, Sep 30, 2019 at 21:36:43 +0800, lance.lmw...@gmail.com wrote: > > > > -The printed times

Re: [FFmpeg-devel] [PATCH 5/5] avcodec/fitsdec: Fail on 0 naxisn

2019-10-08 Thread Paul B Mahol
lgtm On 9/30/19, Michael Niedermayer wrote: > Fixes: Timeout (100+ sec -> 23ms) > Fixes: > 17769/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FITS_fuzzer-5678314672357376 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg >

Re: [FFmpeg-devel] [PATCH v3 3/3] avfilter/af_silencedetect: change mono default to 0 for bool

2019-10-08 Thread Paul B Mahol
I see nothing changed, it is already 0. On 10/8/19, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavfilter/af_silencedetect.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavfilter/af_silencedetect.c

Re: [FFmpeg-devel] [PATCH 3/5] avcodec/dstdec: Check for input exhaustion

2019-10-08 Thread Paul B Mahol
lgtm On 10/2/19, Michael Niedermayer wrote: > Fixes: Timeout (239sec -> 16sec) > Fixes: > 17811/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DST_fuzzer-5715508149616640 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by:

Re: [FFmpeg-devel] [PATCH 1/5] avcodec/scpr: Check minimum size of type 17

2019-10-08 Thread Paul B Mahol
lgtm On 9/26/19, Michael Niedermayer wrote: > Improves: Timeout (85sec -> 46sec) > Improves: > 17644/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5715704283660288 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg >

[FFmpeg-devel] [PATCH, v4] lavc/qsvdec: Add GPU-accelerated memory copy support

2019-10-08 Thread Linjie Fu
GPU copy enables or disables GPU accelerated copying between video and system memory. This may lead to a notable performance improvement. Memory must be sequent and aligned with 128x64. CMD: ffmpeg -init_hw_device qsv=hw -filter_hw_device hw -c:v h264_qsv -gpu_copy on -i

Re: [FFmpeg-devel] [FFmpeg-cvslog] avformat/hlsenc: replace with av_dirname to get the directory

2019-10-08 Thread Limin Wang
On Tue, Oct 08, 2019 at 02:47:57PM +0200, Michael Niedermayer wrote: > On Tue, Oct 08, 2019 at 06:24:22AM +, Limin Wang wrote: > > ffmpeg | branch: master | Limin Wang | Tue Sep 24 > > 19:24:00 2019 +0800| [28bb73cee77e209a6445d081e7ea577ede29c50f] | > > committer: Steven Liu > > > >

[FFmpeg-devel] [PATCH] avfilter/avf_showwaves: make output frame rate actually follow user supplied value

2019-10-08 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/avf_showwaves.c | 77 - 1 file changed, 58 insertions(+), 19 deletions(-) diff --git a/libavfilter/avf_showwaves.c b/libavfilter/avf_showwaves.c index afe05fb504..532a75b684 100644 --- a/libavfilter/avf_showwaves.c

Re: [FFmpeg-devel] [PATCH V2] lavfi/hqdn3d: add slice thread optimization

2019-10-08 Thread Paul B Mahol
On 10/8/19, Jun Zhao wrote: > From: Jun Zhao > > Enabled one thread per planar, used the test command for 1080P video > (YUV420P format) as follow: > > ffmpeg -i 1080p.mp4 -an -vf hqdn3d -f null /dev/nul > > This optimization improved the performance about 30% in 1080P YUV420P > case (from

Re: [FFmpeg-devel] [PATCH] avcodec/exr: Allow duplicate use of channel indexes

2019-10-08 Thread Paul B Mahol
Why are you not gonna apply this patch? Fix code you break! On 9/26/19, Michael Niedermayer wrote: > Fixes: Ticket #8203 > > Reported-by: durandal_1707 > Signed-off-by: Michael Niedermayer > --- > libavcodec/exr.c | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff --git

Re: [FFmpeg-devel] [PATCH] avfilter/formats: remove unnecessary unreference

2019-10-08 Thread Paul B Mahol
applied On 9/30/19, quinkbl...@foxmail.com wrote: > From: Zhao Zhili > > --- > libavfilter/formats.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/libavfilter/formats.c b/libavfilter/formats.c > index 31ee445c49..15c3adf80b 100644 > --- a/libavfilter/formats.c > +++

[FFmpeg-devel] [PATCH V2] lavfi/hqdn3d: add slice thread optimization

2019-10-08 Thread Jun Zhao
From: Jun Zhao Enabled one thread per planar, used the test command for 1080P video (YUV420P format) as follow: ffmpeg -i 1080p.mp4 -an -vf hqdn3d -f null /dev/nul This optimization improved the performance about 30% in 1080P YUV420P case (from 110fps to 143fps), also pass the framemd5 check

[FFmpeg-devel] [PATCH v1] avformat/hlsenc: fix the av_dirname path isn't include / in the end of string

2019-10-08 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index cd43201..ad27d7d 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -544,7 +544,7 @@

[FFmpeg-devel] [PATCH v3 2/3] avfilter/af_silencedetect: use AV_OPT_TYPE_DURATION

2019-10-08 Thread lance . lmwang
From: Limin Wang Reviewed-by: Moritz Barsnick Signed-off-by: Limin Wang --- doc/filters.texi | 4 +++- libavfilter/af_silencedetect.c | 10 ++ tests/fate/filter-video.mak| 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/doc/filters.texi

[FFmpeg-devel] [PATCH v3 1/3] avfilter/af_silencedetect: document metadata

2019-10-08 Thread lance . lmwang
From: Limin Wang Reviewed-by: Moritz Barsnick Signed-off-by: Limin Wang --- doc/filters.texi | 11 ++- libavfilter/af_silencedetect.c | 1 - 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index c975777..9bd63de 100644

[FFmpeg-devel] [PATCH v3 3/3] avfilter/af_silencedetect: change mono default to 0 for bool

2019-10-08 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/af_silencedetect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/af_silencedetect.c b/libavfilter/af_silencedetect.c index 3eb378d..ff3b219 100644 --- a/libavfilter/af_silencedetect.c +++

[FFmpeg-devel] [PATCH v4 1/4] avfilter/vf_scdet: add filter to detect scene change

2019-10-08 Thread lance . lmwang
From: Limin Wang Reviewed-by: Paul B Mahol Signed-off-by: Limin Wang --- configure| 1 + doc/filters.texi | 35 libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_scdet.c | 224

[FFmpeg-devel] [PATCH v4 2/4] avfilter/vf_framerate: if metadata lavfi.scd.mafd exists, we'll use it first

2019-10-08 Thread lance . lmwang
From: Limin Wang Reviewed-by: Paul B Mahol Signed-off-by: Limin Wang --- libavfilter/vf_framerate.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_framerate.c b/libavfilter/vf_framerate.c index 6c8d01c..8d16998 100644 ---

[FFmpeg-devel] [PATCH v4 4/4] fate: add scdet metadata test

2019-10-08 Thread lance . lmwang
From: Limin Wang Reviewed-by: Paul B Mahol Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 6 ++ tests/ref/fate/filter-metadata-scdet | 11 +++ 2 files changed, 17 insertions(+) create mode 100644 tests/ref/fate/filter-metadata-scdet diff --git

[FFmpeg-devel] [PATCH v4 3/4] avfilter/vf_minterpolate: if metadata lavfi.scd.mafd exists, we'll use it first

2019-10-08 Thread lance . lmwang
From: Limin Wang Reviewed-by: Paul B Mahol Signed-off-by: Limin Wang --- libavfilter/vf_minterpolate.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_minterpolate.c b/libavfilter/vf_minterpolate.c index b0bb238..db3d7d4 100644 ---

Re: [FFmpeg-devel] [FFmpeg-cvslog] avformat/hlsenc: replace with av_dirname to get the directory

2019-10-08 Thread Limin Wang
On Tue, Oct 08, 2019 at 02:47:57PM +0200, Michael Niedermayer wrote: > On Tue, Oct 08, 2019 at 06:24:22AM +, Limin Wang wrote: > > ffmpeg | branch: master | Limin Wang | Tue Sep 24 > > 19:24:00 2019 +0800| [28bb73cee77e209a6445d081e7ea577ede29c50f] | > > committer: Steven Liu > > > >

Re: [FFmpeg-devel] [PATCH 5/5] avcodec/dstdec: Use get_ur_golomb_jpegls()

2019-10-08 Thread Paul B Mahol
How are you sure this is still correctly decoding samples? On 10/1/19, Michael Niedermayer wrote: > Fixes: shift exponent -4 is negative > Fixes: > 17793/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DST_fuzzer-5766088435957760 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [LDP] FFmpeg at LinuxDays 2019 in Prague

2019-10-08 Thread Thilo Borgmann
Hi, > FFmpeg has been accepted again for a booth at the LinuxDays 2019 in Prague, > Czech Republic from October 5th to 6th! > > Like last year, we hope to have a great conference with many users and fellow > open-source projects attending! Find detailed information here: > >

Re: [FFmpeg-devel] [PATCH v1] avformat/tee.c: steal bsf option before passing to fifo muxer

2019-10-08 Thread Dennis Mungai
On Tue, 8 Oct 2019 at 08:53, Steven Liu wrote: > > > > > 在 2019年10月8日,05:54,Dennis Mungai 写道: > > > > On Mon, 7 Oct 2019 at 08:26, Liu Steven wrote: > >> > >> > >> > >>> 在 2019年10月6日,上午11:37,Jun Li 写道: > >>> > >>> Fix #7620 > >>> In the case tee muxer with both "bsf" and "use_fifo" parameters

[FFmpeg-devel] [PATCH v2] avformat/hlsenc: fix the av_dirname path isn't include separator in the end of string

2019-10-08 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index cd4320114d..74f5e08729 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@

Re: [FFmpeg-devel] [PATCH] lavc/qsv: remove vaapi device free function

2019-10-08 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel On Behalf Of > Zhong Li > Sent: Tuesday, October 8, 2019 12:55 > To: ffmpeg-devel@ffmpeg.org > Cc: Li, Zhong > Subject: [FFmpeg-devel] [PATCH] lavc/qsv: remove vaapi device free > function > > It is not needed since av_buffer_unref() will call

Re: [FFmpeg-devel] [PATCH V2] lavfi/hqdn3d: add slice thread optimization

2019-10-08 Thread myp...@gmail.com
On Tue, Oct 8, 2019 at 10:57 PM Paul B Mahol wrote: > > On 10/8/19, Jun Zhao wrote: > > From: Jun Zhao > > > > Enabled one thread per planar, used the test command for 1080P video > > (YUV420P format) as follow: > > > > ffmpeg -i 1080p.mp4 -an -vf hqdn3d -f null /dev/nul > > > > This

Re: [FFmpeg-devel] [PATCH, v4] lavc/qsvdec: Add GPU-accelerated memory copy support

2019-10-08 Thread Li, Zhong
> From: ffmpeg-devel On Behalf Of Linjie Fu > Sent: Tuesday, October 8, 2019 9:41 PM > To: ffmpeg-devel@ffmpeg.org > Cc: ChaoX A Liu ; Fu, Linjie > Subject: [FFmpeg-devel] [PATCH, v4] lavc/qsvdec: Add GPU-accelerated memory > copy support > > GPU copy enables or disables GPU accelerated copying

Re: [FFmpeg-devel] [PATCH] lavc/qsv: remove vaapi device free function

2019-10-08 Thread Li, Zhong
> From: Fu, Linjie > Sent: Wednesday, October 9, 2019 10:49 AM > To: FFmpeg development discussions and patches > Cc: Li, Zhong > Subject: RE: [FFmpeg-devel] [PATCH] lavc/qsv: remove vaapi device free > function > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Zhong

Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: fix the av_dirname path isn't include separator in the end of string

2019-10-08 Thread Steven Liu
> 在 2019年10月9日,09:37,lance.lmw...@gmail.com 写道: > > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavformat/hlsenc.c | 16 ++-- > 1 file changed, 10 insertions(+), 6 deletions(-) > > diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c > index

Re: [FFmpeg-devel] [PATCH v1 2/6] avfilter/af_silencedetect: document metadata

2019-10-08 Thread Moritz Barsnick
On Mon, Oct 07, 2019 at 22:23:21 +0800, Limin Wang wrote: > On Tue, Oct 01, 2019 at 09:40:45AM +0200, Moritz Barsnick wrote: > > On Mon, Sep 30, 2019 at 21:36:43 +0800, lance.lmw...@gmail.com wrote: > > > -The printed times and duration are expressed in seconds. > > > +The printed times and

Re: [FFmpeg-devel] [FFmpeg-cvslog] avformat/hlsenc: replace with av_dirname to get the directory

2019-10-08 Thread Michael Niedermayer
On Tue, Oct 08, 2019 at 06:24:22AM +, Limin Wang wrote: > ffmpeg | branch: master | Limin Wang | Tue Sep 24 > 19:24:00 2019 +0800| [28bb73cee77e209a6445d081e7ea577ede29c50f] | committer: > Steven Liu > > avformat/hlsenc: replace with av_dirname to get the directory > > Signed-off-by:

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/flac_parser: Make expected_frame_num, expected_sample_num 64bit

2019-10-08 Thread Michael Niedermayer
On Thu, Sep 19, 2019 at 09:37:39PM +0200, Michael Niedermayer wrote: > Fixes: Integer overflow > Fixes: > 17199/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FLAC_fuzzer-5696145187143680 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/jpeglsdec: Apply transform only to initialized lines

2019-10-08 Thread Michael Niedermayer
On Thu, Sep 19, 2019 at 09:37:41PM +0200, Michael Niedermayer wrote: > Fixes: Timeout (110sec -> 1sec) > Fixes: > 17123/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AMV_fuzzer-5636452758585344 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH 3/4] avcodec/jpeglsdec: Return error codes from ls_decode_line()

2019-10-08 Thread Michael Niedermayer
On Thu, Sep 19, 2019 at 09:37:40PM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/jpeglsdec.c | 26 ++ > 1 file changed, 18 insertions(+), 8 deletions(-) will apply [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH 1/5] avformat/mpsubdec: Clear queue on error

2019-10-08 Thread Michael Niedermayer
On Sat, Sep 21, 2019 at 06:57:24PM +0200, Michael Niedermayer wrote: > Fixes: Memleaks > Fixes: > 17219/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5720539124989952 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg >

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/truemotion1: Check that the input has enough space for a minimal index_stream

2019-10-08 Thread Michael Niedermayer
On Tue, Sep 24, 2019 at 01:43:35AM +0200, Michael Niedermayer wrote: > Fixes: Timeout (18sec -> 0.4sec) > Fixes: > 17585/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEMOTION1_fuzzer-5117015135617024 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/ituh263dec: Check input for minimal frame size

2019-10-08 Thread Michael Niedermayer
On Tue, Sep 24, 2019 at 01:43:36AM +0200, Michael Niedermayer wrote: > Fixes: Timeout (28sec -> 3sec) > Fixes: > 17559/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H263_fuzzer-5681050776240128 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/dxv: Remove redundant seek

2019-10-08 Thread Michael Niedermayer
On Tue, Sep 24, 2019 at 01:47:44PM +0200, Michael Niedermayer wrote: > This seeks to the position the previous call to dxv_decompress_opcodes() > positioned us in case of success > > Signed-off-by: Michael Niedermayer > --- > libavcodec/dxv.c | 1 - > 1 file changed, 1 deletion(-) will apply