[FFmpeg-devel] [RFC] OS support library

Rich Felker dalias
Tue Dec 4 18:59:36 CET 2007


On Tue, Dec 04, 2007 at 05:38:22PM +0100, Reimar D?ffinger wrote:
> Hello,
> On Mon, Dec 03, 2007 at 07:40:35PM -0500, Rich Felker wrote:
> > On Mon, Dec 03, 2007 at 10:37:27PM +0100, Reimar D?ffinger wrote:
> > > Any other ideas how to get a filedescriptor without needing a file?
> > 
> > pipe(2)
> 
> Yes, that is what I meant by "socket", sorry for the confusion.
> And it was a stupid idea anyway since xvid needs a filename...
> Using a file in /dev/shm might by provide a slight improvement but it
> really seems like any proper solution will have to involve a patch to
> xvid - and I have no interest in going that far.

Then we should either drop support for xvid or tell them to fix their
library. Libraries polluting the filesystem with temp files are not
acceptable. Or, we could require the caller to create the file and
somehow pass the filename in as an option to the codec...

Rich




More information about the ffmpeg-devel mailing list