[Ffmpeg-devel] swscaler integration

Dave Dodge dododge
Thu Mar 16 06:06:01 CET 2006

On Wed, Mar 15, 2006 at 06:40:19PM +0100, Michel Bardiaux wrote:
> Dieter wrote:
> >Ken and Dennis did filters 30+ years ago.  Just change from grep and cut to
> >video/audio filters:
> >
> >   ... | crop | scale | pad | text_overlay | aknobs | vknobs | ...

mjpegtools basically works this way, right?  And of course
pbmplus/netpbm uses this model to process still images.

> Also: it is not difficult to design a command language so that the 
> control of filters is outside the arguments of the ffmpeg command line.

Sort of like avisynth?

> So, decoupling crop/scale/pad may not be the best solution after
> all. But maybe that would have to be *another* filter?

The real difficulty is if you have to _seek_ in the data.  The pipes
destroy that capability unless you implement buffering or require some
other way of doing I/O.

                                                  -Dave Dodge

More information about the ffmpeg-devel mailing list