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

2016-09-24 Thread Clément Bœsch
On Wed, Sep 21, 2016 at 02:39:55PM +0200, Benoit Fouet wrote: [...] > > diff --git a/Changelog b/Changelog > > index 2d0a449..a5282b4 100644 > > --- a/Changelog > > +++ b/Changelog > > @@ -31,6 +31,7 @@ version : > > - MediaCodec HEVC decoding > > - TrueHD encoder > > - Meridian Lossless Pack

[FFmpeg-devel] [PATCH]lavf/mpegtsenc: Set min PID for data pkt to 0x0010

2016-09-24 Thread Carl Eugen Hoyos
Hi! Attached patch fixes ticket #1673. ISO13818-1 indeed specifies in §2.4.3.3 that values up to 0xF are reserved. Please comment, Carl Eugen From 06371416c00eaf73430d1bb7d841167356adbe23 Mon Sep 17 00:00:00 2001 From: Sylvain Laurent Date: Sat, 24 Sep 2016 12:01:34 +0200 Subject: [PATCH] lavf/

[FFmpeg-devel] [PATCH]lavf/utils: Avoid an overflow for huge negative durations.

2016-09-24 Thread Carl Eugen Hoyos
Hi! Attached patch hopefully fixes ticket #5135. Please review, Carl Eugen From 12a33bb9d5475701009a60af79fa7699416b50e7 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 24 Sep 2016 13:07:39 +0200 Subject: [PATCH] lavf/utils: Avoid an overflow for huge negative durations. Fixes ticket

Re: [FFmpeg-devel] [PATCH 1/2] [avformat/mxf] Add core colorimetry support to MXF.

2016-09-24 Thread Michael Niedermayer
On Fri, Sep 23, 2016 at 10:19:03PM -0700, Steven Robertson wrote: > Signed-off-by: Steven Robertson > --- > libavformat/mxf.c| 33 + > libavformat/mxf.h| 3 +++ > libavformat/mxfdec.c | 29 + > libavformat/mxfenc.c | 36

Re: [FFmpeg-devel] [PATCH] doc/muxers: add hls_segment_size option document

2016-09-24 Thread Steven Liu
2016-09-15 7:17 GMT+08:00 Lou Logan : > On Wed, 14 Sep 2016 07:40:08 +0800, Steven Liu wrote: > > > From 97ff17a17db5ecac295327281738f044239cf322 Mon Sep 17 00:00:00 2001 > > From: Steven Liu > > Date: Wed, 14 Sep 2016 07:14:18 +0800 > > Subject: [PATCH] doc/muxers: add hls_segment_size option do

Re: [FFmpeg-devel] [PATCH/RFC]lavf/aacdec: Do not auto-detect a single frame

2016-09-24 Thread compn
On Sat, 24 Sep 2016 00:00:35 +0200 Carl Eugen Hoyos wrote: > Hi! > > I use this patch locally for some time. It fixes > many misdetections, a similar patch was applied to > loas detection three years ago. > An alternative would be to return "1" for two frames. this prevents all of those files

Re: [FFmpeg-devel] [PATCH/RFC]lavf/aacdec: Do not auto-detect a single frame

2016-09-24 Thread Ronald S. Bultje
Hi, On Fri, Sep 23, 2016 at 6:00 PM, Carl Eugen Hoyos wrote: > Hi! > > I use this patch locally for some time. It fixes > many misdetections, a similar patch was applied to > loas detection three years ago. > An alternative would be to return "1" for two frames. Is there any point in detecting

Re: [FFmpeg-devel] [PATCH 2/2] [avformat/mxf] Add support for ST 2084 / ST 2067-21 mastering metadata.

