[Ffmpeg-devel] swscaler integration

Erik Slagter erik
Thu Mar 16 12:58:14 CET 2006

On Thu, 2006-03-16 at 00:06 -0500, Dave Dodge wrote:
> > 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.

Not to mention:

 - multiple streams (either audio/video) in one container
 - timestamps
 - other metadata carried in the input container or stream (if decoding)

And indeed, running all of this over standard 4k pipes is ehm...
non-optimal. Using a socketpair of 64 kb might help somewhat, but that
would be as complex as using shared memory which of course beats the
hell out of every other mechanism. Either way, you won't have the nice
pipeline syntax.

I never understood why no unix version has a ioctl to set the pipe
buffer size.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2771 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060316/729bcb9a/attachment.bin>

More information about the ffmpeg-devel mailing list