[FFmpeg-devel] Add Mediacodec audio decoders support

2024-06-12 Thread Matthieu Bouron
Hello, This patchset adds Mediacodec audio decoders support. Currently, only AAC, AMR, MP3, FLAC, VORBIS and OPUS are supported. This is mainly useful to avoid shipping Android builds of FFmpeg that are subjects to licensing/patents (due to AAC and AMR). Best regards, Matthieu _

[FFmpeg-devel] [PATCH 1/2] avcodec/mediacodecdec_common: ensure input buffer timestamp is positive

2024-06-12 Thread Matthieu Bouron
Submitting a buffer with a negative timestamp seems to stall the Mediacodec audio decoders. --- libavcodec/mediacodecdec_common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/mediacodecdec_common.c b/libavcodec/mediacodecdec_common.c index d6f91e6e89..4d22db8ecf 100644 --- a/

[FFmpeg-devel] [PATCH 2/2] avcodec: add Mediacodec audio decoders support

2024-06-12 Thread Matthieu Bouron
--- configure | 14 ++ libavcodec/Makefile | 7 + libavcodec/allcodecs.c| 7 + libavcodec/mediacodecdec.c| 215 ++- libavcodec/mediacodecdec_common.c | 333 +++--- 5 files changed, 545 insertions

[FFmpeg-devel] [PATCH 2/3] avcodec/mediacodecdec: remove unneeded else block in ff_mediacodec_dec_send()

2019-04-24 Thread Matthieu Bouron
--- libavcodec/mediacodecdec_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/mediacodecdec_common.c b/libavcodec/mediacodecdec_common.c index f7a06cdc6d..f90e2f1a23 100644 --- a/libavcodec/mediacodecdec_common.c +++ b/libavcodec/mediacodecdec_common.c @

[FFmpeg-devel] [PATCH 1/3] avcodec/mediacodecdec: try to receive a frame after signaling EOF to the codec

2019-04-24 Thread Matthieu Bouron
Avoids returning EAGAIN after signaling EOF to the codec in ff_mediacodec_dec_send() so we can try to receive a frame before returning in mediacodec_receive_frame(). This helps avoiding an extra round-trip between avcodec_send_frame() and avcodec_receive_frame() while draining the remaining frames

[FFmpeg-devel] [PATCH 3/3] avcodec/mediacodecdec: re-indent after previous commit

2019-04-24 Thread Matthieu Bouron
--- libavcodec/mediacodecdec_common.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/libavcodec/mediacodecdec_common.c b/libavcodec/mediacodecdec_common.c index f90e2f1a23..1656cd6664 100644 --- a/libavcodec/mediacodecdec_common.c +++ b/libavcodec/media

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/mediacodecdec: try to receive a frame after signaling EOF to the codec

2019-05-02 Thread Matthieu Bouron
On Wed, Apr 24, 2019 at 09:59:28AM +0200, Matthieu Bouron wrote: > Avoids returning EAGAIN after signaling EOF to the codec in > ff_mediacodec_dec_send() so we can try to receive a frame before > returning in mediacodec_receive_frame(). > > This helps avoiding an extra rou

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/mediacodecdec: try to receive a frame after signaling EOF to the codec

2019-05-26 Thread Matthieu Bouron
On Tue, May 07, 2019 at 02:09:02AM -0700, Aman Gupta wrote: > On Thu, May 2, 2019 at 1:20 AM Matthieu Bouron > wrote: > > > On Wed, Apr 24, 2019 at 09:59:28AM +0200, Matthieu Bouron wrote: > > > Avoids returning EAGAIN after signaling EOF to the codec in > > > f

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/mediacodecdec: try to receive a frame after signaling EOF to the codec

2019-06-13 Thread Matthieu Bouron
On Sun, May 26, 2019 at 11:25:09AM +0200, Matthieu Bouron wrote: > On Tue, May 07, 2019 at 02:09:02AM -0700, Aman Gupta wrote: > > On Thu, May 2, 2019 at 1:20 AM Matthieu Bouron > > wrote: > > > > > On Wed, Apr 24, 2019 at 09:59:28AM +0200, Matthieu Bouron wrote: &

[FFmpeg-devel] [PATCH 3/4] avcodec/mediacodec_wrapper: fix a potential local reference leak in ff_AMediaCodec_getCodecNameByType()

2019-07-04 Thread Matthieu Bouron
--- libavcodec/mediacodec_wrapper.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c index e2df07cb41..70e1e7cae1 100644 --- a/libavcodec/mediacodec_wrapper.c +++ b/libavcodec/mediacodec_wrapper.c @@ -469,6 +469,11 @@ char *

[FFmpeg-devel] [PATCH 1/4] avcodec/mediacodec_wrapper: add missing include

2019-07-04 Thread Matthieu Bouron
--- libavcodec/mediacodec_wrapper.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/mediacodec_wrapper.h b/libavcodec/mediacodec_wrapper.h index f0de16d669..58e5dc7d39 100644 --- a/libavcodec/mediacodec_wrapper.h +++ b/libavcodec/mediacodec_wrapper.h @@ -26,6 +26,8 @@ #include

[FFmpeg-devel] [PATCH 2/4] avcodec/mediacodec_wrapper: fix a local reference leak in ff_AMediaCodec_getName()

2019-07-04 Thread Matthieu Bouron
--- libavcodec/mediacodec_wrapper.c | 4 1 file changed, 4 insertions(+) diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c index a024e3bdb1..e2df07cb41 100644 --- a/libavcodec/mediacodec_wrapper.c +++ b/libavcodec/mediacodec_wrapper.c @@ -1337,6 +1337,10 @@ char

[FFmpeg-devel] [PATCH 4/4] avcodec/mediacodec_wrapper: remove unused local variables in ff_AMediaCodec_getCodecNameByType()

2019-07-04 Thread Matthieu Bouron
--- libavcodec/mediacodec_wrapper.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c index 70e1e7cae1..5213cf640a 100644 --- a/libavcodec/mediacodec_wrapper.c +++ b/libavcodec/mediacodec_wrapper.c @@ -392,8 +392,6 @@ c

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/mediacodec_wrapper: add missing include

