Document new 'blocksize' option of 'pipe' protocol

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Andrey Utkin
2013-07-31 15:22:02 +03:00
committed by Michael Niedermayer
parent a8f171151f
commit 681ad3a5b6

View File

@ -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 ffmpeg -i test.wav -f avi pipe: | cat > test.avi
@end example @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 Note that some formats (typically MOV), require the output protocol to
be seekable, so they will fail with the pipe output protocol. be seekable, so they will fail with the pipe output protocol.