[FFmpeg-devel] [PATCH] Made minor changes to get the decklink avdevice code to build using Visual C++

2017-04-12 Thread Aaron Levinson
From aa549cf1c463f4a37bda44b934e17811986f11d9 Mon Sep 17 00:00:00 2001 From: Aaron Levinson Date: Wed, 12 Apr 2017 20:21:41 -0700 Subject: [PATCH] Made minor changes to get the decklink avdevice code to build using Visual C++ Purpose: Made minor changes to get the decklink

[FFmpeg-devel] [PATCH] avdevice/decklink: Removed pthread dependency

2017-04-12 Thread Aaron Levinson
From d175e7fc94a2efc4f0bad021c118e4f907832c9c Mon Sep 17 00:00:00 2001 From: Aaron Levinson Date: Wed, 12 Apr 2017 20:12:11 -0700 Subject: [PATCH] avdevice/decklink: Removed pthread dependency Purpose: avdevice/decklink: Removed pthread dependency by replacing semaphore

Re: [FFmpeg-devel] [PATCH] avdevice/decklink: Removed pthread dependency. Made minor changes to get the decklink avdevice code to build using Visual C++.

2017-04-12 Thread Aaron Levinson
On 4/12/2017 6:51 PM, Marton Balint wrote: On Wed, 12 Apr 2017, Aaron Levinson wrote: From bcc0ec4a0bb64e74b9c9369087708f55569bf50e Mon Sep 17 00:00:00 2001 From: Aaron Levinson Date: Wed, 12 Apr 2017 16:41:53 -0700 Subject: [PATCH] avdevice/decklink: Removed pthread

Re: [FFmpeg-devel] [PATCH v2 2/2] avfilter/interlace: add complex vertical low-pass filter

2017-04-12 Thread James Almer
On 4/12/2017 9:39 PM, Thomas Mundt wrote: Michael Niedermayer schrieb am Mi, 12.4.2017: > On Thu, Mar 30, 2017 at 12:21:58AM +, Thomas Mundt wrote: > Lou Logan schrieb am Do, 30.3.2017: On Mon, 13 Mar 2017 16:23:46 + (UTC) Thomas Mundt wrote:

Re: [FFmpeg-devel] [PATCH 1/2] opus_pvq: add resynth support and band encoding cost function

2017-04-12 Thread Rostislav Pehlivanov
On 12 April 2017 at 23:50, Carl Eugen Hoyos wrote: > 2017-04-13 0:26 GMT+02:00 Rostislav Pehlivanov : > > > +/* Undo the sample reorganization going from time order to > frequency order */ > > +if (B0 > 1) > > +

Re: [FFmpeg-devel] [PATCH]lsws/utils: Make gray10 and gray12 full-scale like gray8 and gray16

2017-04-12 Thread James Almer
On 4/12/2017 6:01 PM, Carl Eugen Hoyos wrote: > 2017-04-04 14:01 GMT+02:00 Ronald S. Bultje : >> Hi, >> >> On Tue, Apr 4, 2017 at 6:33 AM, Carl Eugen Hoyos wrote: >> >>> Hi! >>> >>> I believe attached patch makes FFmpeg a little more consistent with itself.

Re: [FFmpeg-devel] [PATCH] avdevice/decklink: Removed pthread dependency. Made minor changes to get the decklink avdevice code to build using Visual C++.

2017-04-12 Thread Marton Balint
On Wed, 12 Apr 2017, Aaron Levinson wrote: From bcc0ec4a0bb64e74b9c9369087708f55569bf50e Mon Sep 17 00:00:00 2001 From: Aaron Levinson Date: Wed, 12 Apr 2017 16:41:53 -0700 Subject: [PATCH] avdevice/decklink: Removed pthread dependency. Made minor changes to get the

Re: [FFmpeg-devel] [PATCH] Fixed bug encountered when decoding interlaced video

2017-04-12 Thread Aaron Levinson
On 3/26/2017 10:34 AM, Aaron Levinson wrote: > On 3/26/2017 4:41 AM, Matthias Hunstock wrote: >> Am 26.03.2017 um 11:50 schrieb Aaron Levinson: >>> When using the following command to play back either file: >>> ffmpeg -i -f decklink -pix_fmt uyvy422 "DeckLink SDI >>> 4K", I noticed that with

