Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg: check sseof value and clash with ss

2018-06-28 Thread Gyan Doshi
On 29-06-2018 01:58 AM, Morten With wrote: av_log(NULL, AV_LOG_WARNING, "-sseof value seeks to before start of file %s; ignored\n", filename); should be an AV_LOG_ERROR and an exit_program(1) afterwards. The warning is very high up and on a file with lots of info you will probably miss it

Re: [FFmpeg-devel] [PATCH] libavformat/yuv4mpeg: Add color range support for Y4M Add color_range support in Y4M. Also set pixel format and color_range for YUVJ pixel formats.

2018-06-28 Thread Michael Niedermayer
On Thu, Jun 28, 2018 at 04:28:24PM +0800, Wang Cao wrote: > > > > If this is a type we are choosing then it would be probably better > > to use something else than mpeg/jpeg as names > > these are 2 standard comittees and their standards support more than > > one color range. > > maybe "full" and

Re: [FFmpeg-devel] [PATCH] avcodec/vc1: fix check for missing CBPTAB

2018-06-28 Thread Carl Eugen Hoyos
2018-06-20 15:17 GMT+02:00, Jerome Borsboom : > CBPTAB must be present in (non skipped) P and B pictures. > > Signed-off-by: Jerome Borsboom > --- > This patch set should fix decoding of the SA10135.vc1 test file to make it > bit-equal to the reference decoder. Patch applied. Carl Eugen

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/vc1: fix condition guarding overlap filter on I picture

2018-06-28 Thread Carl Eugen Hoyos
2018-06-20 13:10 GMT+02:00, Jerome Borsboom : > The overlap filter needs to run when PQUANT is 9 or higher, irrespective > of CONDOVER. > > Signed-off-by: Jerome Borsboom > --- > This patch set should fix decoding of the SA10125.vc1 test file to make it > bit-equal to the reference decoder.

[FFmpeg-devel] [PATCH] avcodec/vc1_block: Fix mqaunt check for negative values

2018-06-28 Thread Michael Niedermayer
Fixes: out of array access Fixes: ffmpeg_bof_4.avi Fixes: ffmpeg_bof_5.avi Fixes: ffmpeg_bof_6.avi Found-by: Thuan Pham, Marcel Böhme, Andrew Santosa and Alexandru Razvan Caciulescu with AFLSmart Signed-off-by: Michael Niedermayer --- libavcodec/vc1_block.c | 2 +- 1 file changed, 1

Re: [FFmpeg-devel] [PATCH] avformat/apngdec: set pts to AV_NOPTS_VALUE

2018-06-28 Thread Paul B Mahol
On 6/28/18, Marton Balint wrote: > And let the generic code figure out the proper PTS. This is needed because > apng > does not provide seek functions, but after a generic seek (e.g. to file > start) > timestamps are not reset which causes broken timestamps when looping apngs, > like in ticket

[FFmpeg-devel] [PATCH] avformat/apngdec: set pts to AV_NOPTS_VALUE

2018-06-28 Thread Marton Balint
And let the generic code figure out the proper PTS. This is needed because apng does not provide seek functions, but after a generic seek (e.g. to file start) timestamps are not reset which causes broken timestamps when looping apngs, like in ticket #6121. Signed-off-by: Marton Balint ---

Re: [FFmpeg-devel] [PATCH] h264_slice: Fix return of incomplete frames from decoder

2018-06-28 Thread Michael Niedermayer
On Wed, Jun 27, 2018 at 03:12:24PM -0700, John Stebbins wrote: > When not using libavformat for demuxing, AVCodecContext.has_b_frames > gets set too late causing the recovery frame heuristic in h264_refs to > incorrectly flag an early frame as recovered. > > This patch sets has_b_frames earlier

Re: [FFmpeg-devel] [PATCH 4/8] avformat/movenc: Check that frame_types other than EAC3_FRAME_TYPE_INDEPENDENT have a supported substream id

