diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-02-04 14:33:33 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-02-04 14:33:33 +0100 |
commit | 905cd28a5a0be7bb1729d80871369d13a9a598cc (patch) | |
tree | 5e6b4c754bec3ab109ca6500d208feb433096555 /doc/filters.texi | |
parent | a0d5204cd990caf5ed0c6daa37f1b9e638009cad (diff) | |
parent | de203abd71baae7f120313259b45cf935c85203e (diff) | |
download | ffmpeg-905cd28a5a0be7bb1729d80871369d13a9a598cc.tar.gz |
Merge commit 'de203abd71baae7f120313259b45cf935c85203e'
* commit 'de203abd71baae7f120313259b45cf935c85203e':
vf_overlay: add eof_action switch
Conflicts:
doc/filters.texi
libavfilter/vf_overlay.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index bcb00e50b8..46d0a12501 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -5909,6 +5909,19 @@ on the main video. Default value is "0" for both expressions. In case the expression is invalid, it is set to a huge value (meaning that the overlay will not be displayed within the output visible area). +@item eof_action +The action to take when EOF is encountered on the secondary input, accepts one +of the following values: + +@table @option +@item repeat +repeat the last frame (the default) +@item endall +end both streams +@item pass +pass through the main input +@end table + @item eval Set when the expressions for @option{x}, and @option{y} are evaluated. @@ -5990,6 +6003,7 @@ the position in the file of the input frame, NAN if unknown @item t timestamp expressed in seconds, NAN if the input timestamp is unknown + @end table Note that the @var{n}, @var{pos}, @var{t} variables are available only @@ -6086,6 +6100,14 @@ nullsrc=size=200x100 [background]; @end example @item +mask 10-20 seconds of a video by applying the delogo filter to a section +@example +ffmpeg -i test.avi -codec:v:0 wmv2 -ar 11025 -b:v 9000k +-vf '[in]split[split_main][split_delogo];[split_delogo]trim=start=360:end=371,delogo=0:0:640:480[delogoed];[split_main][delogoed]overlay=eof_action=pass[out]' +masked.avi +@end example + +@item Chain several overlays in cascade: @example nullsrc=s=200x200 [bg]; |