On Tue, Oct 20, 2015 at 08:10:55PM +0200, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <[email protected]>
> ---
>  doc/filters.texi               |  20 ++++++
>  libavfilter/Makefile           |   1 +
>  libavfilter/allfilters.c       |   1 +
>  libavfilter/vf_shuffleframes.c | 159 
> +++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 181 insertions(+)
>  create mode 100644 libavfilter/vf_shuffleframes.c
> 
> diff --git a/doc/filters.texi b/doc/filters.texi
> index 1af0a72..9ff5e24 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -9945,6 +9945,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
> +

No random shuffle of batches of frames?

[...]

-- 
Clément B.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to