[FFmpeg-devel] libavdevice/decklink: advanced options for selecting an input connection

2016-05-09 Thread Felipe Astroza
This patch add additional input options: video input connection (vinput), audio input connection (ainput). Usage: ffmpeg -f decklink -i 'Card name'@fmt :vinput:ainput Where fmt, vinput and ainput are optional Also it adds list_vinputs and list_ainputs

Re: [FFmpeg-devel] [PATCH] vf_colorspace: fix range order.

2016-05-09 Thread Paul B Mahol
On 5/6/16, Ronald S. Bultje wrote: > --- > libavfilter/vf_colorspace.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavfilter/vf_colorspace.c b/libavfilter/vf_colorspace.c > index dd66a4e..7776a61 100644 > --- a/libavfilter/vf_colorspace.c >

Re: [FFmpeg-devel] [PATCH] avcodec: add properties for lossless to AVCodecParameters

2016-05-09 Thread wm4
On Sun, 8 May 2016 17:33:32 +0200 Michael Niedermayer wrote: > On Sun, May 08, 2016 at 04:10:01PM +0200, wm4 wrote: > > On Sun, 8 May 2016 12:10:07 +0200 > > Michael Niedermayer wrote: > > > > > Fixes Ticket5467 > > > > > > Signed-off-by:

[FFmpeg-devel] [PATCH] avfilter/vf_fps: set fps value boundaries

