diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2022-12-15 01:10:07 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2023-01-11 18:50:36 +0800 |
commit | 49b8f043ca3e39141929d8614876131be0a801a9 (patch) | |
tree | d78b62e0dab27fd8fb8c9eef8bd266ac94794e08 /doc/protocols.texi | |
parent | 0d7c452d84e7ed228601b0285152f158ee2308fd (diff) | |
download | ffmpeg-49b8f043ca3e39141929d8614876131be0a801a9.tar.gz |
avformat/file: add fd option for pipe
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'doc/protocols.texi')
-rw-r--r-- | doc/protocols.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi index d1c6fced7b..a686a7f0ac 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -687,7 +687,7 @@ The accepted syntax is: pipe:[@var{number}] @end example -@var{number} is the number corresponding to the file descriptor of the +If @option{fd} isn't specified, @var{number} is the number corresponding to the file descriptor of the pipe (e.g. 0 for stdin, 1 for stdout, 2 for stderr). If @var{number} is not specified, by default the stdout file descriptor will be used for writing, stdin for reading. @@ -714,6 +714,8 @@ 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. +@item fd +Set file descriptor. @end table Note that some formats (typically MOV), require the output protocol to |