2016-09-24 Thread Carl Eugen Hoyos
Hi! 2016-09-24 7:19 GMT+02:00 Steven Robertson : > -static const uint8_t mxf_crypto_source_container_ul[] = { > 0x06,0x0e,0x2b,0x34,0x01,0x01,0x01,0x09,0x06,0x01,0x01,0x02,0x02,0x00,0x00,0x00 > }; > -static const uint8_t mxf_encrypted_triplet_key[] = { > 0x06,0x0e,0x2b,0x34,0x02,

Re: [FFmpeg-devel] [PATCH/RFC]lavf/aacdec: Do not auto-detect a single frame

2016-09-24 Thread Carl Eugen Hoyos
Hi! 2016-09-24 14:58 GMT+02:00 Ronald S. Bultje : > > On Fri, Sep 23, 2016 at 6:00 PM, Carl Eugen Hoyos wrote: >> >> I use this patch locally for some time. It fixes >> many misdetections, a similar patch was applied to >> loas detection three years ago. >> An alternative would be to return "1" f

Re: [FFmpeg-devel] [PATCH 1/5] lavc : yami : add libyami decoder/encoder

2016-09-24 Thread wm4
On Sat, 24 Sep 2016 02:34:56 +0200 Michael Niedermayer wrote: > On Mon, Aug 15, 2016 at 04:22:33PM +0800, Jun Zhao wrote: > > add libyami decoder/encoder/vpp in ffmpeg, about build step, > > please refer to the link: > > https://github.com/01org/ffmpeg_libyami/wiki/Build > > > Makefile

Re: [FFmpeg-devel] [PATCH] lavf: add ffprobe demuxer

2016-09-24 Thread wm4
On Fri, 23 Sep 2016 19:46:16 +0200 Stefano Sabatini wrote: > On date Friday 2016-09-23 09:34:19 +0200, wm4 encoded: > > On Thu, 22 Sep 2016 18:50:27 +0200 > > Stefano Sabatini wrote: > [...] > > > Ping. I'd like to commit this if there are no objections. Also, > > > possibly add a muxer to gen

Re: [FFmpeg-devel] [PATCH] lavf: add ffprobe demuxer

2016-09-24 Thread wm4
On Fri, 23 Sep 2016 22:27:00 +0200 Carl Eugen Hoyos wrote: > 2016-09-23 19:46 GMT+02:00 Stefano Sabatini : > > On date Friday 2016-09-23 09:34:19 +0200, wm4 encoded: > >> at least it shouldn't be enabled by default. > > > > I understand the security concerns, and I have no objections > > agai

Re: [FFmpeg-devel] [PATCH/RFC]lavf/aacdec: Do not auto-detect a single frame

2016-09-24 Thread wm4
On Sat, 24 Sep 2016 15:11:33 +0200 Carl Eugen Hoyos wrote: > Hi! > > 2016-09-24 14:58 GMT+02:00 Ronald S. Bultje : > > > > On Fri, Sep 23, 2016 at 6:00 PM, Carl Eugen Hoyos wrote: > > > >> > >> I use this patch locally for some time. It fixes > >> many misdetections, a similar patch was appl

Re: [FFmpeg-devel] [PATCH] lavf: add ffprobe demuxer

2016-09-24 Thread Carl Eugen Hoyos
2016-09-24 15:21 GMT+02:00 wm4 : > On Fri, 23 Sep 2016 22:27:00 +0200 > Carl Eugen Hoyos wrote: > >> 2016-09-23 19:46 GMT+02:00 Stefano Sabatini : >> > On date Friday 2016-09-23 09:34:19 +0200, wm4 encoded: >> >> at least it shouldn't be enabled by default. >> > >> > I understand the security conc

[FFmpeg-devel] [PATCH]lavf/utils: Do not overflow in update_initial_timestamps().

2016-09-24 Thread Carl Eugen Hoyos
Hi! Attached patch hopefully fixes ticket #5136. Please review, Carl Eugen From 09a31f8f6584f0c97443fd6edc7fcf7142b6a6ff Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 24 Sep 2016 15:26:21 +0200 Subject: [PATCH] lavf/utils: Do not overflow in update_initial_timestamps(). Fixes ticke

Re: [FFmpeg-devel] [PATCH/RFC]lavf/aacdec: Do not auto-detect a single frame

2016-09-24 Thread Ronald S. Bultje
Hi, On Sat, Sep 24, 2016 at 9:11 AM, Carl Eugen Hoyos wrote: > Hi! > > 2016-09-24 14:58 GMT+02:00 Ronald S. Bultje : > > > > On Fri, Sep 23, 2016 at 6:00 PM, Carl Eugen Hoyos > wrote: > >> > >> I use this patch locally for some time. It fixes > >> many misdetections, a similar patch was applied

[FFmpeg-devel] Secure RTSP

2016-09-24 Thread Jay
Hi. I am working on a project that requires RTSP over TLS with cafile support. I patched 3.1.3 to work with openssl. If this is something of interest, I am happy to finish out the patch - please advise if a different approach is preferred. Thank you. Jay Ridgeway diff -x '*.[oda]' -Naur ffmpeg-3.

Re: [FFmpeg-devel] Secure RTSP

2016-09-24 Thread Carl Eugen Hoyos
2016-09-24 16:20 GMT+02:00 Jay : > Hi. I am working on a project that requires RTSP over TLS with cafile > support. I patched 3.1.3 to work with openssl. If this is something of Can't this also work with the various other ssl implementations in FFmpeg? > interest, I am happy to finish out the pat

Re: [FFmpeg-devel] [PATCH 0/5] Add SDL2 support & drop SDL1 support

2016-09-24 Thread Josh de Kock
On 22/09/2016 20:28, Josh de Kock wrote: Hopefully the final iteration of this set--it drops SDL1 support entirely rather than adding another ffplay version and keeping the SDL1 output device. All of it has been reviewed before, so there shouldn't be too much (or anything to change). Josh de Koc

Re: [FFmpeg-devel] [PATCH 0/5] Add SDL2 support & drop SDL1 support

2016-09-24 Thread Carl Eugen Hoyos
2016-09-24 18:17 GMT+02:00 Josh de Kock : > On 22/09/2016 20:28, Josh de Kock wrote: > Set applied. Please write a short news entry for the homepage. Thank you, Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/

Re: [FFmpeg-devel] [PATCH/RFC]lavf/aacdec: Do not auto-detect a single frame

2016-09-24 Thread Carl Eugen Hoyos
2016-09-24 16:04 GMT+02:00 Ronald S. Bultje : >> >> An alternative would be to return "1" for two frames. >> > >> > Is there any point in detecting two AAC frames? I mean, we're >> > talking about a split second audio... >> >> True, but I believe if it is the beginning of the file, a positive >> s

[FFmpeg-devel] [PATCH] doc/filters: blend-by-default-terminates-on-longest-input

2016-09-24 Thread Mulvya V
Hi Attached patch containing correction to description of blend filter. Regards, Mulvya 0001-blend-by-default-terminates-on-longest-input.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/li

Re: [FFmpeg-devel] [PATCH v6 1/3] lavd: Add SDL2 output device

2016-09-24 Thread Carl Eugen Hoyos
2016-09-14 18:20 GMT+02:00 Josh de Kock : > On 14/09/2016 17:17, Carl Eugen Hoyos wrote: >>> +{ AV_PIX_FMT_RGB0, SDL_PIXELFORMAT_RGBX }, >>> +{ AV_PIX_FMT_BGR0, SDL_PIXELFORMAT_BGRX }, >>> +{ AV_PIX_FMT_ARGB, SDL_PIXELFORMAT_ARGB }, >>> +{ AV_PIX_FMT_RGBA, SDL_P

Re: [FFmpeg-devel] [PATCH 0/5] Add SDL2 support & drop SDL1 support

2016-09-24 Thread Lukasz Marek
On 24 September 2016 at 18:17, Josh de Kock wrote: > On 22/09/2016 20:28, Josh de Kock wrote: > >> Hopefully the final iteration of this set--it drops SDL1 support >> entirely rather than adding another ffplay version and keeping the >> SDL1 output device. All of it has been reviewed before, so t

[FFmpeg-devel] [PATCH] avfilter/tests/integral: Remove unused variables

2016-09-24 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavfilter/tests/integral.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/tests/integral.c b/libavfilter/tests/integral.c index 8a2286b..049fefa 100644 --- a/libavfilter/tests/integral.c +++ b/libavfilter/tests/integral.c @@ -62,8 +62,6 @

Re: [FFmpeg-devel] [PATCH]lavf/utils: Avoid an overflow for huge negative durations.

2016-09-24 Thread Michael Niedermayer
On Sat, Sep 24, 2016 at 01:10:35PM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached patch hopefully fixes ticket #5135. > > Please review, Carl Eugen > utils.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > 361dc2ec60e39c2b0822c5c944f93469c237814b > 0001-lavf-utils-Avoid-an-ove

Re: [FFmpeg-devel] [PATCH] avfilter/tests/integral: Remove unused variables

2016-09-24 Thread Clément Bœsch
On Sat, Sep 24, 2016 at 07:47:55PM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavfilter/tests/integral.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/libavfilter/tests/integral.c b/libavfilter/tests/integral.c > index 8a2286b..049fefa 100644 > -

[FFmpeg-devel] [PATCH] lavd/sdl2: remove unused code

2016-09-24 Thread Josh de Kock
Signed-off-by: Josh de Kock --- libavdevice/sdl2.c | 27 +-- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/libavdevice/sdl2.c b/libavdevice/sdl2.c index e8252f0..217ccc0 100644 --- a/libavdevice/sdl2.c +++ b/libavdevice/sdl2.c @@ -48,10 +48,6 @@ typedef st

Re: [FFmpeg-devel] [PATCH] avfilter/tests/integral: Remove unused variables

2016-09-24 Thread Michael Niedermayer
On Sat, Sep 24, 2016 at 07:54:39PM +0200, Clément Bœsch wrote: > On Sat, Sep 24, 2016 at 07:47:55PM +0200, Michael Niedermayer wrote: > > Signed-off-by: Michael Niedermayer > > --- > > libavfilter/tests/integral.c | 2 -- > > 1 file changed, 2 deletions(-) > > > > diff --git a/libavfilter/tests/

[FFmpeg-devel] [PATCH 2/2] ffmpeg: fix memleak of bitstream filter context on failure

2016-09-24 Thread James Almer
Increase the nb_bitstream_filters value as soon as the context is allocated, so if option parsing fails the last context is actually freed. Signed-off-by: James Almer --- ffmpeg_opt.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index 0d

[FFmpeg-devel] [PATCH] news: add sdl entry

2016-09-24 Thread Josh de Kock
--- src/index | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/index b/src/index index f10f8a6..1d797fe 100644 --- a/src/index +++ b/src/index @@ -37,6 +37,13 @@ News + September 24th, 2016, SDL1 support dropped. + +Support for the SDL1 library has been dropped, due

[FFmpeg-devel] [PATCH] avcodec/nvenc: use AVERROR_BUFFER_TOO_SMALL instead of ENOBUFS

2016-09-24 Thread James Almer
Should fix compilation with mingw32. Signed-off-by: James Almer --- libavcodec/nvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index e3edd74..fc5253a 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -114,7 +114,7 @@ s

[FFmpeg-devel] [PATCH 1/2] ffmpeg: fix memleak of encoder options AVDictionary on failure

2016-09-24 Thread James Almer
Signed-off-by: James Almer --- ffmpeg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ffmpeg.c b/ffmpeg.c index 1b363f7..005c631 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -513,6 +513,7 @@ static void ffmpeg_cleanup(int ret) av_frame_free(&ost->filtered_frame); av_frame_fre

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: use AVERROR_BUFFER_TOO_SMALL instead of ENOBUFS

2016-09-24 Thread Timo Rothenpieler
On 9/24/2016 8:31 PM, James Almer wrote: > Should fix compilation with mingw32. > > Signed-off-by: James Almer > --- > libavcodec/nvenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c > index e3edd74..fc5253a 100644 > --- a/liba

Re: [FFmpeg-devel] Secure RTSP

2016-09-24 Thread Jay
This approach should work with the other SSL implementations. They need to provide an implementation of `ffurl_get_file_handle` for getpeername. I will submit a patch according to the instructions I found here ( https://www.ffmpeg.org/developer.html#Submitting-patches-1 ). On Sat, Sep 24, 2016 at

Re: [FFmpeg-devel] [PATCH]lavf/utils: Avoid an overflow for huge negative durations.

2016-09-24 Thread Carl Eugen Hoyos
2016-09-24 19:51 GMT+02:00 Michael Niedermayer : > On Sat, Sep 24, 2016 at 01:10:35PM +0200, Carl Eugen Hoyos wrote: >> Hi! >> >> Attached patch hopefully fixes ticket #5135. >> Fixes ticket #5135. > > LGTM Patch applied. > please also backport Done. Thank you, Carl Eugen _

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: use AVERROR_BUFFER_TOO_SMALL instead of ENOBUFS

2016-09-24 Thread James Almer
On 9/24/2016 3:41 PM, Timo Rothenpieler wrote: > On 9/24/2016 8:31 PM, James Almer wrote: >> Should fix compilation with mingw32. >> >> Signed-off-by: James Almer >> --- >> libavcodec/nvenc.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/libavcodec/nvenc.c b/libavcod

Re: [FFmpeg-devel] [PATCH] news: add sdl entry

2016-09-24 Thread Lou Logan
On Sat, Sep 24, 2016, at 10:26 AM, Josh de Kock wrote: > --- > src/index | 7 +++ > 1 file changed, 7 insertions(+) LGTM, but someone else should commit it since I will be unable to do so for several days. ___ ffmpeg-devel mailing list ffmpeg-devel@

[FFmpeg-devel] [PATCH]lavf/movenc: Allow to disable writing the timecode track

2016-09-24 Thread Carl Eugen Hoyos
Hi! Not everybody is happy about a timecode track in mp4, see ticket #5492. Please comment, Carl Eugen From 47a813709643106b0d0a2eceff822107c395d15c Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 24 Sep 2016 22:38:14 +0200 Subject: [PATCH] lavf/movenc: Allow to disable writing the t

Re: [FFmpeg-devel] [PATCH] news: add sdl entry

2016-09-24 Thread Carl Eugen Hoyos
2016-09-24 22:38 GMT+02:00 Lou Logan : > On Sat, Sep 24, 2016, at 10:26 AM, Josh de Kock wrote: >> --- >> src/index | 7 +++ >> 1 file changed, 7 insertions(+) > > LGTM, but someone else should commit it since I will be > unable to do so for several days. Patch applied. Thank you both, Carl

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: fix memleak of bitstream filter context on failure

2016-09-24 Thread Josh de Kock
On 24/09/2016 19:24, James Almer wrote: [...] Both patches look good to me. -- Josh ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 0/5] Add SDL2 support & drop SDL1 support

2016-09-24 Thread James Almer
On 9/24/2016 1:17 PM, Josh de Kock wrote: > On 22/09/2016 20:28, Josh de Kock wrote: >> Hopefully the final iteration of this set--it drops SDL1 support >> entirely rather than adding another ffplay version and keeping the >> SDL1 output device. All of it has been reviewed before, so there >> shoul

[FFmpeg-devel] avcodec: fix vc1dsp dependencies

2016-09-24 Thread Xiaolei Yu
--- libavcodec/aarch64/Makefile | 2 +- libavcodec/aarch64/h264cmc_neon.S | 2 +- libavcodec/arm/h264cmc_neon.S | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/aarch64/Makefile b/libavcodec/aarch64/Makefile index 36d9d34..c3df887 100644 --- a/libavcodec/