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

JULIAN GARDNER joolzg at btinternet.com
Thu Mar 3 11:01:43 CET 2016

Thanks will give it a try

    On Thursday, 3 March 2016, 10:48, Clément Bœsch <u at pkh.me> wrote:

 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.
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org


More information about the ffmpeg-user mailing list