2019-07-04 Thread Matthieu Bouron
On Thu, Jul 04, 2019 at 04:03:42PM +0200, Nicolas George wrote: > Matthieu Bouron (12019-07-04): > > --- > > libavcodec/mediacodec_wrapper.h | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/libavcodec/mediacodec_wrapper.h > > b/li

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/mediacodec_wrapper: remove unused local variables in ff_AMediaCodec_getCodecNameByType()

2019-07-14 Thread Matthieu Bouron
On Thu, Jul 04, 2019 at 03:43:48PM +0200, Matthieu Bouron wrote: > --- > libavcodec/mediacodec_wrapper.c | 10 -- > 1 file changed, 10 deletions(-) > > diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c > index 70e1e7cae1..5213cf640a 100644

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/mediacodec_wrapper: remove unused local variables in ff_AMediaCodec_getCodecNameByType()

2019-07-19 Thread Matthieu Bouron
On Sun, Jul 14, 2019 at 08:17:03PM +0200, Matthieu Bouron wrote: > On Thu, Jul 04, 2019 at 03:43:48PM +0200, Matthieu Bouron wrote: > > --- > > libavcodec/mediacodec_wrapper.c | 10 -- > > 1 file changed, 10 deletions(-) > > > > diff --git a/libav

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/mediacodec_wrapper: remove unused local variables in ff_AMediaCodec_getCodecNameByType()

2019-07-22 Thread Matthieu Bouron
On Fri, Jul 19, 2019 at 09:40:52AM +0200, Matthieu Bouron wrote: > On Sun, Jul 14, 2019 at 08:17:03PM +0200, Matthieu Bouron wrote: > > On Thu, Jul 04, 2019 at 03:43:48PM +0200, Matthieu Bouron wrote: > > > --- > > > libavcodec/mediacodec_wrapper.c | 10 -

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/mediacodec_wrapper: remove unused local variables in ff_AMediaCodec_getCodecNameByType()

2019-07-26 Thread Matthieu Bouron
On Tue, Jul 23, 2019 at 01:09:41AM +0200, Michael Niedermayer wrote: > On Mon, Jul 22, 2019 at 09:02:15AM +0200, Matthieu Bouron wrote: > > On Fri, Jul 19, 2019 at 09:40:52AM +0200, Matthieu Bouron wrote: > > > On Sun, Jul 14, 2019 at 08:17:03PM +0200, Matthieu Bouron wrote: >

[FFmpeg-devel] [PATCH] RELEASE: update for git after 4.0 branchpoint

2018-09-25 Thread Matthieu Bouron
--- RELEASE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASE b/RELEASE index 9b601acc0d..ff2c9d1a30 100644 --- a/RELEASE +++ b/RELEASE @@ -1 +1 @@ -3.4.git +4.0.git -- 2.19.0 ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.

Re: [FFmpeg-devel] [PATCH] RELEASE: update for git after 4.0 branchpoint

2018-09-25 Thread Matthieu Bouron
On Tue, Sep 25, 2018 at 3:12 PM, James Almer wrote: > On 9/25/2018 6:32 AM, Matthieu Bouron wrote: > > --- > > RELEASE | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/RELEASE b/RELEASE > > index 9b601acc0d..ff2c9d1a30 100

[FFmpeg-devel] [PATCH] avcodec/mediacodec_common: use MediaFormat to probe frame color characteristics

2020-03-31 Thread Matthieu Bouron
--- libavcodec/mediacodecdec_common.c | 100 ++ 1 file changed, 100 insertions(+) diff --git a/libavcodec/mediacodecdec_common.c b/libavcodec/mediacodecdec_common.c index f0752fa6261..404ed282275 100644 --- a/libavcodec/mediacodecdec_common.c +++ b/libavcodec/mediacod

Re: [FFmpeg-devel] about mediacodec encoder on android platform

2020-03-31 Thread Matthieu Bouron
On Fri, Mar 27, 2020 at 04:21:59PM +0800, aistoy wrote: > Hi, I want to know why ffmpeg do not include mediacodec encoder, just include > mediacodec decoder. > And why the decoder implemention don’t use mediacodec native api, but use jni > call mediacodec java methods. > If i plan to add the me

[FFmpeg-devel] [PATCH] avformat/img2dec: skip DHT segment in jpeg_probe()

2020-04-01 Thread Matthieu Bouron
--- libavformat/img2dec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index 40f3e3d499e..93cd51c1932 100644 --- a/libavformat/img2dec.c +++ b/libavformat/img2dec.c @@ -775,6 +775,7 @@ static int jpeg_probe(const AVProbeData *p)

Re: [FFmpeg-devel] [PATCH] avformat/img2dec: skip DHT segment in jpeg_probe()

2020-04-01 Thread Matthieu Bouron
On Wed, Apr 01, 2020 at 03:38:45PM +0200, Carl Eugen Hoyos wrote: > Am Mi., 1. Apr. 2020 um 10:57 Uhr schrieb Matthieu Bouron > : > > > > --- > > libavformat/img2dec.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/libavformat/i

Re: [FFmpeg-devel] [PATCH] avformat/img2dec: skip DHT segment in jpeg_probe()

2020-04-01 Thread Matthieu Bouron
On Wed, Apr 01, 2020 at 01:04:58PM +0100, Derek Buitenhuis wrote: > On 01/04/2020 09:52, Matthieu Bouron wrote: > > --- > > libavformat/img2dec.c | 1 + > > 1 file changed, 1 insertion(+) > > Looks correct, but a commit message explaining why would be good. > W

Re: [FFmpeg-devel] [PATCH] avformat/img2dec: skip DHT segment in jpeg_probe()

2020-04-01 Thread Matthieu Bouron
On Wed, Apr 01, 2020 at 04:09:08PM +0200, Carl Eugen Hoyos wrote: > Am Mi., 1. Apr. 2020 um 15:48 Uhr schrieb Matthieu Bouron > : > > > > On Wed, Apr 01, 2020 at 03:38:45PM +0200, Carl Eugen Hoyos wrote: > > > Am Mi., 1. Apr. 2020 um 10:57

