Re: [FFmpeg-devel] [PATCH] lavf/mov: Add support for edit list parsing.

2016-10-23 Thread Sasi Inguva
Just sent a patch, correcting a bug in the edit list code. PTAL. On Fri, Oct 21, 2016 at 11:08 AM, Derek Buitenhuis < derek.buitenh...@gmail.com> wrote: > On 10/21/2016 6:47 PM, Sasi Inguva wrote: > > * Audio packets. Especially audio packets with a large number of > samples. > >

Re: [FFmpeg-devel] [PATCH] lavf/mov.c: Use the correct timescale when seeking for audio.

2016-10-23 Thread Sasi Inguva
Attaching the fate sample. 2016-10-23 22:37 GMT-07:00 Sasi Inguva : > Signed-off-by: Sasi Inguva > --- > libavformat/mov.c | 2 +- > tests/fate/mov.mak | 6 +- > tests/ref/fate/mov-aac-2048-priming | 217

[FFmpeg-devel] [PATCH] doc/examples/muxing: Fix av_frame_make_writable usage

2016-10-23 Thread Sam Hocevar
This patch moves the av_frame_make_writable() call from fill_yuv_image to get_video_frame so that its argument can be the actual frame that will be sent to the encoder. This fixes data corruption issues in codecs that keep references on one or several previous frames. Signed-off-by: Sam Hocevar

[FFmpeg-devel] [PATCHv2 1/3] tools: add loudnorm script example to use loudnorm

2016-10-23 Thread Marton Balint
Based on a patch by Kyle Swanson . Signed-off-by: Marton Balint --- tools/loudnorm.rb | 61 +++ 1 file changed, 61 insertions(+) create mode 100755 tools/loudnorm.rb diff --git a/tools/loudnorm.rb

[FFmpeg-devel] [PATCH 2/2] qsv: Merge libav implementation

2016-10-23 Thread Mark Thompson
Merged as-at libav 398f015, and therefore includes outstanding skipped merges 04b17ff and 130e1f1. All features not in libav are preserved, and no options change. --- v2. Changes from v1: - The codec parameters used to initialise libmfx are more complete; some MPEG-2 and all VC-1 streams failed

Re: [FFmpeg-devel] [PATCH 09/13] avcodec/svq1dec: clear MMX state after MB decode loop

2016-10-23 Thread Ronald S. Bultje
Hi, On Sat, Oct 22, 2016 at 11:36 PM, Michael Niedermayer < mich...@niedermayer.cc> wrote: > On Sat, Oct 22, 2016 at 10:10:01PM -0400, Ronald S. Bultje wrote: > > Hi, > > > > general comment about all other dec patches. > > > > On Sat, Oct 22, 2016 at 3:02 PM, Michael Niedermayer >

[FFmpeg-devel] [PATCH 12/12] xmv: validate sample_rate

2016-10-23 Thread Andreas Cadhalpun
AVCodecParameters.sample_rate is a signed integer, so XMVAudioPacket.sample_rate should be, too. A negative sample rate doesn't make sense and triggers assertions in av_rescale_rnd. Signed-off-by: Andreas Cadhalpun --- libavformat/xmv.c | 4 ++-- 1 file

[FFmpeg-devel] [PATCH 11/12] voc_packet: validate sample_rate

2016-10-23 Thread Andreas Cadhalpun
A negative sample rate doesn't make sense and triggers assertions in av_rescale_rnd. Signed-off-by: Andreas Cadhalpun --- libavformat/voc_packet.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavformat/voc_packet.c b/libavformat/voc_packet.c index

[FFmpeg-devel] [PATCH 10/12] oggparsespeex: validate sample_rate

2016-10-23 Thread Andreas Cadhalpun
A negative sample rate doesn't make sense and triggers assertions in av_rescale_rnd. Signed-off-by: Andreas Cadhalpun --- libavformat/oggparsespeex.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/oggparsespeex.c

[FFmpeg-devel] [PATCH 09/12] nuv: validate sample_rate

2016-10-23 Thread Andreas Cadhalpun
A negative sample rate doesn't make sense and triggers assertions in av_rescale_rnd. Signed-off-by: Andreas Cadhalpun --- libavformat/nuv.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libavformat/nuv.c b/libavformat/nuv.c index

[FFmpeg-devel] [PATCH 08/12] mvdec: validate sample_rate

2016-10-23 Thread Andreas Cadhalpun
A negative sample rate doesn't make sense and triggers assertions in av_rescale_rnd. Signed-off-by: Andreas Cadhalpun --- libavformat/mvdec.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/mvdec.c b/libavformat/mvdec.c index

[FFmpeg-devel] [PATCH 07/12] mpeg4audio: validate sample_rate

2016-10-23 Thread Andreas Cadhalpun
A negative sample rate doesn't make sense and triggers assertions in av_rescale_rnd. Also check for errors from avpriv_mpeg4audio_get_config in ff_mp4_read_dec_config_descr. Signed-off-by: Andreas Cadhalpun --- libavcodec/mpeg4audio.c | 5 +

