[FFmpeg-devel] [PATCH] Fix signed integer overflows

2017-08-17 Thread Vitaly Buka
Signed integer overflow is undefined behavior. Detected with clang and -fsanitize=signed-integer-overflow Signed-off-by: Vitaly Buka --- libavcodec/utils.c| 2 +- libavformat/aviobuf.c | 4 +++- libavformat/mov.c | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/liba

[FFmpeg-devel] [PATCH V3 3/4] lavc/vaapi_encode_h264: respect "slices" option in h264 vaapi encoder

2017-08-17 Thread Jun Zhao
From 64c53df3134c0b478d212f141e6dbe4c3743b3c6 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Tue, 1 Aug 2017 23:05:44 -0400 Subject: [PATCH V3 3/4] lavc/vaapi_encode_h264: respect "slices" option in h264 vaapi encoder Enable multi-slice support in AVC/H.264 vaapi encoder. Signed-off-by: Wang, Yi

[FFmpeg-devel] [PATCH V3 4/4] lavc/vaapi_encode_h265: respect "slices" option in h265 vaapi encoder

2017-08-17 Thread Jun Zhao
From 183ee30f5d9c1d4bb33ddbb0f0a8dcc952e3572e Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Tue, 1 Aug 2017 23:07:34 -0400 Subject: [PATCH V3 4/4] lavc/vaapi_encode_h265: respect "slices" option in h265 vaapi encoder Enable multi-slice support in AVC/H.265 vaapi encoder. Signed-off-by: Wang, Yi

[FFmpeg-devel] [PATCH V3 2/4] lavc/vaapi_encode: Add max slices number query.

2017-08-17 Thread Jun Zhao
From 23201c7288b07fc117279a2efca7372158564730 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Tue, 1 Aug 2017 04:16:30 -0400 Subject: [PATCH V3 2/4] lavc/vaapi_encode: Add max slices number query. Add max slices number query. Signed-off-by: Jun Zhao --- libavcodec/vaapi_encode.c | 4 libavc

[FFmpeg-devel] [PATCH V3 1/4] lavc/vaapi_encode: Change the slice/parameter buffers to dynamic alloc.

2017-08-17 Thread Jun Zhao
V3: - Making pic->slices be VAAPIEncodeSlice* instead of VAAPIEncodeSlice**. - Fix resource (vaBuffer) lead when realloc pic->param_buffers fail. - Adjust max_slices location in VAAPIEncodeContext. - Re-work distributing the macro-blocks for multi-slices function. V2: Change the sli

Re: [FFmpeg-devel] lavc/vaapi_encode_h265: respect "slices" option in h265 vaapi encoder

2017-08-17 Thread Jun Zhao
On 2017/8/10 6:14, Mark Thompson wrote: > On 02/08/17 06:57, Jun Zhao wrote: >> From 82eb7d1c3120081a7073cfb379802a28c769ae18 Mon Sep 17 00:00:00 2001 >> From: Jun Zhao >> Date: Tue, 1 Aug 2017 23:07:34 -0400 >> Subject: [PATCH V2 4/4] lavc/vaapi_encode_h265: respect "slices" option in >> h265

Re: [FFmpeg-devel] [PATCH] libavformat/mov: Fix inserting frames before current_frame.

2017-08-17 Thread Michael Niedermayer
On Thu, Jul 27, 2017 at 10:34:32AM -0700, Jacob Trimble wrote: > When using streaming input, it may be possible to see frames that appear > before the current_frame. When these frames are inserted into the > index, the current_frame needs to be updated so it is still pointing > at the same frame.

Re: [FFmpeg-devel] [PATCH] ffprobe: fix use of uninitialized variable

2017-08-17 Thread Michael Niedermayer
On Thu, Aug 17, 2017 at 10:49:37AM +0800, Zhao Zhili wrote: > On Thu, Aug 17, 2017 at 3:24 AM, Michael Niedermayer > wrote: > > > On Wed, Aug 09, 2017 at 01:05:11PM +0800, Zhao Zhili wrote: > > > On Wed, Aug 9, 2017 at 1:23 AM, Michael Niedermayer > > > > > wrote: > > > > > > > On Sun, Aug 06, 2

Re: [FFmpeg-devel] [PATCH v3] libavformat/mov: fix multiple stsd handling of files with edit list, fix #6584

