Here I provide elaboration for the accepted answer.
Along the way, I also answer Mario Mey's question of what "H-h" means.
Visualization:
Explanation:
color[bar]
and [bar]overlay
means the output bar
from color goes into the same-named input of overlay.
[0]
by default refers to the input file, here given into the overlay filter.
ffmpeg-filters 16.11 color (color c; size s)
- Create video frame(s) of solid color
red
- Specify size of
1280x10
ffmpeg-filters 11.183 overlay (x; y; shorttest)
- Relative to left-top corner, place at horizontal coordinate x,
-w
(negative number) pixels away from the left, positively increasing by +(w/10)
, where 10
is total seconds, across time *t
(fractional seconds at instant), until it reaches the rightmost edge.
- Relative to x-top corner, place at vertical coord y,
H-h
⁸ pixels away from the bottom.
- Proceed into next frame as soon as possible and reevaluate expressions.
-c:a copy
copies the audio stream, if it has one.