Re: [FFmpeg-devel] [PATCH] avformat/segafilmenc - set keyframe bit correctly

2018-05-05 Thread Gyan Doshi
On 5/6/2018 4:39 AM, James Almer wrote: On 5/5/2018 8:06 PM, Michael Niedermayer wrote: On Sat, May 05, 2018 at 05:16:09PM +0530, Gyan Doshi wrote: Since the muxer author hasn't made the change, the patch is submitted. Reference: http://www.ffmpeg.org/pipermail/ffmpeg-devel/2018-April/22860

[FFmpeg-devel] introduction

2018-05-05 Thread kendell clark
Hi all My name is Kendell Clark, and I’ve been involved in open source software since august of 2011. I’ve recently purchased a used iPod touch, 5th generation, and have found that to use it well, windows and iTunes is required, which I’m not happy about. I’d much rather use Linux to manage the

[FFmpeg-devel] [PATCH 1/2] checkasm/sw_rgb: fix the function declaration warning

2018-05-05 Thread Jun Zhao
fix the warning: "function declaration isn’t a prototype", in C int foo() and int foo(void) are different functions. int foo() accepts an arbitrary number of arguments, while int foo(void) accepts 0 arguments. Signed-off-by: Jun Zhao --- tests/checkasm/sw_rgb.c | 2 +- 1 file changed, 1 insertio

[FFmpeg-devel] [PATCH 2/2] lavfi/tests/filtfmts: fix the build warning.

2018-05-05 Thread Jun Zhao
fix the build warning: ignoring return value. Signed-off-by: Jun Zhao --- libavfilter/tests/filtfmts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/tests/filtfmts.c b/libavfilter/tests/filtfmts.c index a958621..317df86 100644 --- a/libavfilter/tests/filtfmt

Re: [FFmpeg-devel] [PATCH] dcaenc: fix segfault when attempting to encode with invalid samplerate

2018-05-05 Thread Michael Niedermayer
On Sat, May 05, 2018 at 06:43:34PM +0100, Rostislav Pehlivanov wrote: > --- > libavcodec/dcaenc.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/dcaenc.c b/libavcodec/dcaenc.c > index 186997c631..4b4ceeff05 100644 > --- a/libavcodec/dcaenc.c > +++ b/lib

Re: [FFmpeg-devel] [PATCH] opt: print a deprecation indicator when listing options

2018-05-05 Thread Michael Niedermayer
On Sat, May 05, 2018 at 09:45:26PM +0100, Rostislav Pehlivanov wrote: > Signed-off-by: Rostislav Pehlivanov > --- > libavutil/opt.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavutil/opt.c b/libavutil/opt.c > index 99282605f5..73295356a1 100644 > --- a/libavutil/opt.c > +++ b/l

Re: [FFmpeg-devel] [PATCH] avformat/segafilmenc - set keyframe bit correctly

2018-05-05 Thread James Almer
On 5/5/2018 8:16 PM, Michael Niedermayer wrote: > On Sat, May 05, 2018 at 08:09:07PM -0300, James Almer wrote: >> On 5/5/2018 8:06 PM, Michael Niedermayer wrote: >>> On Sat, May 05, 2018 at 05:16:09PM +0530, Gyan Doshi wrote: Since the muxer author hasn't made the change, the patch is submitte

Re: [FFmpeg-devel] [PATCH] avformat/segafilmenc - set keyframe bit correctly

2018-05-05 Thread Michael Niedermayer
On Sat, May 05, 2018 at 08:09:07PM -0300, James Almer wrote: > On 5/5/2018 8:06 PM, Michael Niedermayer wrote: > > On Sat, May 05, 2018 at 05:16:09PM +0530, Gyan Doshi wrote: > >> Since the muxer author hasn't made the change, the patch is submitted. > >> > >> Reference: > >> > >> http://www.ffmpeg

Re: [FFmpeg-devel] [PATCH] avformat/segafilmenc - set keyframe bit correctly

