aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-10-20 10:26:54 +0200
committerPaul B Mahol <onemda@gmail.com>2015-10-23 11:49:01 +0200
commitca09eacbced651f1ccf514aa6031ca6b01fbd9c2 (patch)
tree17a72958105f76b10402d77944c7faeaff9e1965 /doc/filters.texi
parent573334da8242a9d1e80572b7bf0979200899565f (diff)
downloadffmpeg-ca09eacbced651f1ccf514aa6031ca6b01fbd9c2.tar.gz
avfilter: add shuffleframes filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 6a1596eef4..5a35bdeabb 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -9946,6 +9946,26 @@ Set the size of the box used to represent one palette color entry. Default is
@code{30} (for a @code{30x30} pixel box).
@end table
+@section shuffleframes
+
+Reorder and/or duplicate video frames.
+
+It accepts the following parameters:
+
+@table @option
+@item mapping
+Set the destination indexes of input frames.
+This is space or '|' separated list of indexes that maps input frames to output
+frames. Number of indexes also sets maximal value that each index may have.
+@end table
+
+The first frame has the index 0. The default is to keep the input unchanged.
+
+Swap second and third frame of every three frames of the input:
+@example
+ffmpeg -i INPUT -vf "shuffleframes=0 2 1" OUTPUT
+@end example
+
@section shuffleplanes
Reorder and/or duplicate video planes.