Cheatsheet Pages / FFmpeg Cheatsheet

How to put a watermark on a video — ffmpeg overlay

You want your logo burned into a corner of the video.

ffmpeg -i input.mp4 -i logo.png -filter_complex "overlay=W-w-10:10" -c:a copy output.mp4
# W-w-10:10 = 10px margin from the top-right corner

Good to know

W-w-10:10 positions the overlay 10px from the top-right corner.

FFmpeg Cheatsheet one-page card — 28 commands that actually work
The full one-page card — FFmpeg Cheatsheet. Get the complete cheatsheet on GitHub