[FFmpeg-devel] [PATCH] avcodec/aac_adtstoasc: fix ASC passthrough on small frames

2017-04-12 Thread James Almer
ASC frames smaller than AAC_ADTS_HEADER_SIZE were being discarded. Signed-off-by: James Almer --- libavcodec/aac_adtstoasc_bsf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/aac_adtstoasc_bsf.c b/libavcodec/aac_adtstoasc_bsf.c index

Re: [FFmpeg-devel] [PATCH v2 2/2] avfilter/interlace: add complex vertical low-pass filter

2017-04-12 Thread Thomas Mundt
>>>Michael Niedermayer schrieb am Mi, 12.4.2017: On Thu, Mar 30, 2017 at 12:21:58AM +, Thomas Mundt wrote: >> >>Lou Logan schrieb am Do, 30.3.2017: >> > On Mon, 13 Mar 2017 16:23:46 + (UTC) >> > Thomas Mundt wrote: >> > >> > [...] >> >> index 09ca4d3..0b5b858

[FFmpeg-devel] [PATCH] avdevice/decklink: Removed pthread dependency. Made minor changes to get the decklink avdevice code to build using Visual C++.

2017-04-12 Thread Aaron Levinson
From bcc0ec4a0bb64e74b9c9369087708f55569bf50e Mon Sep 17 00:00:00 2001 From: Aaron Levinson Date: Wed, 12 Apr 2017 16:41:53 -0700 Subject: [PATCH] avdevice/decklink: Removed pthread dependency. Made minor changes to get the decklink avdevice code to build using Visual C++.

[FFmpeg-devel] [PATCH] Made appropriate changes to be able to successfully build C++ files using a Visual C++ build on Windows

2017-04-12 Thread Aaron Levinson
From 722cbb5f6544323430d883212ac2e38c4eb94e5f Mon Sep 17 00:00:00 2001 From: Aaron Levinson Date: Wed, 12 Apr 2017 16:33:39 -0700 Subject: [PATCH] Made appropriate changes to be able to successfully build C++ files using a Visual C++ build on Windows. Purpose: Made

[FFmpeg-devel] [PATCH] avformat/hls allow playback when some variant streams are unavailable

2017-04-12 Thread Tim Hunt
addresses ticket #2617 The test url given in the bug report is now working and has been playing for a couple of hours. http://amd.cdn.turner.com/adultswim/big/streams/playlists/toonami.m3u8 --- libavformat/hls.c | 26 -- 1 file changed, 20 insertions(+), 6 deletions(-)

Re: [FFmpeg-devel] [PATCH]configure: Fix libopus detection

2017-04-12 Thread Carl Eugen Hoyos
2017-03-30 1:52 GMT+02:00 James Almer : > On 3/29/2017 7:47 PM, Carl Eugen Hoyos wrote: >> Hi! >> >> Attached patch fixes a compilation error here. >> >> Please test for success, Carl Eugen >> >> >> 0001-configure-Fix-libopus-detection.patch >> >> >> From

Re: [FFmpeg-devel] [PATCH 1/2] opus_pvq: add resynth support and band encoding cost function

