From 681ad3a5b6962efc75c400c091c0b9eb29e43bc5 Mon Sep 17 00:00:00 2001 From: Andrey Utkin Date: Wed, 31 Jul 2013 15:22:02 +0300 Subject: [PATCH] Document new 'blocksize' option of 'pipe' protocol Signed-off-by: Michael Niedermayer --- doc/protocols.texi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/protocols.texi b/doc/protocols.texi index e8427aa277..bae05d593f 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -325,6 +325,16 @@ ffmpeg -i test.wav -f avi pipe:1 | cat > test.avi ffmpeg -i test.wav -f avi pipe: | cat > test.avi @end example +This protocol accepts the following options: + +@table @option +@item blocksize +Set I/O operation maximum block size, in bytes. Default value is +@code{INT_MAX}, which results in not limiting the requested block size. +Setting this value reasonably low improves user termination request reaction +time, which is valuable if data transmission is slow. +@end table + Note that some formats (typically MOV), require the output protocol to be seekable, so they will fail with the pipe output protocol.