[FFmpeg-devel] [PATCH 1/2] file: operate in blocks, check for interrupts

Hendrik Leppkes h.leppkes at gmail.com
Sun Jul 7 20:03:19 CEST 2013


On Sun, Jul 7, 2013 at 7:56 PM, Andrey Utkin
<andrey.krieger.utkin at gmail.com> wrote:
> Interruptibility of file operations is strongly desirable in case of
> slow storage access, e.g. mounted network share.
> Note that file I/O operation still may block (or even freeze) inside of
> single read(2) or write(2) operation. There is no API for
> asynchronous file I/O, but hopefully it will appear in future.


Reading bigger blocks in one call to "read" is beneficial for
high-latency/high-throughput storage.
If this option is added, it should not be on by default.


More information about the ffmpeg-devel mailing list