[FFmpeg-devel] [PATCH 06/12] mov: validate sidx timescale

2016-10-23 Thread Andreas Cadhalpun
A negative timescale doesn't make sense and triggers assertions in av_rescale_rnd. Signed-off-by: Andreas Cadhalpun --- libavformat/mov.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index 6f313a5..413675f

[FFmpeg-devel] [PATCH 04/12] mov: validate sample_rate

2016-10-23 Thread Andreas Cadhalpun
A negative sample rate doesn't make sense and triggers assertions in av_rescale_rnd. fate-aac-al07_96 fails if sample_rate == 0 is rejected in ff_mov_read_stsd_entries. Signed-off-by: Andreas Cadhalpun --- libavformat/mov.c | 8 1 file changed, 8

[FFmpeg-devel] [PATCH 05/12] mov: validate time_scale

2016-10-23 Thread Andreas Cadhalpun
A negative timescale doesn't make sense and triggers assertions in av_rescale_rnd. Signed-off-by: Andreas Cadhalpun --- libavformat/mov.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index

[FFmpeg-devel] [PATCH 02/12] bfi: validate sample_rate

2016-10-23 Thread Andreas Cadhalpun
A negative sample rate doesn't make sense and triggers assertions in av_rescale_rnd. Signed-off-by: Andreas Cadhalpun --- libavformat/bfi.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/bfi.c b/libavformat/bfi.c index 568363d..ef4c17d

[FFmpeg-devel] [PATCH 03/12] ffmdec: validate sample_rate

2016-10-23 Thread Andreas Cadhalpun
A negative sample rate doesn't make sense and triggers assertions in av_rescale_rnd. Signed-off-by: Andreas Cadhalpun --- libavformat/ffmdec.c | 9 + 1 file changed, 9 insertions(+) diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c index

[FFmpeg-devel] [PATCH 01/12] adxdec: validate sample_rate

2016-10-23 Thread Andreas Cadhalpun
A negative sample rate doesn't make sense and triggers assertions in av_rescale_rnd. Signed-off-by: Andreas Cadhalpun --- libavformat/adxdec.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavformat/adxdec.c b/libavformat/adxdec.c index

Re: [FFmpeg-devel] [PATCH 4/4] lavfi: make filter_frame non-recursive.

2016-10-23 Thread Nicolas George
Le duodi 2 brumaire, an CCXXV, Michael Niedermayer a écrit : > ive found a shareable sample that shows the same behavior > wget https://samples.ffmpeg.org/V-codecs/ASV1/ASV1.avi > ./ffmpeg -i ASV1.avi -af apad -shortest test.nut Thanks, I will look into it. Hopefully it will be the same cause

Re: [FFmpeg-devel] [PATCH 4/4] lavfi: make filter_frame non-recursive.

2016-10-23 Thread Michael Niedermayer
On Sun, Oct 23, 2016 at 04:35:16PM +0200, Nicolas George wrote: > Le duodi 2 brumaire, an CCXXV, Michael Niedermayer a écrit : > > breaks (no video window opens) > > ./ffplay bgc.sub.dub.ogm > > google points to: http://samples.mplayerhq.hu/ogg/bgc.sub.dub.ogm > > Works for me here. oddd here

Re: [FFmpeg-devel] [PATCH] add hds demuxer

2016-10-23 Thread Nicolas George
Le duodi 2 brumaire, an CCXXV, Steven Liu a écrit : > I have pause this since 20161019 - 20161023, this duration time i have been > to visit USA, > > I think you can sent patch here, let’s test together. :) Ok, I will start working on it. Regards, -- Nicolas George s

Re: [FFmpeg-devel] [PATCH 4/4] lavfi: make filter_frame non-recursive.

2016-10-23 Thread Nicolas George
Le duodi 2 brumaire, an CCXXV, Michael Niedermayer a écrit : > breaks (no video window opens) > ./ffplay bgc.sub.dub.ogm > google points to: http://samples.mplayerhq.hu/ogg/bgc.sub.dub.ogm Works for me here. ffplay version N-81631-gb453521 Copyright (c) 2003-2016 the FFmpeg developers built

Re: [FFmpeg-devel] [PATCH 4/4] lavfi: make filter_frame non-recursive.

2016-10-23 Thread Michael Niedermayer
On Sun, Oct 23, 2016 at 12:27:42PM +0200, Nicolas George wrote: > A lot of changes happen at the same time: > > - Add private_fields.h to devine private fields in AVFilterLink. > It allows to have the private fields directly in structured types > without needing an indirection for an opaque

Re: [FFmpeg-devel] doc/filters : add metadata info for blackframe filter

2016-10-23 Thread Moritz Barsnick
On Sat, Oct 22, 2016 at 22:06:50 +0200, Martin Vignali wrote: > +This filter export frame metadata @code{lavfi.blackframe.pblack}. ^s > +The value represent the percentage of pixels in the picture that ^s Moritz

