[Ffmpeg-devel] swscaler integration

Rich Felker dalias
Wed Mar 15 19:51:37 CET 2006


On Wed, Mar 15, 2006 at 07:44:51PM +0200, Oded Shimon wrote:
> On Wed, Mar 15, 2006 at 09:21:18AM +0000, Dieter wrote:
> > > > But now I am thinking about the "video filter layer" mentioned by
> > > > Michael in one email about cropping and padding.
> > > > Maybe the best thing to do is to introduce a "video filter" library, and
> > > > move swscaler into it.=20
> > > 
> > > :-)
> > > 
> > > Looks pretty as concept.
> > 
> > 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 | ...
> 
> I somewhat disagree. The Unix philosphy doesn't apply very well to 
> multimedia. When you have to control things like AV sync, speed, decoding, 
> encoding, extra params (like, quantizer of image for pp), tight integration 
> of components within a single binary is manditory. Not to mention the 
> example you gave above will just be slow as hell..

While that's true, the concept is totally right. It's just that the
existing unix mechanisms are not sufficiently powerful for it. Single
binary is certainly not even necessary (shared memory would do just as
well), but in most cases it would be desirable anyway.

Rich





More information about the ffmpeg-devel mailing list