Using the answer to Showing in-video visual progress bar with FFMPEG
I'm trying to give the progress bar itself a background, so for e.g. the bar will be white and the red progress bar over time will cover it.
My first decision was to apply a drawbox filter, so for my purposes the video is 1280 pixels wide and the duration is 6.027 seconds. I've tried
ffmpeg -i uuid_nordvpn.mp4 -vf "color=c=red:s=1280x30[bar];[0][bar]overlay=-w+(w/6.072733)*t:H-h:shortest=1, drawbox=x=0:y=720-30:width=1280:height=30:thickness=fill:color=white" out.mp4
But I got just the white drawbox filter that was drawn on top of the color filter.
The obvious solution was to swap the color and drawbox filter, but that returns an error Too many inputs specified for the "color" filter
, which I guess means you can only use the color filter at the beginning.
I've also tried applying 2 color filters, the other color filter instead of filling up was going down, but you can't apply 2 color filters, again giving the reason Too many inputs specified for the "color" filter.
I'm completely lost at this point, how would I give a background to this filter?