2018-05-05 Thread James Almer
On 5/5/2018 8:06 PM, Michael Niedermayer wrote: > On Sat, May 05, 2018 at 05:16:09PM +0530, Gyan Doshi wrote: >> Since the muxer author hasn't made the change, the patch is submitted. >> >> Reference: >> >> http://www.ffmpeg.org/pipermail/ffmpeg-devel/2018-April/228602.html > >> segafilmenc.c |

Re: [FFmpeg-devel] [PATCH] avformat/segafilmenc - set keyframe bit correctly

2018-05-05 Thread Michael Niedermayer
On Sat, May 05, 2018 at 05:16:09PM +0530, Gyan Doshi wrote: > Since the muxer author hasn't made the change, the patch is submitted. > > Reference: > > http://www.ffmpeg.org/pipermail/ffmpeg-devel/2018-April/228602.html > segafilmenc.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [FFmpeg-devel] [PATCH] avcodec/fic: Check available input space for cursor

2018-05-05 Thread Michael Niedermayer
On Sat, May 05, 2018 at 11:12:06PM +0200, Paul B Mahol wrote: > On 5/5/18, wm4 wrote: > > On Sat, 5 May 2018 22:47:37 +0200 > > Michael Niedermayer wrote: > > > >> Fixes: out of array read > >> Fixes: > >> 6546/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FIC_fuzzer-6317064647081984 > >> >

Re: [FFmpeg-devel] [FFmpeg-devel, RFC] lavfi: add opencl tonemap filter.

2018-05-05 Thread Daniel Oberhoff
> Am 05.05.2018 um 20:41 schrieb Rostislav Pehlivanov : > > On 5 May 2018 at 18:40, Daniel Oberhoff > wrote: > >> >>> >>> As a last note, you can find my GLSL(+Vulkan) implementations of the >>> algorithm changes described above, as well as all of the related >>> color-management code and va

Re: [FFmpeg-devel] [PATCH] avcodec/vp3: Check that there will be sufficient input for the coded fragments in unpack_superblocks()

2018-05-05 Thread Michael Niedermayer
On Sat, May 05, 2018 at 09:14:52PM +0200, wm4 wrote: > On Sat, 5 May 2018 21:10:06 +0200 > Michael Niedermayer wrote: > > > Fixes: Timeout > > Fixes: > > 6292/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP3_fuzzer-4871218218926080 > > > > Found-by: continuous fuzzing process > > https:/

Re: [FFmpeg-devel] [PATCH] avcodec/fic: Check available input space for cursor

2018-05-05 Thread Paul B Mahol
On 5/5/18, wm4 wrote: > On Sat, 5 May 2018 22:47:37 +0200 > Michael Niedermayer wrote: > >> Fixes: out of array read >> Fixes: >> 6546/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FIC_fuzzer-6317064647081984 >> >> Found-by: continuous fuzzing process >> https://github.com/google/oss-fuzz/tr

Re: [FFmpeg-devel] [PATCH] avcodec/fic: Check available input space for cursor

2018-05-05 Thread wm4
On Sat, 5 May 2018 22:47:37 +0200 Michael Niedermayer wrote: > Fixes: out of array read > Fixes: > 6546/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FIC_fuzzer-6317064647081984 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Sig

[FFmpeg-devel] [PATCH] avcodec/fic: Check available input space for cursor

2018-05-05 Thread Michael Niedermayer
Fixes: out of array read Fixes: 6546/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FIC_fuzzer-6317064647081984 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/fic.c | 5 + 1 file chang

[FFmpeg-devel] [PATCH] opt: print a deprecation indicator when listing options

