diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-05-18 19:38:38 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-05-19 13:24:53 +0200 |
commit | 150227e8edfcbd5ee30d9236a4d3618937447ed3 (patch) | |
tree | 86b6d73de4662bd893c976176857af075c70e6be /doc | |
parent | e5fcf3646acd633bfad1806fc778bc33748e6f5f (diff) | |
download | ffmpeg-streaming-150227e8edfcbd5ee30d9236a4d3618937447ed3.zip ffmpeg-streaming-150227e8edfcbd5ee30d9236a4d3618937447ed3.tar.gz |
lavfi/asplit: move asplit code to vf_split.c, and make it support N outputs
The move allows to share the init code already used by split.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/filters.texi | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 06374fc..08e1647 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -304,16 +304,23 @@ expressed in the form "[@var{c0} @var{c1} @var{c2} @var{c3} @var{c4} @var{c5} @section asplit -Pass on the input audio to two outputs. Both outputs are identical to -the input audio. +Split input audio into several identical outputs. + +The filter accepts a single parameter which specifies the number of outputs. If +unspecified, it defaults to 2. For example: @example -[in] asplit[out0], showaudio[out1] +[in] asplit [out0][out1] @end example -will create two separate outputs from the same input, one cropped and -one padded. +will create two separate outputs from the same input. + +To create 3 or more outputs, you need to specify the number of +outputs, like in: +@example +[in] asplit=3 [out0][out1][out2] +@end example @section astreamsync |