2017-08-17 Thread Michael Niedermayer
On Thu, Aug 17, 2017 at 12:59:11PM +0800, zhangjiejun1...@gmail.com wrote: > From: Jiejun Zhang > > When an edit list exists in a MOV file, counting by stscs no longer > works because stscs' order is different from the actual timeline. This > commit adds stsd-change markers to the actual timeline

Re: [FFmpeg-devel] [PATCH] libavfilter/af_ambisonic.c Added File for Ambisonic Filter

2017-08-17 Thread Michael Niedermayer
On Thu, Aug 17, 2017 at 02:57:05PM +0530, Sanchit Sinha wrote: > On Thu, Aug 17, 2017 at 7:31 AM, Michael Niedermayer > wrote: > > > On Thu, Aug 17, 2017 at 04:35:13AM +0530, Sanchit Sinha wrote: > > > On Thu, Aug 17, 2017 at 1:32 AM, Michael Niedermayer > > > > > wrote: > > > > > > > On Tue, Au

[FFmpeg-devel] [PATCH 2/3] avcodec/snowdec: Fix off by 1 error

2017-08-17 Thread Michael Niedermayer
Fixes: runtime error: index 4 out of bounds for type 'int8_t [4]' Fixes: 3023/clusterfuzz-testcase-minimized-6421736130084864 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/snowdec.c | 2 +- 1

[FFmpeg-devel] [PATCH 3/3] avcodec/cngdec: Check skip_samples

2017-08-17 Thread Michael Niedermayer
Without this its possible to make the new decode API decode billions of samples out of a empty input and never return to the caller before all samples have been created and discarded. Fixes: Timeout Fixes: 2992/clusterfuzz-testcase-6649611793989632 Signed-off-by: Michael Niedermayer --- libavco

[FFmpeg-devel] [PATCH 1/3] avcodec/fic: Fixes signed integer overflow

2017-08-17 Thread Michael Niedermayer
Fixes: runtime error: signed integer overflow: 1037142357 + 1227025305 cannot be represented in type 'int' Fixes: 3024/clusterfuzz-testcase-minimized-5885660323905536 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Nieder

Re: [FFmpeg-devel] [PATCH] libavformat/mov: Fix inserting frames before current_frame.

2017-08-17 Thread Jacob Trimble
On Mon, Aug 7, 2017 at 9:24 AM, Jacob Trimble wrote: > Ping > > On Thu, Jul 27, 2017 at 10:34 AM, Jacob Trimble wrote: >> When using streaming input, it may be possible to see frames that appear >> before the current_frame. When these frames are inserted into the >> index, the current_frame need

Re: [FFmpeg-devel] filters.texi: explain audio upsampling in loudnorm

2017-08-17 Thread Kyle Swanson
On Thu, Aug 17, 2017 at 1:27 PM, Lou Logan wrote: > On Wed, 16 Aug 2017 13:33:24 +0200 > Werner Robitza wrote: > >> From 35b49e497cac452c76ead8da4d618ab93216ad15 Mon Sep 17 00:00:00 2001 >> From: Werner Robitza >> Date: Wed, 16 Aug 2017 13:27:19 +0200 >> Subject: [PATCH] filters.texi: explain au

Re: [FFmpeg-devel] filters.texi: explain audio upsampling in loudnorm

2017-08-17 Thread Lou Logan
On Wed, 16 Aug 2017 13:33:24 +0200 Werner Robitza wrote: > From 35b49e497cac452c76ead8da4d618ab93216ad15 Mon Sep 17 00:00:00 2001 > From: Werner Robitza > Date: Wed, 16 Aug 2017 13:27:19 +0200 > Subject: [PATCH] filters.texi: explain audio upsampling in loudnorm > > Explain that audio will be u

Re: [FFmpeg-devel] [PATCH] avformat/utils: always av_reduce r_frame_rate

2017-08-17 Thread Marton Balint
On Thu, 17 Aug 2017, Michael Niedermayer wrote: On Thu, Aug 17, 2017 at 12:22:19AM +0200, Marton Balint wrote: Signed-off-by: Marton Balint --- libavformat/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) LGTM Thanks, appiled. Regards, Marton __

Re: [FFmpeg-devel] [PATCH 1/1] libavdevice/decklink: configurablity to set max queue size

2017-08-17 Thread Marton Balint
On Thu, 17 Aug 2017, Patagar, Ravindra wrote: Hi Marton, I have updated the patch as per your comments. Please find the updated patch attached. Thanks. Here are some more comments: From a55d4b9b2efe919aedc9b4984c100abdca2e41ec Mon Sep 17 00:00:00 2001 From: Ravindra Date: Thu, 10 Aug 201