[FFmpeg-devel] [PATCH] avformat/img2dec: return immediately in jpeg_probe() when EOI is found

2020-04-01 Thread Matthieu Bouron
Fixes probing of JPEG files containing MPF metadata appended at the end of the file. The MPF metadata chunk can contains multiple JPEG images (thumbnails) which makes the jpeg_probe fails (return 0) because it finds a SOI marker after EOI. --- This patch fixes probing of JPEG files containing MPF

Re: [FFmpeg-devel] [PATCH] avformat/img2dec: skip DHT segment in jpeg_probe()

2020-04-01 Thread Matthieu Bouron
On Wed, Apr 01, 2020 at 04:29:16PM +0200, Carl Eugen Hoyos wrote: > Am Mi., 1. Apr. 2020 um 16:24 Uhr schrieb Matthieu Bouron > : > > > > On Wed, Apr 01, 2020 at 04:09:08PM +0200, Carl Eugen Hoyos wrote: > > > Am Mi., 1. Apr. 2020 um 15:48 Uhr schrieb Matthieu Bouron >

Re: [FFmpeg-devel] [PATCH] avformat/img2dec: return immediately in jpeg_probe() when EOI is found

2020-04-01 Thread Matthieu Bouron
On Wed, Apr 01, 2020 at 06:29:03PM +0200, Carl Eugen Hoyos wrote: > Am Mi., 1. Apr. 2020 um 18:01 Uhr schrieb Matthieu Bouron > : > > > > Fixes probing of JPEG files containing MPF metadata appended at the end > > of the file. > > > > The MPF metadata chu

Re: [FFmpeg-devel] [PATCH] avformat/img2dec: return immediately in jpeg_probe() when EOI is found

2020-04-01 Thread Matthieu Bouron
On Wed, Apr 01, 2020 at 06:19:56PM +0200, Carl Eugen Hoyos wrote: > Am Mi., 1. Apr. 2020 um 18:01 Uhr schrieb Matthieu Bouron > : > > > > Fixes probing of JPEG files containing MPF metadata appended at the end > > of the file. > > > > The MPF metadata chu

Re: [FFmpeg-devel] [PATCH] avformat/img2dec: return immediately in jpeg_probe() when EOI is found

2020-04-01 Thread Matthieu Bouron
On Wed, Apr 01, 2020 at 06:55:42PM +0200, Carl Eugen Hoyos wrote: > Am Mi., 1. Apr. 2020 um 18:35 Uhr schrieb Matthieu Bouron > : > > > > On Wed, Apr 01, 2020 at 06:29:03PM +0200, Carl Eugen Hoyos wrote: > > > Am Mi., 1. Apr. 2020 um 18:01 Uhr schrieb Matthieu Bouron &g

Re: [FFmpeg-devel] [PATCH] avformat/img2dec: return immediately in jpeg_probe() when EOI is found

2020-04-01 Thread Matthieu Bouron
On Wed, Apr 01, 2020 at 07:30:55PM +0200, Carl Eugen Hoyos wrote: > Am Mi., 1. Apr. 2020 um 19:15 Uhr schrieb Matthieu Bouron > : > > > > On Wed, Apr 01, 2020 at 06:55:42PM +0200, Carl Eugen Hoyos wrote: > > > Am Mi., 1. Apr. 2020 um 18:35 Uhr schrieb Matthieu Bouron >

Re: [FFmpeg-devel] [PATCH] avformat/img2dec: return immediately in jpeg_probe() when EOI is found

2020-04-01 Thread Matthieu Bouron
On Wed, Apr 01, 2020 at 07:59:46PM +0200, Carl Eugen Hoyos wrote: > Am Mi., 1. Apr. 2020 um 19:54 Uhr schrieb Matthieu Bouron > : > > > > On Wed, Apr 01, 2020 at 07:30:55PM +0200, Carl Eugen Hoyos wrote: > > > Am Mi., 1. Apr. 2020 um 19:15 Uhr schrieb Matthieu Bouron >

Re: [FFmpeg-devel] [PATCH] avformat/img2dec: return immediately in jpeg_probe() when EOI is found

2020-04-01 Thread Matthieu Bouron
On Wed, Apr 01, 2020 at 09:10:19PM +0200, Carl Eugen Hoyos wrote: > Am Mi., 1. Apr. 2020 um 21:07 Uhr schrieb Matthieu Bouron > : > > > > On Wed, Apr 01, 2020 at 07:59:46PM +0200, Carl Eugen Hoyos wrote: > > > Am Mi., 1. Apr. 2020 um 19:54 Uhr schrieb Matthieu Bouron >

[FFmpeg-devel] [PATCH] avcodec/mediacodec_wrapper: fix {input, output}_buffers global reference leak

2020-04-09 Thread Matthieu Bouron
Fixes ticket #8607. --- libavcodec/mediacodec_wrapper.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c index 5213cf640a7..79abc8b6aa9 100644 --- a/libavcodec/mediacodec_wrapper.c +++ b/libavcodec/mediacodec_wrapper.c @@ -

Re: [FFmpeg-devel] [PATCH] avcodec/mediacodec_wrapper: fix {input, output}_buffers global reference leak

2020-04-14 Thread Matthieu Bouron
On Thu, Apr 09, 2020 at 05:06:05PM +0200, Matthieu Bouron wrote: > Fixes ticket #8607. > --- > libavcodec/mediacodec_wrapper.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c > index 5213cf640a

Re: [FFmpeg-devel] [PATCH] avcodec/mediacodec_wrapper: fix {input, output}_buffers global reference leak

2020-04-15 Thread Matthieu Bouron
On Tue, Apr 14, 2020 at 09:51:08AM +0200, Matthieu Bouron wrote: > On Thu, Apr 09, 2020 at 05:06:05PM +0200, Matthieu Bouron wrote: > > Fixes ticket #8607. > > --- > > libavcodec/mediacodec_wrapper.c | 6 ++ > > 1 file changed, 6 insertions(+) >

