summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-04-15 21:29:29 +0200
committerStefano Sabatini <stefasab@gmail.com>2013-04-15 23:40:05 +0200
commit41985cb0ab80c26a25f54a218a3885096b60ddcd (patch)
treee428bd2efcec6dc28ed7892f02defd46bff3a2b3 /doc
parent3453b0196fa46df21f4d42c9ed7b4412e0feb38d (diff)
doc/filters: merge asplit and split documentation
Also move them to multimedia filters section.
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi90
1 files changed, 41 insertions, 49 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 8d0f31cd58..5c2a54aadd 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -934,32 +934,6 @@ the data is treated as if all the planes were concatenated.
A list of Adler-32 checksums for each data plane.
@end table
-@section asplit
-
-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][out1]
-@end example
-
-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
-
-@example
-ffmpeg -i INPUT -filter_complex asplit=5 OUTPUT
-@end example
-will create 5 copies of the input audio.
-
-
@section astreamsync
Forward two audio streams and control the order the buffers are forwarded.
@@ -5723,29 +5697,6 @@ which is equivalent to:
subtitles=filename=sub.srt
@end example
-@section split
-
-Split input video into several identical outputs.
-
-The filter accepts a single option @option{outputs} which specifies
-the number of outputs. If unspecified, it defaults to 2.
-
-For example
-@example
-ffmpeg -i INPUT -filter_complex split=5 OUTPUT
-@end example
-will create 5 copies of the input video.
-
-For example:
-@example
-[in] split [splitout1][splitout2];
-[splitout1] crop=100:100:0:0 [cropout];
-[splitout2] pad=200:200:100:100 [padout];
-@end example
-
-will create two separate outputs from the same input, one cropped and
-one padded.
-
@section super2xsai
Scale the input by 2x and smooth using the Super2xSaI (Scale and
@@ -7532,6 +7483,47 @@ aevalsrc=sin(1*2*PI*t)*sin(880*2*PI*t):cos(2*PI*200*t),asplit[out0],showwaves=r=
@end example
@end itemize
+@section split, asplit
+
+Split input into several identical outputs.
+
+@code{asplit} works with audio input, @code{split} with video.
+
+The filter accepts a single parameter which specifies the number of outputs. If
+unspecified, it defaults to 2.
+
+@subsection Examples
+
+@itemize
+@item
+Create two separate outputs from the same input:
+@example
+[in] split [out0][out1]
+@end example
+
+@item
+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
+
+@item
+Create two separate outputs from the same input, one cropped and
+one padded:
+@example
+[in] split [splitout1][splitout2];
+[splitout1] crop=100:100:0:0 [cropout];
+[splitout2] pad=200:200:100:100 [padout];
+@end example
+
+@item
+Create 5 copies of the input audio with @command{ffmpeg}:
+@example
+ffmpeg -i INPUT -filter_complex asplit=5 OUTPUT
+@end example
+@end itemize
+
@c man end MULTIMEDIA FILTERS
@chapter Multimedia Sources