Re: [FFmpeg-devel] [PATCH] lavfi/atempo: raise max tempo limit

2018-06-05 Thread Pavel Koshevoy
On Tue, Jun 5, 2018 at 8:59 PM, Pavel Koshevoy wrote: > --- > libavfilter/af_atempo.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/libavfilter/af_atempo.c b/libavfilter/af_atempo.c > index 8b214bccd7..daf4693321 100644 > --- a/libavfilter/af_atempo.c > +++

Re: [FFmpeg-devel] Atempo limits

2018-06-05 Thread Pavel Koshevoy
On Mon, Jun 4, 2018 at 8:54 PM, Pavel Koshevoy wrote: > On 06/04/2018 08:35 PM, Ronak Patel wrote: >> >> Thanks. Is it okay if I push a patch for this? How high of a limit does >> the algorithm support today? >> > > I don't think there is an upper limit... Post a patch here for review. See >

[FFmpeg-devel] [PATCH] lavfi/atempo: raise max tempo limit

2018-06-05 Thread Pavel Koshevoy
--- libavfilter/af_atempo.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libavfilter/af_atempo.c b/libavfilter/af_atempo.c index 8b214bccd7..daf4693321 100644 --- a/libavfilter/af_atempo.c +++ b/libavfilter/af_atempo.c @@ -153,7 +153,7 @@ typedef struct ATempoContext {

Re: [FFmpeg-devel] [PATCH 2/2] fate: add Dolby E test

2018-06-05 Thread James Almer
On 7/31/2017 5:33 PM, foo86 wrote: > --- > > Samples are here: https://0x0.st/ket.xz This was kind of forgotten, so i uploaded the samples and pushed it. Only patch 1/2 remains now. Not sure if you were going to send an updated version or not. Thanks. > > tests/fate/audio.mak | 5 + > 1

Re: [FFmpeg-devel] [PATCH] lavf/mov.c: Set st->start_time for video streams explicitly.

2018-06-05 Thread Michael Niedermayer
On Thu, May 31, 2018 at 04:26:24PM -0700, Sasi Inguva wrote: > Pls find attached, the correctly signed patch > Thanks. > > On Thu, May 31, 2018 at 4:14 PM Sasi Inguva wrote: > > > Sorry. Forgot to attach the file. Pls find it attached. Also resending the > > patch signed with correct email

Re: [FFmpeg-devel] [PATCH] Use the same name for stereo3d frame/packet side data

2018-06-05 Thread Michael Niedermayer
On Mon, Jun 04, 2018 at 04:40:30PM -0400, Vittorio Giovara wrote: > --- > libavutil/frame.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) making them match should be ok. Ive no comment on which text to choose thx [...] -- Michael GnuPG fingerprint:

[FFmpeg-devel] [PATCH] libavfilter/boxblur_opencl filter.

2018-06-05 Thread Danil Iashchenko
Behaves like existing boxblur filter. --- Thanks! Fixed. libavfilter/Makefile| 2 + libavfilter/allfilters.c| 1 + libavfilter/vf_avgblur_opencl.c | 419 ++-- 3 files changed, 324 insertions(+), 98 deletions(-) diff --git

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-05 Thread Sergey Lavrushkin
2018-06-05 17:20 GMT+03:00 James Almer : > On 6/3/2018 3:02 PM, Sergey Lavrushkin wrote: > > diff --git a/libavfilter/vf_srcnn.c b/libavfilter/vf_srcnn.c > > index d6efe9b478..5c5e26b33a 100644 > > --- a/libavfilter/vf_srcnn.c > > +++ b/libavfilter/vf_srcnn.c > > @@ -41,7 +41,6 @@ typedef struct

Re: [FFmpeg-devel] [PATCH] libavfilter/opencl.h: Add macro for setting opencl kernel

