From 599b81ca9a8e04a27ddad94af462171d16063167 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 23 Feb 2014 15:38:13 +0100 Subject: lavfi: add shuffleplanes filter --- doc/filters.texi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'doc/filters.texi') diff --git a/doc/filters.texi b/doc/filters.texi index 68a657ae76..8d46cd1fb4 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -2453,6 +2453,36 @@ Adler-32 checksum of each plane of the input frame, expressed in the form "[@var{c0} @var{c1} @var{c2} @var{c3}]" @end table +@section shuffleplanes + +Reorder and/or duplicate video planes. + +This filter accepts the following options: + +@table @option + +@item map0 +The index of the input plane to be used as the first output plane. + +@item map1 +The index of the input plane to be used as the second output plane. + +@item map2 +The index of the input plane to be used as the third output plane. + +@item map3 +The index of the input plane to be used as the fourth output plane. + +@end table + +The first plane has the index 0. The default is to keep the input unchanged. + +E.g. +@example +avconv -i INPUT -vf shuffleplanes=0:2:1:3 OUTPUT +@end example +swaps the second and third planes of the input. + @section split Split input video into several identical outputs. -- cgit v1.2.3