Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-09-08 11:26:33 +0300
committerPaul B Mahol <onemda@gmail.com>2016-09-08 11:26:33 +0300
commit8cfe60ef3933c4e300cb088fec28b2511df45398 (patch)
tree3d998df0e4a73ba3e6f35974496f93ea7066381c /doc
parent2793ebd6cb8e945a3ac3b3bfb2dc1c3420f668d6 (diff)
doc/filters: itemize shuffleframes & shuffleplanes examples
Add one more shuffleframes example. Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 86a9599544..2b5c25b3fe 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -12113,11 +12113,22 @@ frames. Number of indexes also sets maximal value that each index may have.
The first frame has the index 0. The default is to keep the input unchanged.
+@subsection Examples
+
+@itemize
+@item
Swap second and third frame of every three frames of the input:
@example
ffmpeg -i INPUT -vf "shuffleframes=0 2 1" OUTPUT
@end example
+@item
+Swap 10th and 1st frame of every ten frames of the input:
+@example
+ffmpeg -i INPUT -vf "shuffleframes=9 1 2 3 4 5 6 7 8 0" OUTPUT
+@end example
+@end itemize
+
@section shuffleplanes
Reorder and/or duplicate video planes.
@@ -12142,10 +12153,15 @@ The index of the input plane to be used as the fourth output plane.
The first plane has the index 0. The default is to keep the input unchanged.
+@subsection Examples
+
+@itemize
+@item
Swap the second and third planes of the input:
@example
ffmpeg -i INPUT -vf shuffleplanes=0:2:1:3 OUTPUT
@end example
+@end itemize
@anchor{signalstats}
@section signalstats