[FFmpeg-devel] [PATCH] lavc/audiotoolbox: fix mappings for surround-direct and surround-center channels

2016-06-09 Thread Rodger Combs
--- libavcodec/audiotoolboxdec.c | 2 +- libavcodec/audiotoolboxenc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/audiotoolboxdec.c b/libavcodec/audiotoolboxdec.c index 2748e8d..3f12a46 100644 --- a/libavcodec/audiotoolboxdec.c +++

Re: [FFmpeg-devel] [PATCH] lavc/audiotoolboxenc: fix dropped frames on iOS

2016-06-09 Thread Rodger Combs
One comment below; otherwise this LGTM. > On Jun 2, 2016, at 01:32, Rick Kern wrote: > > AudioConverterFillComplexBuffer() doesn't always call its callback. A frame > queue is used to prevent skipped audio samples. > > Signed-off-by: Rick Kern > --- >

[FFmpeg-devel] [PATCH] lavf/srtdec: fix probing files with negative first timestamps

2016-06-09 Thread Rodger Combs
--- libavformat/srtdec.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/srtdec.c b/libavformat/srtdec.c index 585aa6a..9ab7a4e 100644 --- a/libavformat/srtdec.c +++ b/libavformat/srtdec.c @@ -52,7 +52,10 @@ static int srt_probe(AVProbeData *p) /* Check if

Re: [FFmpeg-devel] [PATCH] lavc/audiotoolboxenc: fix dropped frames on iOS

2016-06-09 Thread Richard Kern
> On Jun 2, 2016, at 2:32 AM, Rick Kern wrote: > > AudioConverterFillComplexBuffer() doesn't always call its callback. A frame > queue is used to prevent skipped audio samples. > > Signed-off-by: Rick Kern > --- > libavcodec/audiotoolboxenc.c | 78

Re: [FFmpeg-devel] [PATCH 2/2] lavc/videotoolboxenc: set extradata when opening codec

2016-06-09 Thread Richard Kern
> On Jun 8, 2016, at 5:48 AM, Michael Niedermayer > wrote: > > On Thu, Jun 02, 2016 at 02:43:56AM -0400, Rick Kern wrote: >> VideoToolbox doesn't supply parameter sets until the first frame is done >> encoding. This spins up a temporary encoder and encodes a single

Re: [FFmpeg-devel] [PATCH] lavf/img2dec: add ppm pipe demuxer

2016-06-09 Thread Michael Niedermayer
On Thu, Jun 09, 2016 at 04:35:02PM +0200, Clément Bœsch wrote: > On Thu, Jun 09, 2016 at 03:59:30PM +0200, Clément Bœsch wrote: > > On Thu, Jun 09, 2016 at 01:35:19PM +, Carl Eugen Hoyos wrote: > > > Clément Bœsch pkh.me> writes: > > > > > > > +if (b[3] == '#') > > > > +

Re: [FFmpeg-devel] [PATCH 1/2] Remove Benjamin Larsson from MAINTAINERS

2016-06-09 Thread Michael Niedermayer
On Thu, Jun 09, 2016 at 10:01:27PM +0200, Michael Niedermayer wrote: > On Thu, Jun 09, 2016 at 09:21:22PM +0200, Benjamin Larsson wrote: > > --- > > MAINTAINERS | 9 ++--- > > 1 file changed, 2 insertions(+), 7 deletions(-) > > may i ask why you leave ? > i understand you where leaning more

Re: [FFmpeg-devel] Is this the expected behavior in libswscale/input.c

2016-06-09 Thread Dan Parrot
On Thu, 2016-06-09 at 17:01 -0400, Ronald S. Bultje wrote: > Hi, > > On Thu, Jun 9, 2016 at 4:02 PM, Dan Parrot wrote: > > > Line 72 of libswscale/input.c is: > > dstU[i] = (ru*r + gu*g + bu*b + (0x10001<<(RGB2YUV_SHIFT-1))) >> > > RGB2YUV_SHIFT; > > > > The definition of

Re: [FFmpeg-devel] [PATCH] vaapi_encode: explicitly free buffers after vaEndPicture

2016-06-09 Thread Mark Thompson
On 09/06/16 01:10, Will Kelleher wrote: > On 06/08, Mark Thompson wrote: >> On 08/06/16 21:02, Will Kelleher wrote: >>> On 06/08, Mark Thompson wrote: On 08/06/16 18:23, Will Kelleher wrote: > Hi all - > > I'm experiencing some significant heap growth when encoding with VAAPI on

Re: [FFmpeg-devel] [PATCH] avfilter/af_loudnorm: add dual_mono option

2016-06-09 Thread Kyle Swanson
On Tue, Jun 7, 2016 at 11:55 AM, Kyle Swanson wrote: > Signed-off-by: Kyle Swanson > --- > doc/filters.texi | 7 +++ > libavfilter/af_loudnorm.c | 7 +++ > 2 files changed, 14 insertions(+) > > diff --git a/doc/filters.texi b/doc/filters.texi > index

[FFmpeg-devel] [PATCH] avformat/flvenc: support codec config change mid stream

2016-06-09 Thread Ivan
Signed-off-by: Ivan --- libavformat/flvenc.c | 130 ++- 1 file changed, 78 insertions(+), 52 deletions(-) diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c index d62ff70..3536e9a 100644 --- a/libavformat/flvenc.c

Re: [FFmpeg-devel] [PATCH 2/2] Remove MAINTAINERS file

2016-06-09 Thread Michael Niedermayer
On Thu, Jun 09, 2016 at 09:21:23PM +0200, Benjamin Larsson wrote: > The file is highly inaccurate. Maybe just rename it to contributors. > --- > MAINTAINERS | 618 > > 1 file changed, 618 deletions(-) > delete mode 100644 MAINTAINERS

Re: [FFmpeg-devel] [PATCH 2/2] Remove MAINTAINERS file

2016-06-09 Thread James Almer
On 6/9/2016 4:21 PM, Benjamin Larsson wrote: > The file is highly inaccurate. It is outdated in some entries, but at the same time isn't in most. It's not going to be removed just because of the former. ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH] Remove Benjamin Larsson from consulting

2016-06-09 Thread Michael Niedermayer
On Thu, Jun 09, 2016 at 09:15:25PM +0200, Benjamin Larsson wrote: > --- > src/consulting | 11 --- > 1 file changed, 11 deletions(-) applied [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Republics decline into democracies and democracies degenerate

Re: [FFmpeg-devel] [PATCH] lavu/intmath.h: fix compilation with msvc10.

2016-06-09 Thread Michael Niedermayer
On Mon, Jun 06, 2016 at 05:11:34PM +1000, Matt Oliver wrote: > --- > libavutil/x86/intmath.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavutil/x86/intmath.h b/libavutil/x86/intmath.h > index f58b0d0..de177dd 100644 > --- a/libavutil/x86/intmath.h > +++

[FFmpeg-devel] [PATCH 2/2] Remove MAINTAINERS file

2016-06-09 Thread Benjamin Larsson
The file is highly inaccurate. Maybe just rename it to contributors. --- MAINTAINERS | 618 1 file changed, 618 deletions(-) delete mode 100644 MAINTAINERS diff --git a/MAINTAINERS b/MAINTAINERS deleted file mode 100644 index

[FFmpeg-devel] [PATCH 1/2] Remove Benjamin Larsson from MAINTAINERS

2016-06-09 Thread Benjamin Larsson
--- MAINTAINERS | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 9d9337b..6c6844c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -146,7 +146,6 @@ Codecs: apedec.c Kostya Shishkov ass*

[FFmpeg-devel] [PATCH] Remove Benjamin Larsson from consulting

2016-06-09 Thread Benjamin Larsson
--- src/consulting | 11 --- 1 file changed, 11 deletions(-) diff --git a/src/consulting b/src/consulting index dfa0576..d281ebf 100644 --- a/src/consulting +++ b/src/consulting @@ -59,17 +59,6 @@ E.g.: - Benjamin Larsson - -Benjamin Larsson is located

[FFmpeg-devel] Request : Management of duplicated RTP packets in rtpdec.c

2016-06-09 Thread Sylvain Fabre
Hi all, We are decoding a RTSP/RTP video caming from a camera behind a RF link + switch,. Somwehere in the network path, some RTP packets are "duplicated", probably by the RF link. In terms of ffmpeg result, we get a lot of corrupted frames, and the following message each time a frame is

Re: [FFmpeg-devel] [PATCH] swscale/swscale-test: Code to test scaler with slices

2016-06-09 Thread Michael Niedermayer
On Wed, Jun 08, 2016 at 10:04:46PM -0300, Pedro Arthur wrote: > Hi, I took the time to investigate it and I find a few bugs which I'm > attaching a patch for them. patches LGTM > Yet I'm not convinced that it is a definitive fix, since the output of > swscale-test differs in some cases when

Re: [FFmpeg-devel] [PATCH 0/5] avutil/qsv add hwcontext_qsv

2016-06-09 Thread Michael Niedermayer
On Mon, Jun 06, 2016 at 05:25:41PM +0700, nablet developer wrote: > > > On 06 Jun 2016, at 16:40, Mark Thompson wrote: > > > > On 06/06/16 09:25, nablet developer wrote: > >> ping. any feedback? > > > > Perhaps you could comment on the merits and functionality of your version

Re: [FFmpeg-devel] [PATCH] lavf/img2dec: add ppm pipe demuxer

2016-06-09 Thread Clément Bœsch
On Thu, Jun 09, 2016 at 03:59:30PM +0200, Clément Bœsch wrote: > On Thu, Jun 09, 2016 at 01:35:19PM +, Carl Eugen Hoyos wrote: > > Clément Bœsch pkh.me> writes: > > > > > +if (b[3] == '#') > > > +return AVPROBE_SCORE_EXTENSION + 1; > > > +if (b[3] >=

Re: [FFmpeg-devel] [PATCH] lavf/img2dec: add ppm pipe demuxer

2016-06-09 Thread Clément Bœsch
On Thu, Jun 09, 2016 at 01:35:19PM +, Carl Eugen Hoyos wrote: > Clément Bœsch pkh.me> writes: > > > +if (b[3] == '#') > > +return AVPROBE_SCORE_EXTENSION + 1; > > +if (b[3] >= '0' && b[3] <= '9') > > +return AVPROBE_SCORE_MAX - 1; > >

Re: [FFmpeg-devel] [PATCH][libavfilter] codecview: improved options

2016-06-09 Thread Davinder Singh
On Mon, May 30, 2016 at 1:45 PM Michael Niedermayer wrote: > On Mon, May 23, 2016 at 05:09:35PM +, Davinder Singh wrote: > > vf_codecview.c | 55 > +-- > > 1 file changed, 45 insertions(+), 10 deletions(-) > >

Re: [FFmpeg-devel] [PATCH] lavf/img2dec: add ppm pipe demuxer

2016-06-09 Thread Carl Eugen Hoyos
Clément Bœsch pkh.me> writes: > +if (b[3] == '#') > +return AVPROBE_SCORE_EXTENSION + 1; > +if (b[3] >= '0' && b[3] <= '9') > +return AVPROBE_SCORE_MAX - 1; Imo, this should be: if (b[3] == '#' || (b[3] >= '0' && b[3] <= '9')) return

[FFmpeg-devel] Where and how to add a custom hardware decoder in libavcodec ?

2016-06-09 Thread Sunny Shukla
Hi, I am new to ffmpeg, am working on a custom* board* which has its own hardware decoder. I have a linux application for hardware decoder which take a h264 file as input and provides a yuv file as output. It working fine, now we are extending this support to *gstreamer* and *ffmpeg* libraries.

[FFmpeg-devel] [PATCH] lavf/img2dec: add ppm pipe demuxer

2016-06-09 Thread Clément Bœsch
From: Clément Bœsch --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/img2dec.c| 18 ++ libavformat/version.h| 4 ++-- 4 files changed, 22 insertions(+), 2 deletions(-) diff --git a/libavformat/Makefile

Re: [FFmpeg-devel] [PATCH] lavf/matroskaenc.c: use metadata key/value to set mastering metadata

2016-06-09 Thread Dave Rice
> On Jun 8, 2016, at 11:03 PM, Neil Birkbeck wrote: > > The most recent patch should still apply cleanly (unless we have a > better way to set these elements). Thanks There are specific mastering metadata elements as recently defined in the Matroska specification [1].