[Ffmpeg-devel] Patch to allow use of already open files
Andy Parkins
andyparkins
Fri Jul 22 17:58:26 CEST 2005
Hello,
Attached is a fairly trivial patch to add an "fd" protocol. This lets you use
an already open filehandle for output/input with lavf.
Pointless for normal files, but I'm using it to open a socket outside of
ffmpeg and write to that. Equally, one could replace the pipe protocol with
calls like:
url_fopen( blah, "fd:1", URL_WRONLY );
You get the idea...
Andy
--
Dr Andrew Parkins, M Eng (hons), AMIEE
andyparkins at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fd_ffmpeg.diff
Type: text/x-diff
Size: 1674 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20050722/1ef999c4/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20050722/1ef999c4/attachment.pgp>
More information about the ffmpeg-devel
mailing list