Re: [FFmpeg-devel] [PATCH] avutil/WIP: add AVAsync API

2015-11-24 Thread Clément Bœsch
On Fri, Nov 13, 2015 at 03:57:22PM +0100, Nicolas George wrote: > Le primidi 21 brumaire, an CCXXIV, Clement Boesch a écrit : > > You construct something like this: > > > > AVAsyncContext( > > AVAsyncReader( > > AVAsyncDecoder(...), > > AVAsyncDecoder(...), > > AVAsyncDecod

Re: [FFmpeg-devel] [PATCH] avutil/WIP: add AVAsync API

2015-11-13 Thread Nicolas George
Le tridi 23 brumaire, an CCXXIV, Paul B Mahol a écrit : > This monolithic is incorrect, it is easy to add support for loading > filters its just that it never get commited, there is even patch for this. I do not think you are right. Filters need to use internal APIs to process frames, dynamic load

Re: [FFmpeg-devel] [PATCH] avutil/WIP: add AVAsync API

2015-11-13 Thread Paul B Mahol
On 11/13/15, wm4 wrote: > On Fri, 13 Nov 2015 15:57:22 +0100 > Nicolas George wrote: > >> Le primidi 21 brumaire, an CCXXIV, Clement Boesch a ecrit : >> > You construct something like this: >> > >> > AVAsyncContext( >> > AVAsyncReader( >> > AVAsyncDecoder(...), >> > AVAsyncDecod

Re: [FFmpeg-devel] [PATCH] avutil/WIP: add AVAsync API

2015-11-13 Thread Nicolas George
Le tridi 23 brumaire, an CCXXIV, wm4 a écrit : > libavfilter is too inflexible, brittle, monolithic. Care to elaborate? Regards, -- Nicolas George signature.asc Description: Digital signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org h

Re: [FFmpeg-devel] [PATCH] avutil/WIP: add AVAsync API

2015-11-13 Thread wm4
On Fri, 13 Nov 2015 15:57:22 +0100 Nicolas George wrote: > Le primidi 21 brumaire, an CCXXIV, Clement Boesch a écrit : > > You construct something like this: > > > > AVAsyncContext( > > AVAsyncReader( > > AVAsyncDecoder(...), > > AVAsyncDecoder(...), > > AVAsyncDecoder(..

Re: [FFmpeg-devel] [PATCH] avutil/WIP: add AVAsync API

2015-11-13 Thread Nicolas George
Le primidi 21 brumaire, an CCXXIV, Clement Boesch a écrit : > You construct something like this: > > AVAsyncContext( > AVAsyncReader( > AVAsyncDecoder(...), > AVAsyncDecoder(...), > AVAsyncDecoder(...), > ... > ), > AVAsyncReader( > AVAsyncDecoder(...),

Re: [FFmpeg-devel] [PATCH] avutil/WIP: add AVAsync API

2015-11-12 Thread Clément Bœsch
On Thu, Nov 12, 2015 at 10:15:16PM +0100, wm4 wrote: > On Wed, 11 Nov 2015 08:45:52 +0100 > Hendrik Leppkes wrote: > > > On Wed, Nov 11, 2015 at 1:27 AM, Clément Bœsch wrote: > > > From: Clément Bœsch > > > > I hope this is going in a direction most developers like. If it's not > > > the case,

Re: [FFmpeg-devel] [PATCH] avutil/WIP: add AVAsync API

2015-11-12 Thread wm4
On Wed, 11 Nov 2015 08:45:52 +0100 Hendrik Leppkes wrote: > On Wed, Nov 11, 2015 at 1:27 AM, Clément Bœsch wrote: > > From: Clément Bœsch > > I hope this is going in a direction most developers like. If it's not > > the case, I'm of course open to any reworking but please be specific. > > I

Re: [FFmpeg-devel] [PATCH] avutil/WIP: add AVAsync API

2015-11-10 Thread Hendrik Leppkes
On Wed, Nov 11, 2015 at 1:27 AM, Clément Bœsch wrote: > From: Clément Bœsch > > --- > > So here is a first prototype of a higher level API following an > asynchronous model to (for now) simply use the current synchronous API. > > I suggest to look at libavutil/async.h (sorry no doxy yet) and > do

Re: [FFmpeg-devel] [PATCH] avutil/WIP: add AVAsync API

2015-11-10 Thread Zhang Rui
2015-11-11 8:27 GMT+08:00 Clément Bœsch : > From: Clément Bœsch > > --- > > So here is a first prototype of a higher level API following an > asynchronous model to (for now) simply use the current synchronous API. > > I suggest to look at libavutil/async.h (sorry no doxy yet) and > doc/examples/as

[FFmpeg-devel] [PATCH] avutil/WIP: add AVAsync API

2015-11-10 Thread Clément Bœsch
From: Clément Bœsch --- So here is a first prototype of a higher level API following an asynchronous model to (for now) simply use the current synchronous API. I suggest to look at libavutil/async.h (sorry no doxy yet) and doc/examples/async_demuxing_decoding.c for an example of usage. Basical