Re: [FFmpeg-devel] [PATCH 2/4] lavf/utils: avoid decoding a frame to get the codec parameters

2015-11-26 Thread Matthieu Bouron
On Thu, Nov 26, 2015 at 08:08:25PM +0100, Michael Niedermayer wrote: > On Thu, Nov 26, 2015 at 05:16:32PM +0100, Matthieu Bouron wrote: > > On Thu, Nov 19, 2015 at 12:10:20PM +0100, Matthieu Bouron wrote: > > > On Mon, Nov 16, 2015 at 11:16:42AM -0500, Ronald S. Bultje wrote: > > > > Hi, > > > >

Re: [FFmpeg-devel] [PATCH 2/4] lavf/utils: avoid decoding a frame to get the codec parameters

2015-11-26 Thread Matthieu Bouron
On Thu, Nov 19, 2015 at 12:10:20PM +0100, Matthieu Bouron wrote: > On Mon, Nov 16, 2015 at 11:16:42AM -0500, Ronald S. Bultje wrote: > > Hi, > > > > On Mon, Nov 16, 2015 at 11:06 AM, Matthieu Bouron > > wrote: > > > > > On Sun, Nov 15, 2015 at 08:12:57AM -0500,

Re: [FFmpeg-devel] [PATCH 2/4] lavf/utils: avoid decoding a frame to get the codec parameters

2015-11-26 Thread Michael Niedermayer
On Thu, Nov 26, 2015 at 05:16:32PM +0100, Matthieu Bouron wrote: > On Thu, Nov 19, 2015 at 12:10:20PM +0100, Matthieu Bouron wrote: > > On Mon, Nov 16, 2015 at 11:16:42AM -0500, Ronald S. Bultje wrote: > > > Hi, > > > > > > On Mon, Nov 16, 2015 at 11:06 AM, Matthieu Bouron > > >

Re: [FFmpeg-devel] [PATCH 2/4] lavf/utils: avoid decoding a frame to get the codec parameters

2015-11-26 Thread Ronald S. Bultje
Hi, On Thu, Nov 26, 2015 at 11:16 AM, Matthieu Bouron wrote: > On Thu, Nov 19, 2015 at 12:10:20PM +0100, Matthieu Bouron wrote: > > On Mon, Nov 16, 2015 at 11:16:42AM -0500, Ronald S. Bultje wrote: > > > Hi, > > > > > > On Mon, Nov 16, 2015 at 11:06 AM, Matthieu

Re: [FFmpeg-devel] [PATCH 2/4] lavf/utils: avoid decoding a frame to get the codec parameters

2015-11-19 Thread Matthieu Bouron
On Mon, Nov 16, 2015 at 11:16:42AM -0500, Ronald S. Bultje wrote: > Hi, > > On Mon, Nov 16, 2015 at 11:06 AM, Matthieu Bouron > wrote: > > > On Sun, Nov 15, 2015 at 08:12:57AM -0500, Ronald S. Bultje wrote: > > > Hi, > > > > Hi, > > > > > > > > On Sun, Nov 15, 2015

Re: [FFmpeg-devel] [PATCH 2/4] lavf/utils: avoid decoding a frame to get the codec parameters

2015-11-16 Thread Matthieu Bouron
On Sun, Nov 15, 2015 at 08:12:57AM -0500, Ronald S. Bultje wrote: > Hi, Hi, > > On Sun, Nov 15, 2015 at 4:49 AM, Matthieu Bouron > wrote: > > > On Mon, Nov 02, 2015 at 07:56:50AM -0500, Ronald S. Bultje wrote: > > > Hi, > > > > > > On Mon, Nov 2, 2015 at 5:45 AM,

Re: [FFmpeg-devel] [PATCH 2/4] lavf/utils: avoid decoding a frame to get the codec parameters

2015-11-16 Thread Ronald S. Bultje
Hi, On Mon, Nov 16, 2015 at 11:06 AM, Matthieu Bouron wrote: > On Sun, Nov 15, 2015 at 08:12:57AM -0500, Ronald S. Bultje wrote: > > Hi, > > Hi, > > > > > On Sun, Nov 15, 2015 at 4:49 AM, Matthieu Bouron < > matthieu.bou...@gmail.com> > > wrote: > > > > > On Mon, Nov

Re: [FFmpeg-devel] [PATCH 2/4] lavf/utils: avoid decoding a frame to get the codec parameters

2015-11-16 Thread Michael Niedermayer
On Mon, Nov 16, 2015 at 11:16:42AM -0500, Ronald S. Bultje wrote: > Hi, > > On Mon, Nov 16, 2015 at 11:06 AM, Matthieu Bouron > wrote: > > > On Sun, Nov 15, 2015 at 08:12:57AM -0500, Ronald S. Bultje wrote: > > > Hi, > > > > Hi, > > > > > > > > On Sun, Nov 15, 2015

Re: [FFmpeg-devel] [PATCH 2/4] lavf/utils: avoid decoding a frame to get the codec parameters

2015-11-15 Thread Matthieu Bouron
On Mon, Nov 02, 2015 at 07:56:50AM -0500, Ronald S. Bultje wrote: > Hi, > > On Mon, Nov 2, 2015 at 5:45 AM, Matthieu Bouron > wrote: > > > From: Matthieu Bouron > > > > Avoid decoding a frame to get the codec parameters while the codec

Re: [FFmpeg-devel] [PATCH 2/4] lavf/utils: avoid decoding a frame to get the codec parameters

2015-11-15 Thread Ronald S. Bultje
Hi, On Sun, Nov 15, 2015 at 4:49 AM, Matthieu Bouron wrote: > On Mon, Nov 02, 2015 at 07:56:50AM -0500, Ronald S. Bultje wrote: > > Hi, > > > > On Mon, Nov 2, 2015 at 5:45 AM, Matthieu Bouron < > matthieu.bou...@gmail.com> > > wrote: > > > > > From: Matthieu Bouron

Re: [FFmpeg-devel] [PATCH 2/4] lavf/utils: avoid decoding a frame to get the codec parameters

2015-11-02 Thread Ronald S. Bultje
Hi, On Mon, Nov 2, 2015 at 5:45 AM, Matthieu Bouron wrote: > From: Matthieu Bouron > > Avoid decoding a frame to get the codec parameters while the codec > supports FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM. This is particulary useful > to

[FFmpeg-devel] [PATCH 2/4] lavf/utils: avoid decoding a frame to get the codec parameters

2015-11-02 Thread Matthieu Bouron
From: Matthieu Bouron Avoid decoding a frame to get the codec parameters while the codec supports FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM. This is particulary useful to avoid decoding twice images (once in avformat_find_stream_info and once when the actual decode is