[FFmpeg-user] Create a black box over top of the video for a set duration at a set time.

Michael Koch astroelectronic at t-online.de
Sat Dec 31 11:41:21 EET 2022

Am 31.12.2022 um 10:31 schrieb Bouke / Videotoolshed:
> On 31 Dec 2022, at 04:53, Gyan Doshi <ffmpeg at gyani.pro> wrote:
>> On 2022-12-31 08:15 am, David Niklas wrote:
>>> Sorry for taking so long to reply.
>>> It is not working. Terminal output below.
>>> % ffmpeg -i Ducksinarow.mp4 -filter_complex "[0:0]drawbox=color=black:t=fill=enable='between(t,1.0,2.0)'" -c:a copy -c:v libvpx ducks.mp4
>> There should be a colon after fill, not =
>> drawbox=color=black:t=fill:enable='between(t,1.0,2.0)'
> And for your next question that might come up (since you want to do multiple filters, I do too and just got bitten):
> There is a limitation on Windows that won’t accept long arguments.

Do you have an example? I have used command lines _much_ longer than the 
above example, and never found a limitation.


More information about the ffmpeg-user mailing list