Re: [FFmpeg-devel] [PATCH] avcodec/mediacodecdec: Do not abort when H264/HEVC extradata extraction fails

2021-02-12 Thread Matthieu Bouron
On Mon, Jan 25, 2021 at 06:38:36PM +0100, sfan5 wrote: > Although rare, extradata can be present but empty and extraction will fail. > However Android also supports passing codec-specific data inline and > will likely play such a stream anyway. So there's no reason to abort > initialization before

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mediacodec_wrapper: use MediaCodecInfo.isSoftwareOnly() when available

2021-03-08 Thread Matthieu Bouron
On Wed, Feb 17, 2021 at 04:51:09PM +0100, sfan5 wrote: > > From 22ebde779f61fb030633a881ef320264ea446b6b Mon Sep 17 00:00:00 2001 > From: sfan5 > Date: Thu, 11 Feb 2021 20:48:54 +0100 > Subject: [PATCH 2/2] avcodec/mediacodec_wrapper: use > MediaCodecInfo.isSoftwareOnly() when available > > Ad

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mediacodec_wrapper: clean up ff_AMediaCodecList_getCodecNameByType a bit

2021-03-08 Thread Matthieu Bouron
On Wed, Feb 17, 2021 at 04:50:00PM +0100, sfan5 wrote: > Hi, > > while looking into mediacodec for unrelated reasons I saw some room for > improvement. > > Therefore, here's a series with two small patches. > > From cadd2b2d4a5ffbb4dcc34faf2d3e139e1d4d608b Mon Sep 17 00:00:00 2001 > From: sfan5

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mediacodec_wrapper: clean up ff_AMediaCodecList_getCodecNameByType a bit

2021-03-10 Thread Matthieu Bouron
On Mon, Mar 08, 2021 at 10:11:58AM +0100, Matthieu Bouron wrote: > On Wed, Feb 17, 2021 at 04:50:00PM +0100, sfan5 wrote: > > Hi, > > > > while looking into mediacodec for unrelated reasons I saw some room for > > improvement. > > > > Therefore,

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mediacodec_wrapper: use MediaCodecInfo.isSoftwareOnly() when available

2021-03-10 Thread Matthieu Bouron
On Mon, Mar 08, 2021 at 10:12:38AM +0100, Matthieu Bouron wrote: > On Wed, Feb 17, 2021 at 04:51:09PM +0100, sfan5 wrote: > > > > > From 22ebde779f61fb030633a881ef320264ea446b6b Mon Sep 17 00:00:00 2001 > > From: sfan5 > > Date: Thu, 11 Feb 2021 20:48:54 +0100 &g

Re: [FFmpeg-devel] [PATCH] avcodec/mediacodec_common: use MediaFormat to probe frame color characteristics

2020-05-09 Thread Matthieu Bouron
On Tue, Mar 31, 2020 at 10:03:08AM +0200, Matthieu Bouron wrote: > --- > libavcodec/mediacodecdec_common.c | 100 ++ > 1 file changed, 100 insertions(+) > > diff --git a/libavcodec/mediacodecdec_common.c > b/libavcodec/mediacodecdec_common.c &

Re: [FFmpeg-devel] [PATCH] avcodec/mediacodec_common: use MediaFormat to probe frame color characteristics

2020-05-20 Thread Matthieu Bouron
On Sat, May 09, 2020 at 09:45:05AM +0200, Matthieu Bouron wrote: > On Tue, Mar 31, 2020 at 10:03:08AM +0200, Matthieu Bouron wrote: > > --- > > libavcodec/mediacodecdec_common.c | 100 ++ > > 1 file changed, 100 insertions(+) > >

Re: [FFmpeg-devel] [PATCH] avcodec/mediacodec_common: use MediaFormat to probe frame color characteristics

2020-05-25 Thread Matthieu Bouron
On Wed, May 20, 2020 at 10:07:03AM +0200, Matthieu Bouron wrote: > On Sat, May 09, 2020 at 09:45:05AM +0200, Matthieu Bouron wrote: > > On Tue, Mar 31, 2020 at 10:03:08AM +0200, Matthieu Bouron wrote: > > > --- > > > libavcodec/mediacodecdec_common.c | 100

Re: [FFmpeg-devel] [PATCH] add support to Android ndk MediaCodec for encoding/decoding

2020-06-28 Thread Matthieu Bouron
On Sat, Jun 27, 2020 at 09:54:58PM +0300, Martin Storsjö wrote: > On Sat, 27 Jun 2020, Olivier Ayache wrote: > > > Hi everyone this is the first time I post on this mailing list. I am > > working since several years on a fork of Xuggler for manipulating ffmpeg > > API with Java/Kotlin. > > This wo

Re: [FFmpeg-devel] [PATCH 4/6] avcodec/mediacodecdec_common: improve trace logging for end-of-stream

2019-09-06 Thread Matthieu Bouron
On Thu, Sep 05, 2019 at 11:27:33AM -0700, Aman Gupta wrote: > From: Aman Gupta > > Signed-off-by: Aman Gupta > --- > libavcodec/mediacodecdec_common.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/mediacodecdec_common.c > b/libavcodec/mediacodecdec_common

Re: [FFmpeg-devel] [PATCH 2/6] avcodec/mediacodecdec: warn when input buffers are not configured with proper size

2019-09-06 Thread Matthieu Bouron
On Thu, Sep 05, 2019 at 11:27:31AM -0700, Aman Gupta wrote: > From: Aman Gupta > > In rare circumstances, if the codec is not configured with the > proper parameters the input buffers can be allocated with a size > that's too small to hold an individual packet. Since MediaCodec > expects exactly

Re: [FFmpeg-devel] [PATCH 6/6] avcodec/mediacodecdec_common: propagate EOF immediately when signaled by decoder

2019-09-06 Thread Matthieu Bouron
On Thu, Sep 05, 2019 at 11:27:35AM -0700, Aman Gupta wrote: > From: Aman Gupta > > Signed-off-by: Aman Gupta > --- > libavcodec/mediacodecdec_common.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavcodec/mediacodecdec_common.c > b/libavcodec/mediacodecdec_common.c > index b9465