2018-05-05 Thread Rostislav Pehlivanov
Signed-off-by: Rostislav Pehlivanov --- libavutil/opt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavutil/opt.c b/libavutil/opt.c index 99282605f5..73295356a1 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -1276,6 +1276,8 @@ static void opt_list(void *obj, void *av_log_obj, c

Re: [FFmpeg-devel] [GSOC] [PATCH] SRCNN filter

2018-05-05 Thread James Almer
On 4/10/2018 2:16 PM, Sergey Lavrushkin wrote: > diff --git a/libavfilter/vf_srcnn.c b/libavfilter/vf_srcnn.c > new file mode 100644 > index 00..d9b4891f7f > --- /dev/null > +++ b/libavfilter/vf_srcnn.c > @@ -0,0 +1,420 @@ > +/* > + * Copyright (c) 2018 Sergey Lavrushkin > + * > + * This fi

Re: [FFmpeg-devel] [PATCH] avcodec/vp3: Check that there will be sufficient input for the coded fragments in unpack_superblocks()

2018-05-05 Thread wm4
On Sat, 5 May 2018 21:10:06 +0200 Michael Niedermayer wrote: > Fixes: Timeout > Fixes: > 6292/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP3_fuzzer-4871218218926080 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by

[FFmpeg-devel] [PATCH] configure: add pkg-config check for zlib

2018-05-05 Thread Jan Ekström
It exists, so why not use it? Helps one get rid of additional search path related flags in addition to PKG_CONFIG_{PATH,LIBDIR} when utilizing a cross-prefix separate from the sysroot. --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index f

[FFmpeg-devel] [PATCH] avcodec/vp3: Check that there will be sufficient input for the coded fragments in unpack_superblocks()

2018-05-05 Thread Michael Niedermayer
Fixes: Timeout Fixes: 6292/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP3_fuzzer-4871218218926080 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/vp3.c | 6 +- 1 file changed, 5 ins

Re: [FFmpeg-devel] [PATCH] lavu, lavc/amf: hwcontext_amf phase 1. move AMF library and AMF device management from amfenc to hwcontext_amf

2018-05-05 Thread Alexander Kravchenko
> -Original Message- > From: Alexander Kravchenko [mailto:akravchenko...@gmail.com] > Sent: Thursday, April 26, 2018 10:01 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Alexander Kravchenko > Subject: [PATCH] lavu,lavc/amf: hwcontext_amf phase 1. move AMF library and > AMF device management fr

Re: [FFmpeg-devel] [FFmpeg-devel, RFC] lavfi: add opencl tonemap filter.

2018-05-05 Thread Rostislav Pehlivanov
On 5 May 2018 at 18:40, Daniel Oberhoff wrote: > > > > > As a last note, you can find my GLSL(+Vulkan) implementations of the > > algorithm changes described above, as well as all of the related > > color-management code and various decision logic for what values to > > infer/default here: > > ht

Re: [FFmpeg-devel] [PATCH v2] mpegvideo: remove support for libxvid's RC system

2018-05-05 Thread Rostislav Pehlivanov
On 3 May 2018 at 00:12, Rostislav Pehlivanov wrote: > --- > MAINTAINERS| 1 - > libavcodec/Makefile| 2 +- > libavcodec/libxvid_rc.c| 164 - > libavcodec/mpegvideo.h | 14 +--- > libavcodec/mpegvideo_enc.c | 24 +- > 5

Re: [FFmpeg-devel] [PATCH] dcaenc: fix segfault when attempting to encode with invalid samplerate

2018-05-05 Thread Paul B Mahol
On 5/5/18, Rostislav Pehlivanov wrote: > --- > libavcodec/dcaenc.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/dcaenc.c b/libavcodec/dcaenc.c > index 186997c631..4b4ceeff05 100644 > --- a/libavcodec/dcaenc.c > +++ b/libavcodec/dcaenc.c > @@ -152,8 +1

[FFmpeg-devel] [PATCH] dcaenc: fix segfault when attempting to encode with invalid samplerate

2018-05-05 Thread Rostislav Pehlivanov
--- libavcodec/dcaenc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libavcodec/dcaenc.c b/libavcodec/dcaenc.c index 186997c631..4b4ceeff05 100644 --- a/libavcodec/dcaenc.c +++ b/libavcodec/dcaenc.c @@ -152,8 +152,11 @@ static int subband_bufer_alloc(DCAEncContext *c)

Re: [FFmpeg-devel] [PATCH] avfilter/af_amerge: port to activate API

2018-05-05 Thread Nicolas George
Paul B Mahol (2018-05-04): > Signed-off-by: Paul B Mahol > --- > libavfilter/af_amerge.c | 144 > ++-- > 1 file changed, 67 insertions(+), 77 deletions(-) > > diff --git a/libavfilter/af_amerge.c b/libavfilter/af_amerge.c > index 09c660ef49..8b71b3ce4

Re: [FFmpeg-devel] [FFmpeg-devel, RFC] lavfi: add opencl tonemap filter.

2018-05-05 Thread Daniel Oberhoff
> > As a last note, you can find my GLSL(+Vulkan) implementations of the > algorithm changes described above, as well as all of the related > color-management code and various decision logic for what values to > infer/default here: > https://github.com/haasn/libplacebo/blob/master/src/shaders/col

Re: [FFmpeg-devel] [FFmpeg-devel, RFC] lavfi: add opencl tonemap filter.

2018-05-05 Thread Niklas Haas
Another thing that came to my mind: On Fri, 4 May 2018 15:32:58 +0800, Ruiling Song wrote: > +static int tonemap_opencl_filter_frame(AVFilterLink *inlink, AVFrame *input) > +{ > +AVFilterContext*avctx = inlink->dst; > +AVFilterLink *outlink = avctx->outputs[0]; > +TonemapOpen

Re: [FFmpeg-devel] [PATCH] make install prefix configurable

2018-05-05 Thread Timo Rothenpieler
Am 05.05.2018 um 17:28 schrieb Daniel Oberhoff: --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a51c2c9..c3a9209 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PREFIX = /usr/local +PREFIX ?= /usr/local This shouldn't be necess

Re: [FFmpeg-devel] [PATCH] make install prefix configurable

2018-05-05 Thread Daniel Oberhoff
> Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index a51c2c9..98d8b59 100644 > --- a/Makefile > +++ b/Makefile > @@ -1,4 +1,4 @@ > -PREFIX = /usr/local > +PREFIX = ${PREFIX:-/usr/local} sorry, that was wrong, new patch coming signature

[FFmpeg-devel] [PATCH] make install prefix configurable

2018-05-05 Thread Daniel Oberhoff
--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a51c2c9..c3a9209 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PREFIX = /usr/local +PREFIX ?= /usr/local LIBDIR = lib INSTALL = install SED = sed -- 2.14.3 (Apple Git-98) ___

[FFmpeg-devel] [PATCH] make install prefix configurable

2018-05-05 Thread Daniel Oberhoff
--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a51c2c9..98d8b59 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PREFIX = /usr/local +PREFIX = ${PREFIX:-/usr/local} LIBDIR = lib INSTALL = install SED = sed -- 2.14.3 (Apple Git-98

Re: [FFmpeg-devel] [PATCH] avformat: add vapoursynth wrapper

2018-05-05 Thread James Almer
On 5/5/2018 5:33 AM, wm4 wrote: > On Fri, 4 May 2018 21:51:38 -0300 > James Almer wrote: > >> On 5/4/2018 9:19 PM, Michael Niedermayer wrote: >>> On Fri, May 04, 2018 at 02:02:02PM -0300, James Almer wrote: On 5/4/2018 1:51 PM, wm4 wrote: > On Fri, 4 May 2018 13:30:38 -0300 > Jam

Re: [FFmpeg-devel] [PATCH] avcodec/flac_parser: Fix infinite loop

2018-05-05 Thread Michael Niedermayer
On Fri, May 04, 2018 at 02:42:14AM +0200, Michael Niedermayer wrote: > Fixes: crbug/827204 > > Reported-by: Frank Liberato > Reviewed-by: Frank Liberato > Signed-off-by: Michael Niedermayer > --- > libavcodec/flac_parser.c | 9 +++-- > 1 file changed, 7 insertions(+), 2 deletions(-) will

Re: [FFmpeg-devel] [PATCH 2/3] swscale: add gray14 support

2018-05-05 Thread Michael Niedermayer
On Sat, May 05, 2018 at 03:43:49PM +0200, Michael Niedermayer wrote: > On Thu, May 03, 2018 at 10:49:54PM +0200, Paul B Mahol wrote: > > Signed-off-by: Paul B Mahol > > --- > > libavcodec/raw.c | 2 ++ > > libavformat/nut.c| 3 +++ > > libswscale/in

Re: [FFmpeg-devel] [PATCH 2/3] swscale: add gray14 support

2018-05-05 Thread Michael Niedermayer
On Thu, May 03, 2018 at 10:49:54PM +0200, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/raw.c | 2 ++ > libavformat/nut.c| 3 +++ > libswscale/input.c | 2 ++ > libswscale/swscale_unscaled.c|

Re: [FFmpeg-devel] [PATCH 1/3] avutil: add gray14 pixel format

2018-05-05 Thread Michael Niedermayer
On Thu, May 03, 2018 at 10:49:53PM +0200, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavutil/pixdesc.c | 21 + > libavutil/pixfmt.h | 4 > 2 files changed, 25 insertions(+) LGTM thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611

[FFmpeg-devel] [PATCH] avformat/segafilmenc - set keyframe bit correctly

2018-05-05 Thread Gyan Doshi
Since the muxer author hasn't made the change, the patch is submitted. Reference: http://www.ffmpeg.org/pipermail/ffmpeg-devel/2018-April/228602.html From 79f87ff264c2989193d5e59da8c5cf285940aa50 Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Sat, 5 May 2018 17:04:53 +0530 Subject: [PATCH] avf

Re: [FFmpeg-devel] [PATCH v4]avocdec/nvenc: Reconfigure bitrate on the fly

2018-05-05 Thread Timo Rothenpieler
Am 05.05.2018 um 02:00 schrieb Carl Eugen Hoyos: 2018-05-04 10:32 GMT+02:00, Timo Rothenpieler : I'm not sure if actual resolution changes are even supported by avcodec. There are better (read: DVB) samples but I can't find them atm: https://trac.ffmpeg.org/raw-attachment/ticket/1507/Wrong_as

Re: [FFmpeg-devel] [PATCH] avformat: add vapoursynth wrapper

2018-05-05 Thread Paul B Mahol
On 5/5/18, wm4 wrote: > On Fri, 4 May 2018 21:51:38 -0300 > James Almer wrote: > >> On 5/4/2018 9:19 PM, Michael Niedermayer wrote: >> > On Fri, May 04, 2018 at 02:02:02PM -0300, James Almer wrote: >> >> On 5/4/2018 1:51 PM, wm4 wrote: >> >>> On Fri, 4 May 2018 13:30:38 -0300 >> >>> James Almer

Re: [FFmpeg-devel] [PATCH] avformat/matroskaenc: do not write timebase as framerate

2018-05-05 Thread wm4
On Sat, 5 May 2018 02:35:52 +0200 Carl Eugen Hoyos wrote: > 2018-05-04 15:00 GMT+02:00, wm4 : > > On Sat, 28 Apr 2018 19:24:21 +0200 > > wm4 wrote: > > > >> If the API user doesn't set avg_frame_rate, matroskaenc will write the > >> current timebase as "default duration" for the video track. T

Re: [FFmpeg-devel] [PATCH] avformat: add vapoursynth wrapper

2018-05-05 Thread wm4
On Fri, 4 May 2018 21:51:38 -0300 James Almer wrote: > On 5/4/2018 9:19 PM, Michael Niedermayer wrote: > > On Fri, May 04, 2018 at 02:02:02PM -0300, James Almer wrote: > >> On 5/4/2018 1:51 PM, wm4 wrote: > >>> On Fri, 4 May 2018 13:30:38 -0300 > >>> James Almer wrote: > >>> > On 5/4/