Add a watermark to a video

Composites a logo image over the video at a corner offset, using explicit stream labels.

ffmpeg -i https://cdn.rendobar.com/assets/examples/sample.mp4 -i https://cdn.rendobar.com/assets/brand/web-app-manifest-192x192.png -filter_complex "[0:v][1:v]overlay=W-w-20:H-h-20" -c:a copy -t 5 out.mp4
Encode
942 ms
Output
504.4 KB
Cost
$0.0025
Result
1280x720

job_be68855ce3f04aff

The part everyone gets wrong

Capitals are the base video and lowercase is the overlay, so W-w-20 means twenty pixels in from the right edge. A two-input overlay needs -filter_complex with explicit labels; -vf cannot express it and fails with an unhelpful argument error.

Frequently asked questions

How do I add watermark to video ffmpeg?

Composites a logo image over the video at a corner offset, using explicit stream labels.

What goes wrong most often?

Capitals are the base video and lowercase is the overlay, so W-w-20 means twenty pixels in from the right edge. A two-input overlay needs -filter_complex with explicit labels; -vf cannot express it and fails with an unhelpful argument error.

Do I need FFmpeg installed?

Not with Rendobar. The command on this page ran through the API against a URL, with no local FFmpeg and no server. The job id below it is the job that produced these numbers.

Run this without installing FFmpeg

This exact command ran through the API against a URL.