diff options
author | Clément Bœsch <u@pkh.me> | 2013-11-08 23:59:40 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2013-11-10 19:05:08 +0100 |
commit | 3e1097b909e5d8b2bcbcbe0a761fc8ae1556c324 (patch) | |
tree | 33735cb3636af40c9d91d10cfef79b4a5684e9a4 /doc/filters.texi | |
parent | 78e150c5e9bb5a628d00562ade1fd4bf3635fc4d (diff) | |
download | ffmpeg-3e1097b909e5d8b2bcbcbe0a761fc8ae1556c324.tar.gz |
avfilter/fade: add color option.
Fixes Ticket #1822.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 9fae3390b1..cd52680d65 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -3809,7 +3809,8 @@ effect. Default is 0. @item nb_frames, n The number of frames for which the fade effect has to last. At the end of the fade-in effect the output video will have the same intensity as the input video, -at the end of the fade-out transition the output video will be completely black. +at the end of the fade-out transition the output video will be filled with the +selected @option{color}. Default is 25. @item alpha @@ -3824,8 +3825,12 @@ whichever comes last. Default is 0. @item duration, d The number of seconds for which the fade effect has to last. At the end of the fade-in effect the output video will have the same intensity as the input video, -at the end of the fade-out transition the output video will be completely black. +at the end of the fade-out transition the output video will be filled with the +selected @option{color}. If both duration and nb_frames are specified, duration is used. Default is 0. + +@item color, c +Specify the color of the fade. Default is "black". @end table @subsection Examples @@ -3856,9 +3861,9 @@ fade=in:0:25, fade=out:975:25 @end example @item -Make first 5 frames black, then fade in from frame 5-24: +Make first 5 frames yellow, then fade in from frame 5-24: @example -fade=in:5:20 +fade=in:5:20:color=yellow @end example @item |