Re: [FFmpeg-devel] [PATCH 3/6] avcodec/mediacodecdec_common: warn when PTS is missing

2019-09-06 Thread Matthieu Bouron
On Thu, Sep 05, 2019 at 11:27:32AM -0700, Aman Gupta wrote: > From: Aman Gupta > > MediaCodec decoders require PTS for proper operation. > > Signed-off-by: Aman Gupta > --- > libavcodec/mediacodecdec_common.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/libavc

Re: [FFmpeg-devel] [PATCH 1/6] avcodec/mediacodec_surface: guard against NULL surface

2019-09-06 Thread Matthieu Bouron
On Thu, Sep 05, 2019 at 11:27:30AM -0700, Aman Gupta wrote: > From: Aman Gupta > > Signed-off-by: Aman Gupta > --- > libavcodec/mediacodec_surface.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/mediacodec_surface.c b/libavcodec/mediacodec_surface.c > i

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mediacodecdec_common: log codec name during configure/start failures

2019-09-06 Thread Matthieu Bouron
On Thu, Sep 05, 2019 at 04:07:19PM -0700, Aman Gupta wrote: > From: Aman Gupta > > Signed-off-by: Aman Gupta > --- > libavcodec/mediacodecdec_common.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/mediacodecdec_common.c > b/libavcodec/mediacodecde

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mediacodec_surface: define and use FFANativeWindow to mimic NDK interface

2019-09-06 Thread Matthieu Bouron
On Thu, Sep 05, 2019 at 04:07:20PM -0700, Aman Gupta wrote: > From: Aman Gupta > > This will make it easy to switch to ANativeWindow_fromSurface > and ANativeWindow_release in the future. > > Signed-off-by: Aman Gupta > --- > libavcodec/mediacodec_surface.c | 11 --- > libavcodec/media

[FFmpeg-devel] [PATCH 1/2] avcodec/mediacodecdec_common: simplify ff_mediacodec_dec_send()

2019-09-06 Thread Matthieu Bouron
--- libavcodec/mediacodecdec_common.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libavcodec/mediacodecdec_common.c b/libavcodec/mediacodecdec_common.c index 1656cd6664..6c0a1212c1 100644 --- a/libavcodec/mediacodecdec_common.c +++ b/libavcodec/mediacodecdec_common.c

[FFmpeg-devel] [PATCH 2/2] avcodec/mediacodecdec_common: do not split input packets into multiple buffers in ff_mediacodec_dec_send()

2019-09-06 Thread Matthieu Bouron
MediaCodec expects exactly one incoming buffer with a given PTS, it is not valid to split data for a given PTS across multiple input buffers. See https://developer.android.com/reference/android/media/MediaCodec#data-processing > Do not submit multiple input buffers with the same timestamp ---

[FFmpeg-devel] [PATCH 1/2] avformat/mov: parse sdtp atom and set the pkt disposable flag accordingly

2019-09-27 Thread Matthieu Bouron
Allows the creation of the sdtp atom while remuxing MP4 to MP4. This atom is required by Apple devices (iPhone, Apple TV) in order to accept 2160p medias. --- libavformat/isom.h | 2 ++ libavformat/mov.c | 41 + 2 files changed, 43 insertions(+) diff --gi

[FFmpeg-devel] [PATCH 2/2] fate: update references after mov sdtp parsing change