2017-04-12 Thread Carl Eugen Hoyos
2017-04-13 0:26 GMT+02:00 Rostislav Pehlivanov : > +/* Undo the sample reorganization going from time order to frequency > order */ > +if (B0 > 1) > +celt_interleave_hadamard(f->scratch, X, N_B >> recombine, > +

Re: [FFmpeg-devel] [PATCH] avcodec/aacenc_ltp: fix use of uninitialized values

2017-04-12 Thread James Almer
On 4/12/2017 10:06 AM, Rostislav Pehlivanov wrote: > On 12 April 2017 at 03:18, James Almer wrote: > >> Fixes some valgrind warnings. >> >> Signed-off-by: James Almer >> --- >> libavcodec/aacenc_ltp.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2

[FFmpeg-devel] [PATCH 1/2] opus_pvq: add resynth support and band encoding cost function

2017-04-12 Thread Rostislav Pehlivanov
Signed-off-by: Rostislav Pehlivanov --- libavcodec/opus_pvq.c | 154 -- libavcodec/opus_pvq.h | 3 + 2 files changed, 141 insertions(+), 16 deletions(-) diff --git a/libavcodec/opus_pvq.c b/libavcodec/opus_pvq.c index

[FFmpeg-devel] [PATCH 2/2] opusenc: (WIP) add a new psychoacoustic system for the native Opus encoder

2017-04-12 Thread Rostislav Pehlivanov
Analyzes the lookahead by doing an MDCT (ignores lower bands since the resolution is so low there its just leakage that's left), then calculating the difference in energy in each band by feeding the difference through a bandpass 2nd order Bessel filter. Then, the entire change of the lookahead is

Re: [FFmpeg-devel] [PATCH]lsws/utils: Make gray10 and gray12 full-scale like gray8 and gray16

2017-04-12 Thread Carl Eugen Hoyos
2017-04-13 0:09 GMT+02:00 Ronald S. Bultje : > Hi, > > On Tue, Apr 4, 2017 at 8:01 AM, Ronald S. Bultje wrote: > >> On Tue, Apr 4, 2017 at 6:33 AM, Carl Eugen Hoyos wrote: >> >>> I believe attached patch makes FFmpeg a little more

Re: [FFmpeg-devel] [PATCH]lsws/utils: Make gray10 and gray12 full-scale like gray8 and gray16

2017-04-12 Thread Ronald S. Bultje
Hi, On Tue, Apr 4, 2017 at 8:01 AM, Ronald S. Bultje wrote: > On Tue, Apr 4, 2017 at 6:33 AM, Carl Eugen Hoyos wrote: > >> I believe attached patch makes FFmpeg a little more consistent with >> itself. > > > Looks like it, yes. > > This patch does expose a

Re: [FFmpeg-devel] [PATCH v2 2/2] avfilter/interlace: add complex vertical low-pass filter

2017-04-12 Thread Michael Niedermayer
On Thu, Mar 30, 2017 at 12:21:58AM +, Thomas Mundt wrote: > >>Lou Logan schrieb am Do, 30.3.2017: > > On Mon, 13 Mar 2017 16:23:46 + (UTC) > > Thomas Mundt wrote: > > > > [...] > >> index 09ca4d3..0b5b858 100644 > >> --- a/libavfilter/vf_tinterlace.c > >> +++

Re: [FFmpeg-devel] [PATCH]lsws/utils: Make gray10 and gray12 full-scale like gray8 and gray16

2017-04-12 Thread Carl Eugen Hoyos
2017-04-04 14:01 GMT+02:00 Ronald S. Bultje : > Hi, > > On Tue, Apr 4, 2017 at 6:33 AM, Carl Eugen Hoyos wrote: > >> Hi! >> >> I believe attached patch makes FFmpeg a little more consistent with itself. > > > Looks like it, yes. Patch applied. Thank you for

Re: [FFmpeg-devel] [PATCH]configure: Fix decklink license dependency

2017-04-12 Thread Carl Eugen Hoyos
2017-04-03 18:40 GMT+02:00 Carl Eugen Hoyos : > 2017-04-03 13:34 GMT+02:00 Ricardo Constantino : >> On 3 April 2017 at 10:56, Carl Eugen Hoyos wrote: >> >>> 2017-04-01 16:37 GMT+02:00 Ricardo Constantino : >>> > On 1

Re: [FFmpeg-devel] [PATCH]lavf/isom: Remove an incorrect codec point for WMAv2

2017-04-12 Thread Carl Eugen Hoyos
2017-03-28 23:57 GMT+02:00 Carl Eugen Hoyos : > Hi! > > libavformat contains a codec point for WMAv2 for many years, it allows to > write undecodable files but does not allow to decode existing (flip4mac) > files. > I believe the flip4mac files should be read differently, without

Re: [FFmpeg-devel] [PATCH] lavu/attributes: add av_never_inline macro

2017-04-12 Thread Muhammad Faiz
On Thu, Apr 13, 2017 at 3:10 AM, Rostislav Pehlivanov wrote: > Very useful for determining hot functions without recompiling everything > with inlining disabled. > > Signed-off-by: Rostislav Pehlivanov > --- > libavutil/attributes.h | 10 ++ >

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Fix potential leak of sgpd_entries array.

2017-04-12 Thread Michael Niedermayer
On Wed, Apr 12, 2017 at 02:12:17PM +1200, Matthew Gregan wrote: > > > Signed-off-by: Matthew Gregan > --- > libavformat/movenc.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) applied thx [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH] lavu/attributes: add av_never_inline macro

2017-04-12 Thread James Almer
On 4/12/2017 5:10 PM, Rostislav Pehlivanov wrote: > Very useful for determining hot functions without recompiling everything > with inlining disabled. If it's only useful for developers, then it shouldn't be a public attribute. Add it to internal.h, like with attribute_align_arg and av_export.

[FFmpeg-devel] [PATCH] lavu/attributes: add av_never_inline macro

2017-04-12 Thread Rostislav Pehlivanov
Very useful for determining hot functions without recompiling everything with inlining disabled. Signed-off-by: Rostislav Pehlivanov --- libavutil/attributes.h | 10 ++ libavutil/version.h| 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git

Re: [FFmpeg-devel] [PATCHv3] avfilter/vf_framerate: always request input if no output is provided in request_frame

2017-04-12 Thread Nicolas George
Le tridi 23 germinal, an CCXXV, Marton Balint a écrit : > Note that the above code which I moved returns 0 if ff_request_frame returns > AVERROR_EOF. As far as I see, this can only happen a few times, not > infinitely, so I am not sure if this is an error or not, so I kept is as it > was before.

Re: [FFmpeg-devel] [PATCHv3] avfilter/vf_framerate: always request input if no output is provided in request_frame

2017-04-12 Thread Marton Balint
On Sat, 8 Apr 2017, Marton Balint wrote: Fixes ticket #6285. Signed-off-by: Marton Balint --- libavfilter/vf_framerate.c | 42 ++ 1 file changed, 26 insertions(+), 16 deletions(-) Applied this as well. @@ -695,7 +689,23 @@ static int

Re: [FFmpeg-devel] [PATCH] tests/fate/filter-video: fix framerate filter tests

2017-04-12 Thread Marton Balint
On Sat, 8 Apr 2017, Marton Balint wrote: Signed-off-by: Marton Balint --- tests/fate/filter-video.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index b40422a..f185897 100644 ---

Re: [FFmpeg-devel] [PATCHv2] ffprobe: only use custom logging callback if -show_log is set

2017-04-12 Thread Marton Balint
On Tue, 11 Apr 2017, Marton Balint wrote: The custom callback can cause significant CPU usage on Windows for some large files with many index entries for some reason. v2: Move check after parsing options. Signed-off-by: Marton Balint --- Applied. Regards, Marton

Re: [FFmpeg-devel] [PATCH 5/5] lavu/bprint: add URL escaping

2017-04-12 Thread Nicolas George
Le tridi 23 germinal, an CCXXV, Rodger Combs a écrit : > --- > libavutil/avstring.h | 1 + > libavutil/bprint.c | 11 +++ > libavutil/version.h | 2 +- > 3 files changed, 13 insertions(+), 1 deletion(-) > > diff --git a/libavutil/avstring.h b/libavutil/avstring.h > index

Re: [FFmpeg-devel] [PATCH 3/5] ffprobe: switch xml_escape_str to use av_bprint_escape

2017-04-12 Thread Nicolas George
Le tridi 23 germinal, an CCXXV, Rodger Combs a écrit : > This now escapes single-quotes, so the test reference is updated. > --- > ffprobe.c | 25 ++--- > tests/ref/fate/ffprobe_xml | 2 +- > 2 files changed, 7 insertions(+), 20 deletions(-) Looks ok, but I

Re: [FFmpeg-devel] [PATCH 2/5] lavu/bprint: add XML escaping

2017-04-12 Thread Nicolas George
Le tridi 23 germinal, an CCXXV, Rodger Combs a écrit : > --- > libavutil/avstring.h | 28 > libavutil/bprint.c | 43 +++ > 2 files changed, 71 insertions(+) > > diff --git a/libavutil/avstring.h b/libavutil/avstring.h > index

Re: [FFmpeg-devel] [PATCH 1/5] lavu/bprint: reorder cases to match enum order

2017-04-12 Thread Nicolas George
Le tridi 23 germinal, an CCXXV, Rodger Combs a écrit : > --- > libavutil/bprint.c | 25 + > 1 file changed, 13 insertions(+), 12 deletions(-) No objection. (At some point, I would like to have the default case become something like "av_assert0(!"invalid escape mode")",

Re: [FFmpeg-devel] [PATCH] avcodec/aacenc_ltp: fix use of uninitialized values

2017-04-12 Thread Rostislav Pehlivanov
On 12 April 2017 at 03:18, James Almer wrote: > Fixes some valgrind warnings. > > Signed-off-by: James Almer > --- > libavcodec/aacenc_ltp.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/aacenc_ltp.c

[FFmpeg-devel] [PATCH 5/5] lavu/bprint: add URL escaping

2017-04-12 Thread Rodger Combs
--- libavutil/avstring.h | 1 + libavutil/bprint.c | 11 +++ libavutil/version.h | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/libavutil/avstring.h b/libavutil/avstring.h index 68b753a569..cce210 100644 --- a/libavutil/avstring.h +++

[FFmpeg-devel] [PATCH 3/5] ffprobe: switch xml_escape_str to use av_bprint_escape

2017-04-12 Thread Rodger Combs
This now escapes single-quotes, so the test reference is updated. --- ffprobe.c | 25 ++--- tests/ref/fate/ffprobe_xml | 2 +- 2 files changed, 7 insertions(+), 20 deletions(-) diff --git a/ffprobe.c b/ffprobe.c index 0a9ba14d8d..5c5bdaf3b1 100644 ---

[FFmpeg-devel] [PATCH 4/5] lavc/webvttenc: XML-escape text output

2017-04-12 Thread Rodger Combs
The test output was previously incorrect, so the reference is updated. --- libavcodec/webvttenc.c | 7 ++- tests/ref/fate/sub-webvttenc | 20 ++-- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/libavcodec/webvttenc.c b/libavcodec/webvttenc.c index

[FFmpeg-devel] [PATCH 2/5] lavu/bprint: add XML escaping

2017-04-12 Thread Rodger Combs
--- libavutil/avstring.h | 28 libavutil/bprint.c | 43 +++ 2 files changed, 71 insertions(+) diff --git a/libavutil/avstring.h b/libavutil/avstring.h index 04d2695640..68b753a569 100644 --- a/libavutil/avstring.h +++

[FFmpeg-devel] [PATCH 1/5] lavu/bprint: reorder cases to match enum order

2017-04-12 Thread Rodger Combs
--- libavutil/bprint.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/libavutil/bprint.c b/libavutil/bprint.c index 2f059c5ba6..652775bef9 100644 --- a/libavutil/bprint.c +++ b/libavutil/bprint.c @@ -271,19 +271,8 @@ void av_bprint_escape(AVBPrint

[FFmpeg-devel] [PATCH 1/5] lavu/bprint: reorder cases to match enum order

2017-04-12 Thread Rodger Combs
--- libavutil/bprint.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/libavutil/bprint.c b/libavutil/bprint.c index 2f059c5ba6..652775bef9 100644 --- a/libavutil/bprint.c +++ b/libavutil/bprint.c @@ -271,19 +271,8 @@ void av_bprint_escape(AVBPrint

Re: [FFmpeg-devel] [PATCH v14] avformat/dashdec: add dash demuxer base version

2017-04-12 Thread Rodger Combs
> On Apr 9, 2017, at 09:08, Steven Liu wrote: > > ffmpeg need a dash demuxer for demux the dash formats > base on > https://github.com/samsamsam-iptvplayer/exteplayer3/blob/master/tmp/ffmpeg/patches/3.2.2/01_add_dash_demux.patch > > TODO: > 1. support multi bitrate