diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2014-12-04 12:27:53 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2014-12-27 16:15:24 +0100 |
commit | d4fd3f24e86fe77435a9cbcdd77feeecf6a83bbd (patch) | |
tree | 093475b4c79ea152c90be033be6d8dde0e39d6d3 /doc | |
parent | 05e74ac2f3f3390952893b983939f026f7ab1cec (diff) | |
download | ffmpeg-d4fd3f24e86fe77435a9cbcdd77feeecf6a83bbd.tar.gz |
lavfi: add tblend filter
Diffstat (limited to 'doc')
-rw-r--r-- | doc/filters.texi | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index aaa3083a70..261fd24682 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -2634,13 +2634,17 @@ The threshold below which a pixel value is considered black; it defaults to @end table -@section blend +@section blend, tblend Blend two video frames into each other. -It takes two input streams and outputs one stream, the first input is the -"top" layer and second input is "bottom" layer. -Output terminates when shortest input terminates. +The @code{blend} filter takes two input streams and outputs one +stream, the first input is the "top" layer and second input is +"bottom" layer. Output terminates when shortest input terminates. + +The @code{tblend} (time blend) filter takes two consecutive frames +from one single stream, and outputs the result obtained by blending +the new frame on top of the old frame. A description of the accepted options follows. @@ -2730,11 +2734,13 @@ Value of pixel component at current location for second video frame (bottom laye @end table @item shortest -Force termination when the shortest input terminates. Default is @code{0}. +Force termination when the shortest input terminates. Default is +@code{0}. This option is only defined for the @code{blend} filter. + @item repeatlast Continue applying the last bottom frame after the end of the stream. A value of @code{0} disable the filter after the last frame of the bottom layer is reached. -Default is @code{1}. +Default is @code{1}. This option is only defined for the @code{blend} filter. @end table @subsection Examples @@ -2769,6 +2775,12 @@ Apply uncover up-left effect: @example blend=all_expr='if(gte(T*SH*40+Y,H)*gte((T*40*SW+X)*W/H,W),A,B)' @end example + +@item +Display differences between the current and the previous frame: +@example +tblend=all_mode=difference128 +@end example @end itemize @section boxblur |