[FFmpeg-devel] [PATCH] lavd/xcbgrab: do not try to create refcounted packets.

2016-10-23 Thread Nicolas George
The framework will allocate a buffer and copy the data to it, that takes time. But it avoids constently creating and destroyng the shared memory segment, and that saves more time. On my setup, from ~200 to ~300 FPS at full screen (1920×1200), from ~1400 to ~3300 at smaller size (640×480), similar

Re: [FFmpeg-devel] FFmpeg at LinuxCon 2016

2016-10-23 Thread Thomas Volkert
On 12.10.2016 13:33, Thilo Borgmann wrote: > Hi, > >> FFmpeg will have a booth at the LinuxCon Europe 2016 in Berlin, Germany from >> Oct. 4th to Oct 6th! >> >> The booth will be manned with Thomas Volkert and me, everyone interested is >> welcome to visit us and the rest of the LinuxCon. >> >>

Re: [FFmpeg-devel] FFmpeg at the Embedded Linux Conference Europe (ELCE) 2016

2016-10-23 Thread Thomas Volkert
On 16.10.2016 09:35, Thilo Borgmann wrote: > Hi, > >> FFmpeg will have a booth at the ELCE 2016 in Berlin, Germany from Oct. 11th >> to >> Oct 13th! >> >> The booth will be manned with me, everyone interested is welcome to visit us >> and >> the rest of the ELCE. I'm looking for a fellow

Re: [FFmpeg-devel] [PATCH] avutil/x86/emms: Document the emms_c() vs alloc/free relation.

2016-10-23 Thread Michael Niedermayer
On Sun, Oct 23, 2016 at 12:15:38PM +0200, Andreas Cadhalpun wrote: > On 23.10.2016 05:37, Michael Niedermayer wrote: > > Signed-off-by: Michael Niedermayer > > --- > > libavutil/x86/emms.h | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git

Re: [FFmpeg-devel] [PATCH] add hds demuxer

2016-10-23 Thread Nicolas George
Le sextidi 26 vendémiaire, an CCXXV, Steven Liu a écrit : > I'm trying to parse the XML now, maybe update patch later. Hi. Have you gotten anywhere with this? I just sent the big patch I have been struggling with for a long time, and implementing a XML parser seems like a good way to

[FFmpeg-devel] [PATCH 3/4] lavfi: add FFFrameQueue API.

2016-10-23 Thread Nicolas George
Signed-off-by: Nicolas George --- libavfilter/Makefile | 1 + libavfilter/framequeue.c | 123 + libavfilter/framequeue.h | 173 +++ 3 files changed, 297 insertions(+) create mode 100644

[FFmpeg-devel] [PATCH 2/4] lavfi: split frame_count between input and output.

2016-10-23 Thread Nicolas George
AVFilterLink.frame_count is supposed to count the number of frames that were passed on the link, but with min_samples, that number is not always the same for the source and destination filters. With the addition of a FIFO on the link, the difference will become more significant. Split the

[FFmpeg-devel] [PATCH 1/4] fate/colorkey: disable audio stream.

2016-10-23 Thread Nicolas George
The test is not supposed to cover audio. Also, using -vframes along with an audio stream depends on the exact order the frames are processed by filters, it is too much constraint to guarantee. Signed-off-by: Nicolas George --- tests/fate/ffmpeg.mak | 2 +-

[FFmpeg-devel] [PATCH 4/4] lavfi: make filter_frame non-recursive.

2016-10-23 Thread Nicolas George
A lot of changes happen at the same time: - Add private_fields.h to devine private fields in AVFilterLink. It allows to have the private fields directly in structured types without needing an indirection for an opaque structure nor the structure definition in public headers. - Add a

Re: [FFmpeg-devel] [PATCH] avutil/x86/emms: Document the emms_c() vs alloc/free relation.

2016-10-23 Thread Andreas Cadhalpun
On 23.10.2016 05:37, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavutil/x86/emms.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavutil/x86/emms.h b/libavutil/x86/emms.h > index 6fda6e2..42c18e2 100644 > ---

[FFmpeg-devel] [PATCH] libavcodec/tests: Added test for libavcodec/avpacket.c

2016-10-23 Thread Thomas Turner
Function(s) Tested: av_packet_clone(). This test checks if av_packet_clone() can successfully make a copy of an AVPacket. Compares all data members in AVPacket EXCEPT for "buf" because "buf" is initialized to NIL in the original AVPacket [to be cloned]. This test also prints out the all the

[FFmpeg-devel] [PATCH] libavcodec/tests: Added test for libavcodec/avpacket.c

2016-10-23 Thread Thomas Turner
Function(s) Tested: av_packet_clone(). This test checks if av_packet_clone() can successfully make a copy of an AVPacket. Compares all data members in AVPacket EXCEPT for "buf" because "buf" is initialized to NIL in the original AVPacket [to be cloned]. This test also prints out the all the