2018-06-28 Thread Michael Niedermayer
On Wed, Jun 27, 2018 at 08:11:17PM +0200, Michael Niedermayer wrote: > Fixes: out of array access > Fixes: ffmpeg_bof_1.avi > > Found-by: Thuan Pham, Marcel Böhme, Andrew Santosa and Alexandru Razvan > Caciulescu with AFLSmart > Signed-off-by: Michael Niedermayer > --- > libavformat/movenc.c |

Re: [FFmpeg-devel] [PATCH 5/8] avcodec/ac3_parser: Check init_get_bits8() for failure

2018-06-28 Thread Michael Niedermayer
On Wed, Jun 27, 2018 at 08:36:42PM +0200, Paul B Mahol wrote: > On 6/27/18, Michael Niedermayer wrote: > > Fixes: null pointer dereference > > Fixes: ffmpeg_crash_6.avi > > > > Found-by: Thuan Pham, Marcel Boehme, Andrew Santosa and Alexandru Razvan > > Caciulescu with AFLSmart > > Signed-off-by:

Re: [FFmpeg-devel] [PATCH 7/8] avcodec/mpeg4videodec: Check read profile before setting it

2018-06-28 Thread Michael Niedermayer
On Wed, Jun 27, 2018 at 08:11:20PM +0200, Michael Niedermayer wrote: > Fixes: null pointer dereference > Fixes: ffmpeg_crash_7.avi > > Found-by: Thuan Pham, Marcel Böhme, Andrew Santosa and Alexandru Razvan > Caciulescu with AFLSmart > Signed-off-by: Michael Niedermayer > --- >

Re: [FFmpeg-devel] [PATCH 8/8] tools/target_dec_fuzzer: Also optionally fuzz with a parser

2018-06-28 Thread Michael Niedermayer
On Wed, Jun 27, 2018 at 08:11:21PM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > tools/target_dec_fuzzer.c | 42 ++- > 1 file changed, 37 insertions(+), 5 deletions(-) will apply [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH 3/8] avcodec/dpx: Check elements in 12bps planar path

2018-06-28 Thread Michael Niedermayer
On Thu, Jun 28, 2018 at 12:56:29AM +0200, Carl Eugen Hoyos wrote: > 2018-06-27 20:11 GMT+02:00, Michael Niedermayer : > > Fixes: null pointer dereference > > Fixes: > > 8946/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DPX_fuzzer-5078915222601728 > > > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH] lavfi: add sobel, prewitt, roberts filters

2018-06-28 Thread Mark Thompson
On 25/06/18 01:23, Danil Iashchenko wrote: > Add opencl version of sobel, prewitt, roberts filters. > --- > configure | 3 + > libavfilter/Makefile| 8 +- > libavfilter/allfilters.c| 3 + > libavfilter/opencl/convolution.cl | 82

Re: [FFmpeg-devel] [PATCH v2 4/4] hwcontext_opencl: remove an unused variable

2018-06-28 Thread Mark Thompson
On 21/06/18 12:45, Jun Zhao wrote: > remove an unused variable > > Signed-off-by: Jun Zhao > --- > libavutil/hwcontext_opencl.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/libavutil/hwcontext_opencl.c b/libavutil/hwcontext_opencl.c > index 295d6be..4718a86 100644 > ---

Re: [FFmpeg-devel] [PATCH v2 1/4] configure: fix check for opencl_vaapi_intel_media.

2018-06-28 Thread Mark Thompson
On 21/06/18 12:45, Jun Zhao wrote: > opencl_vaapi_intel_media doesn't depend on libmfx, OpenCL™ Drivers > and Runtimes for Intel® Architectureis is a standalone release, more > information can be found in the link: > https://software.intel.com/en-us/articles/opencl-drivers. > > Signed-off-by: Jun

Re: [FFmpeg-devel] [PATCH v2 3/4] hwcontext_opencl: Remove the opencl_device_init in opencl_device_derive

2018-06-28 Thread Mark Thompson
On 21/06/18 12:45, Jun Zhao wrote: > In opencl device derived case, don't need to call opencl_device_init. > > Signed-off-by: Jun Zhao > --- > libavutil/hwcontext_opencl.c | 7 ++- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/libavutil/hwcontext_opencl.c

Re: [FFmpeg-devel] [PATCH v2 2/4] hwcontext_opencl: dump the device name when can't match device type.