2018-06-05 Thread Mark Thompson
On 04/06/18 01:03, Danil Iashchenko wrote: > Fixed, thanks! > Also implemented macro for other filters: avgblur_opencl, convolution_opencl, > unsharp_opencl, overlay_opencl. > > --- ^ When you add extra commentary to an email, put it after this line. (What you've written here ends up in the

Re: [FFmpeg-devel] [PATCH] libavutil/encryption_info: Add NULL checks.

2018-06-05 Thread Mark Thompson
On 05/06/18 17:30, Jacob Trimble wrote: > Just because I can't check whether my food has salmonella doesn't mean > I shouldn't check the temperature when I cook it. Adding a NULL check > is trivial and will catch the most common error case. We also can't > check whether malloc() allocates enough

Re: [FFmpeg-devel] [PATCH] libavutil/encryption_info: Add NULL checks.

2018-06-05 Thread Michael Niedermayer
On Tue, Jun 05, 2018 at 09:30:51AM -0700, Jacob Trimble wrote: > On Mon, Jun 4, 2018 at 2:24 PM Carl Eugen Hoyos wrote: > > > > 2018-06-04 23:07 GMT+02:00, Jacob Trimble > > : > > > On Mon, Jun 4, 2018 at 10:46 AM Carl Eugen Hoyos > > > wrote: > > >> > > >> 2018-06-04 18:59 GMT+02:00, Jacob

Re: [FFmpeg-devel] [PATCH 4/6] avformat/mxfdec: remove check for NULL MXFTrack in mxf_set_pts

2018-06-05 Thread Marton Balint
On Tue, 5 Jun 2018, Tomas Härdin wrote: tor 2018-05-31 klockan 02:05 +0200 skrev Marton Balint: It cannot happen for video streams. > Signed-off-by: Marton Balint ---  libavformat/mxfdec.c | 2 +-  1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mxfdec.c

Re: [FFmpeg-devel] [PATCH 6/6] avformat/mxfdec: add support for recognizing timed text streams

2018-06-05 Thread Marton Balint
On Tue, 5 Jun 2018, Tomas Härdin wrote: tor 2018-05-31 klockan 02:05 +0200 skrev Marton Balint: > Signed-off-by: Marton Balint ---  libavformat/mxfdec.c | 8  1 file changed, 8 insertions(+) +type = avcodec_get_type(st->codecpar->codec_id); +if (type ==

Re: [FFmpeg-devel] [PATCH 1/2] avdevice/decklink_dec: use a custom memory allocator

2018-06-05 Thread Dave Rice
> On Jun 5, 2018, at 1:17 PM, Marton Balint wrote: > > On Tue, 5 Jun 2018, Dave Rice wrote: > >>> On Jun 4, 2018, at 4:21 PM, Marton Balint wrote: >>> >>> The default memory allocator is limited in the max number of frames >>> available, >>> and therefore caused frame drops if the frames

Re: [FFmpeg-devel] [PATCH 1/2] avdevice/decklink_dec: use a custom memory allocator

2018-06-05 Thread Marton Balint
On Tue, 5 Jun 2018, Dave Rice wrote: On Jun 4, 2018, at 4:21 PM, Marton Balint wrote: The default memory allocator is limited in the max number of frames available, and therefore caused frame drops if the frames were not freed fast enough. I’ve been testing this patchset today.

Re: [FFmpeg-devel] [PATCH 1/6] avformat/mxfdec: use MXFCodecUL struct to store essence description for data_essence_container_uls

2018-06-05 Thread Marton Balint
On Tue, 5 Jun 2018, Tomas Härdin wrote: tor 2018-05-31 klockan 02:05 +0200 skrev Marton Balint: Signed-off-by: Marton Balint ---  libavformat/mxf.h|  1 +  libavformat/mxfdec.c | 16  2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/libavformat/mxf.h

Re: [FFmpeg-devel] [PATCH] libavutil/encryption_info: Add NULL checks.

2018-06-05 Thread Jacob Trimble
On Mon, Jun 4, 2018 at 2:24 PM Carl Eugen Hoyos wrote: > > 2018-06-04 23:07 GMT+02:00, Jacob Trimble : > > On Mon, Jun 4, 2018 at 10:46 AM Carl Eugen Hoyos wrote: > >> > >> 2018-06-04 18:59 GMT+02:00, Jacob Trimble > >> : > >> > On Fri, Jun 1, 2018 at 5:03 PM Michael Niedermayer > >> > wrote: >

Re: [FFmpeg-devel] [PATCH] mov: Make sure PTS are both monotonically increasing, and unique

2018-06-05 Thread Derek Buitenhuis
On 30/05/2018 00:48, Michael Niedermayer wrote: >> Sorry I missed that! I'd prefer to use your patch over mine. > > iam fine with sasis original patch too Pushed with the changes that were requested in that thread. - Derek ___ ffmpeg-devel mailing

Re: [FFmpeg-devel] [PATCH 1/2] avdevice/decklink_dec: use a custom memory allocator

2018-06-05 Thread Dave Rice
> On Jun 4, 2018, at 4:21 PM, Marton Balint wrote: > > The default memory allocator is limited in the max number of frames available, > and therefore caused frame drops if the frames were not freed fast enough. I’ve been testing this patchset today. Yesterday I was occasionally getting

[FFmpeg-devel] [PATCH v4 3/4] configure: fix check for opencl

2018-06-05 Thread Jun Zhao
add pkg-config support for opencl check. Signed-off-by: Jun Zhao --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 53224f0..aaf7b02 100755 --- a/configure +++ b/configure @@ -6135,7 +6135,8 @@ enabled openal&& { { for

[FFmpeg-devel] [PATCH v4 0/4] opencl misc clean

2018-06-05 Thread Jun Zhao
v4: - use av_unused mark fix the build warning - fix typo in commit message v3: - Abandoned v2 patchset. - Change the pkg-config check as James Almer's comments. - Splite libmfx and opencl_vaapi_intel_media. Jun Zhao (4): lavu/hwcontext_opecl: fix the build warning lavfi/opencl:

[FFmpeg-devel] [PATCH v4 1/4] lavu/hwcontext_opecl: fix the build warning

2018-06-05 Thread Jun Zhao
fix the build warning when use Portable Computing Language (pocl). Signed-off-by: Jun Zhao --- libavutil/hwcontext_opencl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/hwcontext_opencl.c b/libavutil/hwcontext_opencl.c index 43b5c5a..b5208fa 100644 ---

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-05 Thread James Almer
On 6/3/2018 3:02 PM, Sergey Lavrushkin wrote: > diff --git a/libavfilter/vf_srcnn.c b/libavfilter/vf_srcnn.c > index d6efe9b478..5c5e26b33a 100644 > --- a/libavfilter/vf_srcnn.c > +++ b/libavfilter/vf_srcnn.c > @@ -41,7 +41,6 @@ typedef struct SRCNNContext { > DNNData input_output; > }

[FFmpeg-devel] [PATCH v2 0/2] fix make checkheaders warning

2018-06-05 Thread Jun Zhao
v2: - clean up the commit message for James Almer's review Jun Zhao (2): lavc/dolby_e: fix make checkheaders warning lavc/aacsbr: fix make checkheaders warning libavcodec/aacsbr_tablegen_common.h | 12 - libavcodec/aacsbr_template.c| 12 + libavcodec/dolby_e.c

[FFmpeg-devel] [PATCH v2 2/2] lavc/aacsbr: fix make checkheaders warning

2018-06-05 Thread Jun Zhao
move the the function aacsbr_tableinit definition from header file to .c file to fix make checkheaders warning. Signed-off-by: Jun Zhao --- libavcodec/aacsbr_tablegen_common.h | 12 libavcodec/aacsbr_template.c| 12 2 files changed, 12 insertions(+), 12

[FFmpeg-devel] [PATCH v2 1/2] lavc/dolby_e: fix make checkheaders warning

2018-06-05 Thread Jun Zhao
move the the function init_tables() definitions from header file to .c file to fix make checkheaders warning. Signed-off-by: Jun Zhao --- libavcodec/dolby_e.c | 87 libavcodec/dolby_e.h | 86 ---

[FFmpeg-devel] [PATCH v4 2/4] lavfi/opencl: remove redundant header.

2018-06-05 Thread Jun Zhao
remove redundant header Signed-off-by: Jun Zhao --- libavfilter/opencl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavfilter/opencl.c b/libavfilter/opencl.c index ae61667..ac5eec6 100644 --- a/libavfilter/opencl.c +++ b/libavfilter/opencl.c @@ -19,12 +19,9 @@ #include #include

[FFmpeg-devel] [PATCH v4 4/4] configure: fix check for opencl_vaapi_intel_media.

2018-06-05 Thread Jun Zhao
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 Zhao --- configure| 6

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-05 Thread Pedro Arthur
Pushed. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH 4/4] avcodec/shorten: Fix multiple integer overflows

2018-06-05 Thread Michael Niedermayer
Fixes: signed integer overflow: 3 * 1006632960 cannot be represented in type 'int' Fixes: 8278/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-5692857166856192 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by:

[FFmpeg-devel] [PATCH 3/4] avcodec/shorten: Fix undefined shift in fix_bitshift()

2018-06-05 Thread Michael Niedermayer
Fixes: left shift of negative value -9 Fixes: 8571/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-5715966875926528 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/shorten.c

[FFmpeg-devel] [PATCH 1/4] avcodec/shorten: Sanity check nmeans

2018-06-05 Thread Michael Niedermayer
Fixes: OOM Fixes: 8195/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-5179785826271232 The reference software appears to use longs for 32bits and it uses int for nmeans hinting that the intended maximum size was not 32bit. Found-by: continuous fuzzing process

[FFmpeg-devel] [PATCH 2/4] avcodec/shorten: Fix a negative left shift in shorten_decode_frame()

2018-06-05 Thread Michael Niedermayer
Fixes: left shift of negative value -9057 Fixes: 8527/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-5666853924896768 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer ---

Re: [FFmpeg-devel] [PATCH 6/6] avformat/mxfdec: add support for recognizing timed text streams

2018-06-05 Thread Tomas Härdin
tor 2018-05-31 klockan 02:05 +0200 skrev Marton Balint: > > Signed-off-by: Marton Balint > --- >  libavformat/mxfdec.c | 8 >  1 file changed, 8 insertions(+) > > +type = avcodec_get_type(st->codecpar->codec_id); > +if (type == AVMEDIA_TYPE_SUBTITLE) > +   

Re: [FFmpeg-devel] [PATCH 5/6] avcodec/avcodec.h: add AV_CODEC_ID_TIMED_TEXT_MARKUP

2018-06-05 Thread Tomas Härdin
tor 2018-05-31 klockan 02:05 +0200 skrev Marton Balint: > > Signed-off-by: Marton Balint > --- >  libavcodec/avcodec.h| 1 + >  libavcodec/codec_desc.c | 8 >  libavcodec/version.h| 2 +- >  3 files changed, 10 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/avcodec.h

Re: [FFmpeg-devel] [PATCH 4/6] avformat/mxfdec: remove check for NULL MXFTrack in mxf_set_pts

2018-06-05 Thread Tomas Härdin
tor 2018-05-31 klockan 02:05 +0200 skrev Marton Balint: > It cannot happen for video streams. > > > Signed-off-by: Marton Balint > --- >  libavformat/mxfdec.c | 2 +- >  1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c > index

Re: [FFmpeg-devel] [PATCH 3/6] avformat/mxfdec: only disallow seek on metadata streams

2018-06-05 Thread Tomas Härdin
tor 2018-05-31 klockan 02:05 +0200 skrev Marton Balint: > > Signed-off-by: Marton Balint > --- >  libavformat/mxfdec.c | 2 +- >  1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c > index 3d8c8e204c..e80ef62d57 100644 > ---

Re: [FFmpeg-devel] [PATCH 2/6] avformat/mxfdec: recognize SMPTE 436 VBI data

2018-06-05 Thread Tomas Härdin
tor 2018-05-31 klockan 02:05 +0200 skrev Marton Balint: > > Signed-off-by: Marton Balint > --- >  libavformat/mxfdec.c | 2 ++ >  1 file changed, 2 insertions(+) > > diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c > index 1099616174..3d8c8e204c 100644 > --- a/libavformat/mxfdec.c > +++

Re: [FFmpeg-devel] [PATCH 1/6] avformat/mxfdec: use MXFCodecUL struct to store essence description for data_essence_container_uls

2018-06-05 Thread Tomas Härdin
tor 2018-05-31 klockan 02:05 +0200 skrev Marton Balint: > > Signed-off-by: Marton Balint > --- >  libavformat/mxf.h|  1 + >  libavformat/mxfdec.c | 16 >  2 files changed, 5 insertions(+), 12 deletions(-) > > diff --git a/libavformat/mxf.h b/libavformat/mxf.h > index

Re: [FFmpeg-devel] NVIDIA CUVID decoding issue.

2018-06-05 Thread Timo Rothenpieler
On 04.06.2018 12:27, Nánási Ferenc wrote: > Hi! > I'm trying to transcode H.264 Stream to HEVC. Everything just working > fine when I'm using the in-built CPU decoder, but when I turn on the > Hardware-accelerated CUVID module, it throws some error with most of my > streams. > * > **FFMPEG

Re: [FFmpeg-devel] [PATCH] mxfdec: fix NULL pointer dereference in mxf_read_packet_old

2018-06-05 Thread Tomas Härdin
ons 2018-05-30 klockan 23:26 +0200 skrev Marton Balint: > > On Thu, 17 Nov 2016, Andreas Cadhalpun wrote: > > > Metadata streams have priv_data set to NULL. > > > > > > Signed-off-by: Andreas Cadhalpun > > --- > > libavformat/mxfdec.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) >