[FFmpeg-user] Adding an overlay once an hour for 5 minutes

Clément Bœsch u at pkh.me
Thu Mar 3 10:48:45 CET 2016


On Thu, Mar 03, 2016 at 09:41:27AM +0000, JULIAN GARDNER wrote:
> How would i go about adding an .png overlay to a live stream for 5 minutes every hour? Joolz

overlay has support for timeline, so an overlay with enable option, using
an expression with t for the time, between() to bound to 5 minutes, and a
mod() to have a redundancy every hour should do. I'd say something like
enable='between(mod(t,60*60), 0, 5*60)' (untested).

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20160303/eedb5a3e/attachment.sig>


More information about the ffmpeg-user mailing list