diff options
author | Jan Sebechlebsky <sebechlebskyjan@gmail.com> | 2016-04-21 00:48:38 +0300 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2016-04-22 20:04:27 +0200 |
commit | 2063f3ed9c2f7841b48d3d7635f42fafdace9de8 (patch) | |
tree | b5011107fa44a95ee686464b101d3c4ab998af07 /doc | |
parent | f9d7e9feec2a0fd7f7930d01876a70a9b8a4a3b9 (diff) | |
download | ffmpeg-2063f3ed9c2f7841b48d3d7635f42fafdace9de8.tar.gz |
avformat/tee: Handling slave failure in tee muxer
Adds per slave option 'onfail' to the tee muxer allowing an output to
fail, so other slave outputs can continue.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/muxers.texi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi index 042efcea9e..c62d4b5cb8 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -1453,6 +1453,12 @@ Select the streams that should be mapped to the slave output, specified by a stream specifier. If not specified, this defaults to all the input streams. You may use multiple stream specifiers separated by commas (@code{,}) e.g.: @code{a:0,v} + +@item onfail +Specify behaviour on output failure. This can be set to either @code{abort} (which is +default) or @code{ignore}. @code{abort} will cause whole process to fail in case of failure +on this slave output. @code{ignore} will ignore failure on this output, so other outputs +will continue without being affected. @end table @subsection Examples @@ -1467,6 +1473,14 @@ ffmpeg -i ... -c:v libx264 -c:a mp2 -f tee -map 0:v -map 0:a @end example @item +As above, but continue streaming even if output to local file fails +(for example local drive fills up): +@example +ffmpeg -i ... -c:v libx264 -c:a mp2 -f tee -map 0:v -map 0:a + "[onfail=ignore]archive-20121107.mkv|[f=mpegts]udp://10.0.1.255:1234/" +@end example + +@item Use @command{ffmpeg} to encode the input, and send the output to three different destinations. The @code{dump_extra} bitstream filter is used to add extradata information to all the output video |