2019-09-27 Thread Matthieu Bouron
--- tests/ref/fate/hapqa-extract-snappy1-to-hapalphaonly | 2 +- tests/ref/fate/hapqa-extract-snappy1-to-hapq | 2 +- tests/ref/fate/hapqa-extract-snappy16-to-hapalphaonly | 2 +- tests/ref/fate/hapqa-extract-snappy16-to-hapq | 2 +- 4 files changed, 4 insertions(+), 4 deletions(

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mov: parse sdtp atom and set the pkt disposable flag accordingly

2019-09-27 Thread Matthieu Bouron
On Fri, Sep 27, 2019 at 04:14:33PM +0100, Derek Buitenhuis wrote: > On 27/09/2019 15:37, Matthieu Bouron wrote: > > Allows the creation of the sdtp atom while remuxing MP4 to MP4. This > > atom is required by Apple devices (iPhone, Apple TV) in order to accept > > 2160p media

Re: [FFmpeg-devel] [PATCH 3/3] avformat/aiffenc: Remove wrong and redundant check

2019-10-02 Thread Matthieu Bouron
On Wed, Oct 02, 2019 at 06:04:12AM +0200, Andreas Rheinhardt wrote: > The check "if (!pb->seekable & AVIO_SEEKABLE_NORMAL)" is wrong, because > ! has higher precendence than &. But it is also redundant, because this > part of the code is only ever reached when the AVIO_SEEKABLE_NORMAL flag > is set

Re: [FFmpeg-devel] [PATCH 1/3] avformat/aiffenc: Use standard packet list functions

2019-10-02 Thread Matthieu Bouron
On Wed, Oct 02, 2019 at 06:04:10AM +0200, Andreas Rheinhardt wrote: > Up until now, aiffenc didn't rely on the standard functions for adding > an element to a linked list and freeing the list, but instead > reimplemented them. This has been changed. > > Signed-off-by: Andreas Rheinhardt > --- >

Re: [FFmpeg-devel] [PATCH 2/3] avformat/aiffenc: Fix potential memleak upon failure

2019-10-02 Thread Matthieu Bouron
On Wed, Oct 02, 2019 at 06:04:11AM +0200, Andreas Rheinhardt wrote: > Signed-off-by: Andreas Rheinhardt > --- > libavformat/aiffenc.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/libavformat/aiffenc.c b/libavformat/aiffenc.c > index dd8b8c3d01..0b837cd264 10064

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mov: parse sdtp atom and set the pkt disposable flag accordingly

2019-10-07 Thread Matthieu Bouron
On Fri, Sep 27, 2019 at 04:37:31PM +0200, Matthieu Bouron wrote: > Allows the creation of the sdtp atom while remuxing MP4 to MP4. This > atom is required by Apple devices (iPhone, Apple TV) in order to accept > 2160p medias. > --- > libavformat/isom.h | 2 ++ > libav

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mov: parse sdtp atom and set the pkt disposable flag accordingly

2019-10-12 Thread Matthieu Bouron
On Mon, Oct 07, 2019 at 10:19:59PM +0100, Derek Buitenhuis wrote: > On 07/10/2019 16:06, Matthieu Bouron wrote: > > Ping. > > > > No objections from me. Pushed (with the patch updating fate squashed into this patch). Th

Re: [FFmpeg-devel] [PATCH] configure: error out if jni is enabled and not found

2017-03-18 Thread Matthieu Bouron
On Wed, Mar 15, 2017 at 03:29:08PM +0100, Matthieu Bouron wrote: > --- > configure | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configure b/configure > index 1e2e774950..a4890ca0d3 100755 > --- a/configure > +++ b/configure > @@ -5744,

Re: [FFmpeg-devel] [PATCH] configure: error out if jni is enabled and not found

2017-03-20 Thread Matthieu Bouron
On Sat, Mar 18, 2017 at 12:27:20PM +0100, Matthieu Bouron wrote: > On Wed, Mar 15, 2017 at 03:29:08PM +0100, Matthieu Bouron wrote: > > --- > > configure | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/configure b/configure > &

Re: [FFmpeg-devel] [PATCH 1/7] avcodec/mediacodec: convert to stdatomic

2017-03-23 Thread Matthieu Bouron
Le 23 mars 2017 12:35 AM, "James Almer" a écrit : Signed-off-by: James Almer --- Untested. libavcodec/mediacodec.c | 5 ++--- libavcodec/mediacodecdec.c| 1 - libavcodec/mediacodecdec_common.c | 14 ++ libavcodec/mediacodecdec_common.h | 5 +++-- 4 files change

Re: [FFmpeg-devel] [PATCH 1/7] avcodec/mediacodec: convert to stdatomic

2017-03-24 Thread Matthieu Bouron
Le 23 mars 2017 7:31 PM, "James Almer" a écrit : On 3/23/2017 3:15 PM, Matthieu Bouron wrote: > Le 23 mars 2017 12:35 AM, "James Almer" a écrit : > > Signed-off-by: James Almer > --- > Untested. > > libavcodec/mediacodec.c | 5 ++---

[FFmpeg-devel] [PATCH] doc/examples/remuxing: switch to codecpar

2017-03-28 Thread Matthieu Bouron
Also limits remuxing to audio, video and subtitle streams. --- doc/examples/remuxing.c | 48 +--- 1 file changed, 41 insertions(+), 7 deletions(-) diff --git a/doc/examples/remuxing.c b/doc/examples/remuxing.c index 65437d9abd..8615c73842 100644 --- a/d

[FFmpeg-devel] [PATCH] doc/examples/extract_mvs: switch to codecpar

2017-03-28 Thread Matthieu Bouron
--- doc/examples/extract_mvs.c | 33 ++--- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/doc/examples/extract_mvs.c b/doc/examples/extract_mvs.c index 975189c77d..09c3d32389 100644 --- a/doc/examples/extract_mvs.c +++ b/doc/examples/extract_mvs.c @@ -6

Re: [FFmpeg-devel] [PATCH] doc/examples/extract_mvs: switch to codecpar

2017-03-28 Thread Matthieu Bouron
On Tue, Mar 28, 2017 at 1:48 PM, Matthieu Bouron wrote: > --- > doc/examples/extract_mvs.c | 33 ++--- > 1 file changed, 22 insertions(+), 11 deletions(-) > > diff --git a/doc/examples/extract_mvs.c b/doc/examples/extract_mvs.c > index 975189c77d.

Re: [FFmpeg-devel] [PATCH] doc/examples/remuxing: switch to codecpar

2017-03-28 Thread Matthieu Bouron
On Tue, Mar 28, 2017 at 12:48 PM, wm4 wrote: > On Tue, 28 Mar 2017 12:32:19 +0200 > Matthieu Bouron wrote: > > > Also limits remuxing to audio, video and subtitle streams. > > --- > > doc/examples/remuxing.c | 48 ++ > +++-

Re: [FFmpeg-devel] [PATCH] doc/examples/remuxing: switch to codecpar

2017-03-28 Thread Matthieu Bouron
On Tue, Mar 28, 2017 at 4:21 PM, Moritz Barsnick wrote: > On Tue, Mar 28, 2017 at 12:32:19 +0200, Matthieu Bouron wrote: > > -fprintf(stderr, "Failed to copy context from input to > output stream codec context\n"); > > +fprintf(stderr

Re: [FFmpeg-devel] [PATCH] doc/examples/remuxing: switch to codecpar

2017-03-28 Thread Matthieu Bouron
On Tue, Mar 28, 2017 at 12:32 PM, Matthieu Bouron wrote: > Also limits remuxing to audio, video and subtitle streams. > --- > doc/examples/remuxing.c | 48 ++ > +++--- > 1 file changed, 41 insertions(+), 7 deletions(-) > > diff

Re: [FFmpeg-devel] [PATCH] doc/examples/extract_mvs: switch to codecpar

2017-03-28 Thread Matthieu Bouron
On Tue, Mar 28, 2017 at 12:53 PM, Matthieu Bouron wrote: > > > On Tue, Mar 28, 2017 at 1:48 PM, Matthieu Bouron < > matthieu.bou...@gmail.com> wrote: > >> --- >> doc/examples/extract_mvs.c | 33 ++--- >> 1 file changed, 22 in

Re: [FFmpeg-devel] [PATCH] doc/examples/remuxing: switch to codecpar

2017-03-29 Thread Matthieu Bouron
On Tue, Mar 28, 2017 at 10:06:31PM +0200, Michael Niedermayer wrote: > On Tue, Mar 28, 2017 at 04:54:38PM +0200, Matthieu Bouron wrote: > > On Tue, Mar 28, 2017 at 12:32 PM, Matthieu Bouron > > wrote: > > > > > Also limits remuxing to audio, video and subtitle

[FFmpeg-devel] [PATCH] doc/examples/filtering_video: switch to new decoding API

2017-03-29 Thread Matthieu Bouron
--- doc/examples/filtering_video.c | 32 ++-- 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/doc/examples/filtering_video.c b/doc/examples/filtering_video.c index 15116d3881..b664c69f9d 100644 --- a/doc/examples/filtering_video.c +++ b/doc/examples/filte

[FFmpeg-devel] [PATCH] doc/examples/filtering_audio: switch to new decoding API

2017-03-29 Thread Matthieu Bouron
--- doc/examples/filtering_audio.c | 42 ++ 1 file changed, 26 insertions(+), 16 deletions(-) diff --git a/doc/examples/filtering_audio.c b/doc/examples/filtering_audio.c index c6a930ba8b..c62a1f6f62 100644 --- a/doc/examples/filtering_audio.c +++ b/doc/exa

Re: [FFmpeg-devel] [PATCH] doc/examples/filtering_video: switch to new decoding API

2017-03-30 Thread Matthieu Bouron
On Wed, Mar 29, 2017 at 3:37 PM, wm4 wrote: > On Wed, 29 Mar 2017 15:03:55 +0200 > Matthieu Bouron wrote: > > > --- > > doc/examples/filtering_video.c | 32 ++-- > > 1 file changed, 26 insertions(+), 6 deletions(-) > > > > diff

Re: [FFmpeg-devel] [PATCH] doc/examples/filtering_audio: switch to new decoding API

2017-03-30 Thread Matthieu Bouron
On Wed, Mar 29, 2017 at 04:31:47PM +0200, Matthieu Bouron wrote: > --- > doc/examples/filtering_audio.c | 42 > ++ > 1 file changed, 26 insertions(+), 16 deletions(-) > > diff --git a/doc/examples/filtering_audio.c b/doc/examples/filteri

Re: [FFmpeg-devel] [PATCH] doc/examples/filtering_video: switch to new decoding API

2017-03-30 Thread Matthieu Bouron
On Thu, Mar 30, 2017 at 02:23:11PM +0200, wm4 wrote: > On Thu, 30 Mar 2017 13:35:47 +0200 > Matthieu Bouron wrote: > > > From e9e5b3e679a12fdd9495c53177ade51c3dee7ba2 Mon Sep 17 00:00:00 2001 > > From: Matthieu Bouron > > Date: Wed, 29 Mar 2017 14:58:01 +0200 > &

[FFmpeg-devel] [PATCH 3/3] doc/examples/extract_mvs: re-indent after previous commit

2017-04-03 Thread Matthieu Bouron
--- doc/examples/extract_mvs.c | 56 +++--- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/doc/examples/extract_mvs.c b/doc/examples/extract_mvs.c index 552a7334cf..7ae934ead3 100644 --- a/doc/examples/extract_mvs.c +++ b/doc/examples/extrac

[FFmpeg-devel] [PATCH 1/3] doc/examples/extract_mvs: switch to new decoding API

2017-04-03 Thread Matthieu Bouron
--- doc/examples/extract_mvs.c | 72 ++ 1 file changed, 35 insertions(+), 37 deletions(-) diff --git a/doc/examples/extract_mvs.c b/doc/examples/extract_mvs.c index 8b22b40c11..d6730db3a2 100644 --- a/doc/examples/extract_mvs.c +++ b/doc/examples/extrac

[FFmpeg-devel] [PATCH 2/3] doc/examples/extract_mvs: make pkt local to the main function

2017-04-03 Thread Matthieu Bouron
--- doc/examples/extract_mvs.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/doc/examples/extract_mvs.c b/doc/examples/extract_mvs.c index d6730db3a2..552a7334cf 100644 --- a/doc/examples/extract_mvs.c +++ b/doc/examples/extract_mvs.c @@ -31,13 +31,11 @@ s

[FFmpeg-devel] [PATCH 1/2] lavc/mediacodecdec: switch to AV_CODEC_CAP_DELAY

2017-04-04 Thread Matthieu Bouron
--- libavcodec/mediacodecdec.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c index 79a51ec684..4cbec09acd 100644 --- a/libavcodec/mediacodecdec.c +++ b/libavcodec/mediacodecdec.c @@ -552,7 +552,7 @@ AVCodec ff

[FFmpeg-devel] [PATCH 2/2] lavc/mediacodecdec: set AV_CODEC_CAP_AVOID_PROBING capability

2017-04-04 Thread Matthieu Bouron
--- libavcodec/mediacodecdec.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c index 4cbec09acd..857e7a5fed 100644 --- a/libavcodec/mediacodecdec.c +++ b/libavcodec/mediacodecdec.c @@ -552,7 +552,7 @@ AVCodec ff

Re: [FFmpeg-devel] [PATCH 2/2] lavc/mediacodecdec: set AV_CODEC_CAP_AVOID_PROBING capability

2017-04-04 Thread Matthieu Bouron
On Tue, Apr 04, 2017 at 09:31:14AM +0200, wm4 wrote: > On Tue, 4 Apr 2017 09:21:00 +0200 > Matthieu Bouron wrote: > > > --- > > libavcodec/mediacodecdec.c | 10 +- > > 1 file changed, 5 insertions(+), 5 deletions(-) > > > > Both patche

Re: [FFmpeg-devel] [PATCH 3/3] doc/examples/extract_mvs: re-indent after previous commit

2017-04-04 Thread Matthieu Bouron
On Mon, Apr 03, 2017 at 04:33:57PM +0200, Matthieu Bouron wrote: > --- > doc/examples/extract_mvs.c | 56 > +++--- > 1 file changed, 28 insertions(+), 28 deletions(-) > > diff --git a/doc/examples/extract_mvs.c b/doc/examples/ext

[FFmpeg-devel] [PATCH] lavc/aarch64/simple_idct: fix macro parameter escaping

2017-04-28 Thread Matthieu Bouron
Untested: fixes ticket #6324. --- libavcodec/aarch64/simple_idct_neon.S | 42 +-- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/libavcodec/aarch64/simple_idct_neon.S b/libavcodec/aarch64/simple_idct_neon.S index 52273420f9..fa43bcfb01 100644 --- a

Re: [FFmpeg-devel] [PATCH] lavc/aarch64/simple_idct: fix macro parameter escaping

2017-04-28 Thread Matthieu Bouron
On Fri, Apr 28, 2017 at 4:53 PM, Matthieu Bouron wrote: > Untested: fixes ticket #6324. > --- > libavcodec/aarch64/simple_idct_neon.S | 42 +- > - > 1 file changed, 21 insertions(+), 21 deletions(-) > > diff --git a/libavcodec/aarch64/s

[FFmpeg-devel] [PATCH] lavc/aarch64/simple_idct: separate macro arguments with commas

2017-04-28 Thread Matthieu Bouron
Untested: fixes ticket #6324. --- libavcodec/aarch64/simple_idct_neon.S | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavcodec/aarch64/simple_idct_neon.S b/libavcodec/aarch64/simple_idct_neon.S index 52273420f9..d31f72a609 100644 --- a/libavcodec/aarch64/simpl

Re: [FFmpeg-devel] [PATCH] lavc/aarch64/simple_idct: separate macro arguments with commas

2017-05-07 Thread Matthieu Bouron
Le 2 mai 2017 12:01 PM, "Benoit Fouet" a écrit : Hi, On 28/04/2017 21:58, Matthieu Bouron wrote: > Untested: fixes ticket #6324. > --- > libavcodec/aarch64/simple_idct_neon.S | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > dif

Re: [FFmpeg-devel] [PATCH] lavc/aarch64/simple_idct: separate macro arguments with commas

2017-05-09 Thread Matthieu Bouron
On Sun, May 7, 2017 at 11:05 AM, Matthieu Bouron wrote: > > > Le 2 mai 2017 12:01 PM, "Benoit Fouet" a écrit : > > Hi, > > > On 28/04/2017 21:58, Matthieu Bouron wrote: > > Untested: fixes ticket #6324. > > --- > > libavcodec/aarch64/simple_

Re: [FFmpeg-devel] [PATCH] lavc/aarch64/simple_idct: separate macro arguments with commas

2017-05-10 Thread Matthieu Bouron
On Tue, May 09, 2017 at 11:08:48PM +0200, Matthieu Bouron wrote: > On Sun, May 7, 2017 at 11:05 AM, Matthieu Bouron > wrote: > > > > > > > Le 2 mai 2017 12:01 PM, "Benoit Fouet" a écrit : > > > > Hi, > > > > > > On 28/04/20

Re: [FFmpeg-devel] ffmpeg using MediaCodec, avcodec_open2 says error code:-1 (0xffffffff) text: “Operation not permitted”

2017-05-11 Thread Matthieu Bouron
On Thu, May 11, 2017 at 08:10:37AM +, Miguel del Amor wrote: > > Qt version: 5.7.1 > ffmpeg version: n3.3 > Android version: 5.1.1 ( but I've tried on some different devices ) > > I'm trying to use the Android API MediaCoded that have been supported by > ffmpeg but while I try to open the co

Re: [FFmpeg-devel] [PATCH] lavc/aarch64/simple_idct: separate macro arguments with commas

2017-05-11 Thread Matthieu Bouron
On Wed, May 10, 2017 at 08:23:02PM +0200, Matthieu Bouron wrote: > On Tue, May 09, 2017 at 11:08:48PM +0200, Matthieu Bouron wrote: > > On Sun, May 7, 2017 at 11:05 AM, Matthieu Bouron > > wrote: > > > > > > > > > > > Le 2 mai 2017 12

[FFmpeg-devel] [PATCH] lavf/mov: make invalid mdhd time_scale default to 1 instead of erroring out

2017-05-11 Thread Matthieu Bouron
Some samples have their metadata track time_scale incorrectly set to 0 and the check introduced by a398f054fdb9b0f0b5a91c231fba6ce014143f71 prevents playback of those samples. Setting the time_scale to 1 fixes playback. --- libavformat/mov.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-

Re: [FFmpeg-devel] [PATCH] configure: jni no longer requires -ldl

2017-05-13 Thread Matthieu Bouron
On Fri, May 12, 2017 at 12:14:20PM -0700, Aaron Levinson wrote: > On 5/12/2017 11:34 AM, Aman Gupta wrote: > > From: Aman Gupta > > > > this dependency was removed in 33d69a90085d30af8a292d9364b835a26565d6b9 > > --- > > configure | 3 +-- > > 1 file changed, 1 insertion(+), 2 deletions(-) > > >

Re: [FFmpeg-devel] [PATCH] configure: jni no longer requires -ldl

2017-05-16 Thread Matthieu Bouron
On Sat, May 13, 2017 at 05:26:13PM +0200, Matthieu Bouron wrote: > On Fri, May 12, 2017 at 12:14:20PM -0700, Aaron Levinson wrote: > > On 5/12/2017 11:34 AM, Aman Gupta wrote: > > > From: Aman Gupta > > > > > > this dependency was removed in 33d6

Re: [FFmpeg-devel] [PATCH] lavf/mov: make invalid mdhd time_scale default to 1 instead of erroring out

2017-05-17 Thread Matthieu Bouron
On Fri, May 12, 2017 at 11:12:12PM +0200, Michael Niedermayer wrote: > On Thu, May 11, 2017 at 04:33:50PM +0200, Matthieu Bouron wrote: > > Some samples have their metadata track time_scale incorrectly set to 0 > > and the check introduced by a398f054fdb9b0f0b5a91c231fba6ce014143f

Re: [FFmpeg-devel] [PATCH] lavf/mov: make invalid mdhd time_scale default to 1 instead of erroring out

2017-05-17 Thread Matthieu Bouron
On Wed, May 17, 2017 at 01:56:13PM +0200, Matthieu Bouron wrote: > On Fri, May 12, 2017 at 11:12:12PM +0200, Michael Niedermayer wrote: > > On Thu, May 11, 2017 at 04:33:50PM +0200, Matthieu Bouron wrote: > > > Some samples have their metadata track time_scale incorrectly set

  1   2   3   4   5   6   7   >