Re: [FFmpeg-devel] [PATCH] avfilter: add pseudocolor filter

2017-08-17 Thread Paul B Mahol
Hi, better patch attached. 0001-avfilter-add-pseudocolor-filter.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] mp4: Support writing declarative SEis to hvcC

2017-08-17 Thread James Almer
On 8/17/2017 8:54 AM, Vittorio Giovara wrote: > Signed-off-by: Vittorio Giovara > --- > Right now only one SEI type is added, there could be more declarative > ones, but I'm not sure how to properly identify them. Content Light Level probably, judging by the fact Mastering Display is one. > Also

Re: [FFmpeg-devel] [PATCH v3] libavformat/mov: fix multiple stsd handling of files with edit list, fix #6584

2017-08-17 Thread Steven Liu
2017-08-17 12:59 GMT+08:00 : > From: Jiejun Zhang > > When an edit list exists in a MOV file, counting by stscs no longer > works because stscs' order is different from the actual timeline. This > commit adds stsd-change markers to the actual timeline and changes stsd > according to these markers

Re: [FFmpeg-devel] [PATCH] avcodec/zmbv: Check decomp_size

2017-08-17 Thread Michael Niedermayer
On Thu, Aug 17, 2017 at 10:19:18AM +0200, Tomas Härdin wrote: > On 2017-08-16 16:03, Michael Niedermayer wrote: > >Fixes: OOM > >Fixes: 2710/clusterfuzz-testcase-minimized-4750001420894208 > > > >Found-by: continuous fuzzing process > >https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg

[FFmpeg-devel] [PATCH] mp4: Support writing declarative SEis to hvcC

2017-08-17 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara --- Right now only one SEI type is added, there could be more declarative ones, but I'm not sure how to properly identify them. Also, the way to check for the seiPayloadType could be improved, suggestions are welcome. Vittorio libavcodec/extract_extradata_bsf.c |

Re: [FFmpeg-devel] [PATCH 1/1] libavdevice/decklink: configurablity to set max queue size

2017-08-17 Thread Patagar, Ravindra
Hi Marton, I have updated the patch as per your comments. Please find the updated patch attached. Regards, Ravindra. On 8/15/17, 12:38 AM, "Marton Balint" wrote: On Mon, 14 Aug 2017, Patagar, Ravindra wrote: > > Configurablity to set max queue size so that worst case la

Re: [FFmpeg-devel] [PATCH] libavfilter/af_ambisonic.c Added File for Ambisonic Filter

2017-08-17 Thread Sanchit Sinha
On Thu, Aug 17, 2017 at 7:31 AM, Michael Niedermayer wrote: > On Thu, Aug 17, 2017 at 04:35:13AM +0530, Sanchit Sinha wrote: > > On Thu, Aug 17, 2017 at 1:32 AM, Michael Niedermayer > > > wrote: > > > > > On Tue, Aug 15, 2017 at 11:57:18PM +0530, Sanchit Sinha wrote: > > > > On Tue, Aug 15, 2017

Re: [FFmpeg-devel] [PATCH] avfilter: add Audio Video Sync Test filter

2017-08-17 Thread Paul B Mahol
On 8/17/17, Alex Giladi wrote: > Hi Paul, > Can you please point me to some information how this filter works? > Best, > Alex. How to run: mpv avdevice://lavfi:avsynctest[out1] Are you interested in something else? ___ ffmpeg-devel mailing list ffmpeg

Re: [FFmpeg-devel] [PATCH] Implement NewTek NDI support

2017-08-17 Thread Ali KIZIL
2017-08-14 0:00 GMT+03:00 Marton Balint : > > On Tue, 8 Aug 2017, Maksym Veremeyenko wrote: > > [...] >> > > >> Check if *avahi* daemon is running and firewall turned off. >> > > Thanks, it works now. > > I have some final comments, after addressing those, I guess this can be > applied, it's been

Re: [FFmpeg-devel] [PATCH] avcodec/zmbv: Check decomp_size

2017-08-17 Thread Tomas Härdin
On 2017-08-16 16:03, Michael Niedermayer wrote: Fixes: OOM Fixes: 2710/clusterfuzz-testcase-minimized-4750001420894208 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/zmbv.c | 5 + 1 fi