2016-05-09 Thread Przemysław Sobala
--- libavfilter/vf_fps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c index 0500e97..20ccd79 100644 --- a/libavfilter/vf_fps.c +++ b/libavfilter/vf_fps.c @@ -62,7 +62,7 @@ typedef struct FPSContext { #define V

[FFmpeg-devel] [PATCH] libavutil/opt: add writing AV_OPT_TYPE_VIDEO_RATE AVOption

2016-05-09 Thread Przemysław Sobala
--- libavutil/opt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/opt.c b/libavutil/opt.c index 70a68d9..e63bd8a 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -136,6 +136,7 @@ static int write_number(void *obj, const AVOption *o, void *dst, double num, int

[FFmpeg-devel] [PATCH 2/2] avfilter/f_metadata: update print output header line format

2016-05-09 Thread Tobias Rapp
Update print mode output header line format to be more consistent with other log output of FFmpeg. The printf-modifiers have been inspired by the showinfo filter. Signed-off-by: Tobias Rapp --- libavfilter/f_metadata.c | 8 1 file changed, 4 insertions(+), 4

[FFmpeg-devel] [PATCH 1/2] avfilter/f_metadata: add pts_time to print output

2016-05-09 Thread Tobias Rapp
This allows e.g. to correlate signalstats metadata to time position without having to find out the filter chain timebase first. Signed-off-by: Tobias Rapp --- libavfilter/f_metadata.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[FFmpeg-devel] av_image_get_buffer_size

2016-05-09 Thread Paolo Delle Piane
Hi at all, Please, can you tell me how to solve this compilation or linker error using gcc: undefined reference to `av_image_get_buffer_size` Which header file must be used with the function av_image_get_buffer_size ? I included libavutil/avutil.h, libavutil/imgutils.h,

Re: [FFmpeg-devel] [PATCH 2/2] configure: Enable GCC vectorization on ≥4.9

2016-05-09 Thread Clément Bœsch
On Sun, May 08, 2016 at 11:15:22PM -0300, James Almer wrote: [...] > >>> there where failures with some gcc versions recetly on fate that > >>> disappesred when the gcc version used on these clients changed. > >>> I dont know if anyone identified what was the cause of these issues > >> > >> Do you

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/f_metadata: add pts_time to print output

2016-05-09 Thread Paul B Mahol
On 5/9/16, Tobias Rapp wrote: > This allows e.g. to correlate signalstats metadata to time position > without having to find out the filter chain timebase first. > > Signed-off-by: Tobias Rapp > --- > libavfilter/f_metadata.c | 7 +-- > 1 file

Re: [FFmpeg-devel] [PATCH 2/2] avfilter/f_metadata: update print output header line format

2016-05-09 Thread Paul B Mahol
On 5/9/16, Tobias Rapp wrote: > Update print mode output header line format to be more consistent with > other log output of FFmpeg. The printf-modifiers have been inspired by > the showinfo filter. > > Signed-off-by: Tobias Rapp > --- >

Re: [FFmpeg-devel] av_image_get_buffer_size

2016-05-09 Thread Moritz Barsnick
Hi Paolo, On Mon, May 09, 2016 at 12:10:07 +0200, Paolo Delle Piane wrote: > Please, can you tell me how to solve this compilation or linker error using > gcc: undefined reference to `av_image_get_buffer_size` Questions regarding the use of/programming with the ffmpeg libraries belong into the

Re: [FFmpeg-devel] [PATCH] avcodec: add properties for lossless to AVCodecParameters

2016-05-09 Thread Michael Niedermayer
On Sun, May 08, 2016 at 05:42:13PM +0200, Hendrik Leppkes wrote: > On Sun, May 8, 2016 at 5:33 PM, Michael Niedermayer > wrote: > > On Sun, May 08, 2016 at 04:10:01PM +0200, wm4 wrote: > >> On Sun, 8 May 2016 12:10:07 +0200 > >> Michael Niedermayer

Re: [FFmpeg-devel] [PATCH] vf_colorspace: make whitepoint adaptation mode configurable.

2016-05-09 Thread Ronald S. Bultje
Hi, On Fri, May 6, 2016 at 9:40 AM, Ronald S. Bultje wrote: > Also add von kries whitepoint adaptation, and add 'identity' to turn > whitepoint adaptation off. > --- > doc/filters.texi| 15 +++ > libavfilter/vf_colorspace.c | 39

[FFmpeg-devel] [PATCH]lavc/mjpegdec: Read polarity field from AVI1 chunk

2016-05-09 Thread Carl Eugen Hoyos
Hi! Attached aptch fixes ticket #5523 for me, I only tested the files attached there. Please comment, Carl EugenFrom 389009e064e9e2b4a1a35d1add0efe1b643c1a62 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Mon, 9 May 2016 14:40:22 +0200 Subject: [PATCH] lavc/mjpegdec:

Re: [FFmpeg-devel] [PATCH] avcodec: add properties for lossless to AVCodecParameters

2016-05-09 Thread Derek Buitenhuis
On 5/9/2016 1:29 PM, Michael Niedermayer wrote: > Also theres a deeper problem, > User want, benefit from and sometimes need, "every single piece of > information a decoder might output.", well not "every" of course > but its hard to draw lines what may be needed and what not. They can decode a

Re: [FFmpeg-devel] [PATCH] avcodec: add properties for lossless to AVCodecParameters

2016-05-09 Thread Derek Buitenhuis
On 5/9/2016 8:36 AM, wm4 wrote: > I'd argue that AVCodecParameters should contain only container > properties, or we'd end up with duplicating most of AVCodecContext in > it. Agreed. IMO the correct solution for user applications is to decode a frame. It's not reasonable to expect a *demuxer* to

Re: [FFmpeg-devel] [PATCH]lavc/mjpegdec: Read polarity field from AVI1 chunk

2016-05-09 Thread Thilo Borgmann
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 7d38fc2..74884f1 100644 [...] s->buggy_avid = 1; -i = get_bits(>gb, 8); len--; +s->interlace_polarity = get_bits(>gb, 8); len--; av_log(s->avctx, AV_LOG_DEBUG, "polarity %d\n", i); I assume the

[FFmpeg-devel] [PATCH] mjpegdec: Properly fail on malloc failure

2016-05-09 Thread Derek Buitenhuis
Signed-off-by: Derek Buitenhuis --- libavcodec/mjpegdec.c | 56 +++ 1 file changed, 30 insertions(+), 26 deletions(-) diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 7d38fc2..32e8cee 100644 ---

Re: [FFmpeg-devel] [PATCH] avfilter/vf_fps: set fps value boundaries

2016-05-09 Thread Michael Niedermayer
On Mon, May 09, 2016 at 11:17:23AM +0200, Przemysław Sobala wrote: > --- > libavfilter/vf_fps.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied but there are many more that have AV_OPT_TYPE_VIDEO_RATE with 0,0 thx [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH] avcodec: add properties for lossless to AVCodecParameters

2016-05-09 Thread Carl Eugen Hoyos
Michael Niedermayer niedermayer.cc> writes: > Fixes Ticket5467 This should get applied asap imo. Arguing that the frame should be decoded a second time to get the information seems like a good argument in favour of this patch. Thank you for trying to help, Carl Eugen

Re: [FFmpeg-devel] [PATCH] avcodec: add properties for lossless to AVCodecParameters

2016-05-09 Thread Carl Eugen Hoyos
Derek Buitenhuis gmail.com> writes: > It's not reasonable to expect a *demuxer* to provide decoder info. So can you answer why the codec aspect ratio is provided but other information is not? Do you agree that the answer is that decoders need this information? Carl Eugen

Re: [FFmpeg-devel] [PATCH] avcodec: add properties for lossless to AVCodecParameters

2016-05-09 Thread Derek Buitenhuis
On 5/9/2016 1:48 PM, Carl Eugen Hoyos wrote: > This should get applied asap imo. NAK! This patch has at least 3 people dissenting and it doesn't actually "fix" anything except cosmetic output on the console, which is NOT meant to be parsed not even stable. > Arguing that the frame should be

Re: [FFmpeg-devel] [PATCH] avcodec: add properties for lossless to AVCodecParameters

2016-05-09 Thread Derek Buitenhuis
On 5/9/2016 1:52 PM, Carl Eugen Hoyos wrote: > So can you answer why the codec aspect ratio is provided but > other information is not? Most because e.g. some *conatiners* need this info. No containers, to my knowledge, need this 'lossless' info. > Do you agree that the answer is that decoders

Re: [FFmpeg-devel] [PATCH] avfilter/vf_fps: set fps value boundaries

2016-05-09 Thread Przemysław Sobala
W dniu 09.05.2016 o 15:00, Michael Niedermayer pisze: On Mon, May 09, 2016 at 11:17:23AM +0200, Przemysław Sobala wrote: --- libavfilter/vf_fps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) applied but there are many more that have AV_OPT_TYPE_VIDEO_RATE with 0,0 thx Yes,

Re: [FFmpeg-devel] [PATCH] avcodec: add properties for lossless to AVCodecParameters

2016-05-09 Thread Paul B Mahol
On 5/9/16, Derek Buitenhuis wrote: > On 5/9/2016 1:52 PM, Carl Eugen Hoyos wrote: >> So can you answer why the codec aspect ratio is provided but >> other information is not? > > Most because e.g. some *conatiners* need this info. No containers, to my > knowledge, need

Re: [FFmpeg-devel] [PATCH] avcodec: add properties for lossless to AVCodecParameters

2016-05-09 Thread Derek Buitenhuis
On 5/9/2016 2:19 PM, Paul B Mahol wrote: > Isn't st->codec deprecated? It is, but the old behavior should be maintained for the duration of its deprecation period. It's a bug not to add it back to st->codec in my opinion. - Derek ___ ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avcodec: add properties for lossless to AVCodecParameters

2016-05-09 Thread Paul B Mahol
On 5/9/16, Derek Buitenhuis wrote: > On 5/9/2016 2:19 PM, Paul B Mahol wrote: >> Isn't st->codec deprecated? > > It is, but the old behavior should be maintained for the duration > of its deprecation period. It's a bug not to add it back to st->codec > in my opinion.

Re: [FFmpeg-devel] [PATCH] libavutil/opt: add writing AV_OPT_TYPE_VIDEO_RATE AVOption

2016-05-09 Thread Michael Niedermayer
On Mon, May 09, 2016 at 11:27:09AM +0200, Przemysław Sobala wrote: > --- > libavutil/opt.c | 1 + > 1 file changed, 1 insertion(+) applied thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB There will always be a question for which you do not know the

Re: [FFmpeg-devel] [PATCH] avcodec: add properties for lossless to AVCodecParameters

2016-05-09 Thread Derek Buitenhuis
On 5/9/2016 2:22 PM, Paul B Mahol wrote: > Once st->codec is gone, how would this lossless info be gathered back? As myself and others have said above: decode a frame. It is not a demuxer's job to provide info gleaned from decoding. Either avformat should be properly separate as it (kind of) is

Re: [FFmpeg-devel] [PATCH] avcodec: add properties for lossless to AVCodecParameters

2016-05-09 Thread Hendrik Leppkes
On Mon, May 9, 2016 at 3:26 PM, Derek Buitenhuis wrote: > On 5/9/2016 2:22 PM, Paul B Mahol wrote: >> Once st->codec is gone, how would this lossless info be gathered back? > > As myself and others have said above: decode a frame. And before people argue that avformat

Re: [FFmpeg-devel] [PATCH] avcodec: add properties for lossless to AVCodecParameters

2016-05-09 Thread Derek Buitenhuis
On 5/9/2016 2:28 PM, Hendrik Leppkes wrote: > And before people argue that avformat does this anyway today - one of > the hopes is to make it stop doing that for many "simple" codecs where > this is just not necessary, and say a parser could extract all the > important information with much less

Re: [FFmpeg-devel] [PATCH] added support for hardware assist H264 video encoding for the Raspberry Pi

2016-05-09 Thread Amancio Hasty
Hi, So what is the next step? If you want testers I suggest posting to ccrisan’s motionpie mailing list. Cheers Amancio > On Mar 31, 2016, at 7:27 PM, Amancio Hasty wrote: > > I am not a lawyer… > > > I updated the patch. vc264.c now has a the copyright notice embedded

Re: [FFmpeg-devel] [PATCH] avcodec: add properties for lossless to AVCodecParameters

2016-05-09 Thread wm4
On Mon, 9 May 2016 15:28:11 +0200 Hendrik Leppkes wrote: > On Mon, May 9, 2016 at 3:26 PM, Derek Buitenhuis > wrote: > > On 5/9/2016 2:22 PM, Paul B Mahol wrote: > >> Once st->codec is gone, how would this lossless info be gathered back? > >

[FFmpeg-devel] [PATCH] Push hls_ts_options to every chunks (fix #5525)

2016-05-09 Thread Jack
Signed-off-by: jack --- libavformat/hlsenc.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index a9fa5d8..77712d0 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -624,6 +624,11 @@ static int

Re: [FFmpeg-devel] [PATCH] avcodec: add properties for lossless to AVCodecParameters

2016-05-09 Thread Michael Niedermayer
On Mon, May 09, 2016 at 01:44:54PM +0100, Derek Buitenhuis wrote: > On 5/9/2016 1:29 PM, Michael Niedermayer wrote: > > Also theres a deeper problem, > > User want, benefit from and sometimes need, "every single piece of > > information a decoder might output.", well not "every" of course > > but

Re: [FFmpeg-devel] [PATCH v2 0/3] DTS Express (LBR) decoder

2016-05-09 Thread foo86
On Sun, May 01, 2016 at 03:30:27PM -0300, James Almer wrote: > With the samples you shared and with a random lbr-in-wav mono sample i found > in the wild i get the following when i try to do a codec copy. > Core and every other DTS extension in contrast seem to set timestamps just > fine. > > #tb

Re: [FFmpeg-devel] [PATCH]lavc/mjpegdec: Read polarity field from AVI1 chunk

2016-05-09 Thread Michael Niedermayer
On Mon, May 09, 2016 at 02:44:23PM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached aptch fixes ticket #5523 for me, I only tested the files > attached there. breaks: https://trac.ffmpeg.org/raw-attachment/ticket/362/test.avi [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH] mjpegdec: Properly fail on malloc failure

2016-05-09 Thread Michael Niedermayer
On Mon, May 09, 2016 at 01:58:57PM +0100, Derek Buitenhuis wrote: > Signed-off-by: Derek Buitenhuis > --- > libavcodec/mjpegdec.c | 56 > +++ > 1 file changed, 30 insertions(+), 26 deletions(-) > > diff --git

Re: [FFmpeg-devel] [PATCH]: add DST decoder

2016-05-09 Thread Piotr Bandurski
> Sorry, this one should work. this eating up memory: https://www.datafilehost.com/d/3226dd07 ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH]: add DST decoder

2016-05-09 Thread Paul B Mahol
On 5/9/16, Piotr Bandurski wrote: >> Sorry, this one should work. > > this eating up memory: Another one attached. 0001-avcodec-add-Direct-Stream-Transfer-DST-decoder.patch.bz2 Description: BZip2 compressed data ___ ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avfilter: add loudnorm

2016-05-09 Thread Kyle Swanson
On Tue, Apr 5, 2016 at 7:01 PM, Kyle Swanson wrote: > > Here's another audio filter. I hinted at this a few months ago, but I found > out that > finishing the last 5% took almost as long as the first 95%. This is an EBU > R128 > dynamic loudness normalization filter. This filter

Re: [FFmpeg-devel] [PATCH]: add DST decoder

2016-05-09 Thread Piotr Bandurski
> > this eating up memory: > > Another one attached. similar issue with this file: https://www.datafilehost.com/d/798e9109 ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] AAC decoder handles start of audio stream differently (2.6.2 vs. current git)

2016-05-09 Thread Gregory J Wolfe
I am in the process of upgrading our FFmpeg from 2.6.2 to the latest git. One test I ran extracts audio from an AAC stream to a WAV file. When I examine the audio using Audacity, the stream extracted using the latest git is 1600 samples shorter, with the missing samples being from the beginning

Re: [FFmpeg-devel] AAC decoder handles start of audio stream differently (2.6.2 vs. current git)

2016-05-09 Thread Hendrik Leppkes
On Mon, May 9, 2016 at 11:20 PM, Gregory J Wolfe wrote: > I am in the process of upgrading our FFmpeg from 2.6.2 to the latest > git. One test I ran extracts audio from an AAC stream to a WAV file. > When I examine the audio using Audacity, the stream extracted

Re: [FFmpeg-devel] AAC decoder handles start of audio stream differently (2.6.2 vs. current git)

2016-05-09 Thread Gregory J Wolfe
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Hendrik Leppkes > Sent: Monday, May 09, 2016 5:27 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] AAC decoder handles start of audio stream

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/f_metadata: add pts_time to print output

2016-05-09 Thread Michael Niedermayer
On Mon, May 09, 2016 at 01:52:05PM +0200, Paul B Mahol wrote: > On 5/9/16, Tobias Rapp wrote: > > This allows e.g. to correlate signalstats metadata to time position > > without having to find out the filter chain timebase first. > > > > Signed-off-by: Tobias Rapp

Re: [FFmpeg-devel] Refund request for FFmpeg at CLT 2016

2016-05-09 Thread Michael Niedermayer
On Fri, Apr 29, 2016 at 11:30:26AM +0200, Thomas Volkert wrote: > > On 27.04.2016 16:08, Michael Niedermayer wrote: > >On Tue, Apr 26, 2016 at 08:10:25PM +0200, Thomas Volkert wrote: > >>Hi, > >>, > >>On 21.03.2016 21:49, Thilo Borgmann wrote: > >>>Am 21.03.16 um 20:42 schrieb Michael

Re: [FFmpeg-devel] [PATCH 2/2] avfilter/f_metadata: update print output header line format

2016-05-09 Thread Michael Niedermayer
On Mon, May 09, 2016 at 01:52:24PM +0200, Paul B Mahol wrote: > On 5/9/16, Tobias Rapp wrote: > > Update print mode output header line format to be more consistent with > > other log output of FFmpeg. The printf-modifiers have been inspired by > > the showinfo filter. > >

[FFmpeg-devel] [PATCH] libavformat/oggdec: Free stream private when header parsing fails.

2016-05-09 Thread Chris Cunningham
Leaking this private structure opens up the possibility that it may be re-used when parsing later packets in the stream. This is problematic if the later packets are not the same codec type (e.g. private allocated during Vorbis parsing, but later packets are Opus and the private is assumed to be

Re: [FFmpeg-devel] [PATCH] avfilter: add loudnorm

2016-05-09 Thread Kyle Swanson
Hi, Updated patch attached. Thanks! 0001-avfilter-add-loudnorm.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH] avcodec: Add AVClass to AVCodecParameters

2016-05-09 Thread Michael Niedermayer
Allow enumeration, read and write of fields without requiring #if on versions All other public structures can be accessed through AVOptions TODO: add all fields to AVOption table TODO: bump version TODO: update APIChanges Signed-off-by: Michael Niedermayer ---

[FFmpeg-devel] [PATCH] lavfi/drawutils: support NV12 and NV21

2016-05-09 Thread Rodger Combs
--- libavfilter/drawutils.c | 33 - tests/ref/fate/filter-pixfmts-pad | 2 ++ 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/libavfilter/drawutils.c b/libavfilter/drawutils.c index d37c83e..3146bfa 100644 --- a/libavfilter/drawutils.c