[FFmpeg-user] How does one apply a filter option for a limited amount of time?

Joseph Tyler tyler at videorequest.io
Sun Aug 25 22:33:50 EEST 2024


I would use enable

ffmpeg -i in.mp4 -filter_complex "drawbox=w=1920:h=1080:color=black at 1:t=fill:enable='between(t,0.2,10)'"  out.mp4

From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> on behalf of David Niklas via ffmpeg-user <ffmpeg-user at ffmpeg.org>
Date: Sunday, August 25, 2024 at 3:15 PM
To: FFmpeg user questions <ffmpeg-user at ffmpeg.org>
Cc: David Niklas <deference at null.net>
Subject: [FFmpeg-user] How does one apply a filter option for a limited amount of time?
Hello,

Here's my command:

ffmpeg -i in.mp4 -filter_complex
"drawbox=w=1920:h=1080:color=black at 1:t=fill" out.mp4

How do I apply it for only a few seconds to a specific time in the video?

Thanks!
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list