From the docs it's pretty straight forward how to create a box at the top with the
But how can I draw the box at the bottom?
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
You can reference both the height of the input (
ih), and the height of the box (
h). This allows more flexible placement; especially if your inputs vary in size.
To place the box directly on the bottom:
To place the box 10 pixels above the bottom:
See the FFmpeg drawbox video filter documentation for more options.