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

David Niklas deference at null.net
Sat Dec 31 16:18:35 EET 2022


On Sat, 31 Dec 2022 09:23:30 +0530
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)'
> 

Thanks! That works like a charm!
David


More information about the ffmpeg-user mailing list