fade filter offset from the end of stream
|Reproduced by developer:
|Analyzed by developer:
The fade filter example shows how to fade out last 45 frames of a video:
Fade out last 45 frames of a 200-frame video: fade=out:155:45
where 155 is a starting frame and 55 is the number of frames that the filter should be applied to.
It might be more convenient if users could specify just the number of frames to fade out, together with some kind of a constant (or -1) for the starting frame, to avoid the need to know the exact frame number before setting the filter's parameters, like this:
Fade out last 45 frames of an unknown-frame-count video: fade=out:-1:45
It would make filter to be applied to the last 45 frames of the video.