2018-06-28 Thread Mark Thompson
On 21/06/18 12:45, Jun Zhao wrote: > afther the change, we can get more detail debug message like: > "Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz" does not match device type "gpu". > > Signed-off-by: Jun Zhao > --- > libavutil/hwcontext_opencl.c | 3 ++- > 1 file changed, 2 insertions(+), 1

Re: [FFmpeg-devel] [PATCH] lavfi/colorspace: Add namespace prefix to global functions

2018-06-28 Thread Mark Thompson
On 26/06/18 01:50, Song, Ruiling wrote: >> -Original Message- >> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of >> Mark Thompson >> Sent: Tuesday, June 26, 2018 5:02 AM >> To: ffmpeg-devel@ffmpeg.org >> Subject: [FFmpeg-devel] [PATCH] lavfi/colorspace: Add

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg: add option to hide vsync warnings

2018-06-28 Thread Gyan Doshi
On 28-06-2018 02:13 PM, Gyan Doshi wrote: Alt patch attached. Plan to push tonight. Pushed in 07987404a8b7346e1904501b88320c9bab353298. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: fix -stream_loop with multiple inputs

2018-06-28 Thread Moritz Barsnick
On Wed, Jun 27, 2018 at 23:05:23 +0200, Marton Balint wrote: > The input thread need to be properly cleaned up and re-initalized before we > can ^ "threads need" or "thread needs" > start reading again in threaded mode. (threaded input reading is used when

[FFmpeg-devel] [PATCH] Refactor two near-identical clauses - take 2

2018-06-28 Thread Shlomi Fish
Hi all! Attached is the 2nd take of the patch for vf_weave.c. Please review. -- - Shlomi Fish http://www.shlomifish.org/ Freecell Solver - http://fc-solve.shlomifish.org/ Chuck Norris once counted all the real numbers on his

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg: add option to hide vsync warnings

2018-06-28 Thread Gyan Doshi
Alt patch attached. Plan to push tonight. From 07987404a8b7346e1904501b88320c9bab353298 Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Thu, 28 Jun 2018 14:05:31 +0530 Subject: [PATCH] ffmpeg: make loglevel verbose for frame duration warning --- fftools/ffmpeg.c | 2 +- 1 file changed, 1

Re: [FFmpeg-devel] [PATCH] ffmpeg.c: allow ffmpeg to output stats for each video stream

2018-06-28 Thread Wang Cao
Friendly ping. Thanks! ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] (no subject)

2018-06-28 Thread Wang Cao
I created a newer version to change "MPEG" to "LIMITED" and "JPEG" to "FULL". ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH] libavformat/yuv4mpeg: Add color range support for Y4M Add color_range support in Y4M.

2018-06-28 Thread Wang Cao
Set pixel format and color_range for YUVJ pixel formats. Also set color_range based on AVFormatContext. Signed-off-by: Wang Cao --- libavformat/yuv4mpegdec.c | 8 libavformat/yuv4mpegenc.c | 37 +++-- 2 files changed, 43 insertions(+), 2 deletions(-)

Re: [FFmpeg-devel] [PATCH] libavformat/yuv4mpeg: Add color range support for Y4M Add color_range support in Y4M. Also set pixel format and color_range for YUVJ pixel formats.

2018-06-28 Thread Wang Cao
> > If this is a type we are choosing then it would be probably better > to use something else than mpeg/jpeg as names > these are 2 standard comittees and their standards support more than > one color range. > maybe "full" and "limited" or some other terms may be better Thanks for pointing out

Re: [FFmpeg-devel] Fw: [PATCH] Refactor two near-identical clauses.

2018-06-28 Thread Shlomi Fish
Hi Michael! Thanks for your review. On Thu, 28 Jun 2018 02:38:51 +0200 Michael Niedermayer wrote: > On Sun, Jun 17, 2018 at 03:40:19PM +0300, Shlomi Fish wrote: > > On Sun, 17 Jun 2018 03:05:27 +0200 > > Michael Niedermayer wrote: > > > > > On Tue, Jun 12, 2018 at 12:53:20PM +0300, Shlomi