delogo=x=1516:y=933:w=368:h=111 paints over a fixed logo with the pixels around its box; a box that touches the frame edge fails. Through ReelSDK's API a 10-second 1080p clip costs under a third of a cent, at $0.02 per compute minute.

Remove a logo from a video with ffmpeg

ffmpeg can't see behind a logo, only paint over it. Give delogo a box 4 px bigger than the logo on each side, 1 px inside the frame; on ReelSDK, removelogo with a mask took over 5 times as long. A crop just cuts the strip off.

GuidesUpdated

delogo
ffmpeg -i in.mp4 -vf delogo=x=1516:y=933:w=368:h=111 -c:v libx264 -crf 20 -c:a copy clean.mp4

The box covers the logo plus 4 px on each side. The video is re-encoded; the audio is copied.

Variations

The other commands you will need

  1. Find the box first

    show=1 draws the box in green on one frame, so you can check it before encoding the whole video.

    show box
    ffmpeg -ss 1 -i in.mp4 -vf delogo=x=1516:y=933:w=368:h=111:show=1 -frames:v 1 box.png
  2. Use a mask with removelogo

    The mask is a 1920x1080 image: white where the logo is, black elsewhere. Only the white pixels are filled.

    removelogo
    ffmpeg -i in.mp4 -vf removelogo=mask.png -c:v libx264 -crf 20 -c:a copy removed.mp4
  3. Or crop it off

    If the logo sits near an edge, cutting the edge away leaves no trace. Here the bottom 150 rows go.

    crop
    ffmpeg -i in.mp4 -vf crop=1920:930:0:0 -c:v libx264 -crf 20 -c:a copy cropped.mp4

The flags

The options in these commands

The options in these commands
FlagWhat it doesUsed here
delogo=x=1516:y=933Top-left corner of the box, in pixelsdelogo
w=368:h=111Width and height of the box; it must stay inside the framedelogo
show=1Draws the box in green instead of hiding itFind the box
-ss 1 ... -frames:v 1 box.pngGrabs one frame 1 s in to check the boxFind the box
removelogo=mask.pngFills the white pixels of a mask image from their surroundingsremovelogo
crop=1920:930:0:0Keeps the top 930 rows, full widthCrop

Sources: ffmpeg filters: delogo, ffmpeg filters: removelogo, checked November 2026.

What these filters can and cannot do

The pixels under a logo are gone. delogo fills the box by blending the pixels just outside it, and removelogo fills the masked pixels from their neighbors. On our clip, delogo left a smeared patch with streaks, and removelogo a softer blur. Both are fine for a small mark on a busy picture and obvious on flat areas like sky or walls.

Use them on footage you have the rights to: an old logo in your own archive, a timestamp a camera burned in, a channel bug added by mistake. If you still have the original file, use that instead.

Finding the box

Guessing coordinates wastes encodes. Run delogo with show=1 on a single frame and look at the green box: it should cover the whole logo with a few pixels to spare, because edges of a logo blend into the picture. We knew where our logo sat and how big it was, so we added 4 px on each side.

Why boxes at the edge fail

delogo needs pixels on every side of the box to paint with. Our logo sat 40 px from the corner, but a box stretched to the frame edge, x=1520:y=937:w=400:h=143, failed with "Logo area is outside of the frame". One pixel less, w=399:h=142, worked. For a logo flush with the edge, crop that strip off instead.

delogo works on a rectangle, so it also repaints the background around a round or thin logo. removelogo only touches the pixels of its mask, which follows the logo's shape; ours came from the logo's own alpha, grown by 4 px. The price is time: on the API, removelogo took almost a minute against about 10 seconds for delogo, more than 5 times as long.

Both work only on a logo that stays in place. A moving watermark needs tracking that ffmpeg filters do not do.

Without installing ffmpeg

The same command as one API call

Send the same args to POST /v1/ffmpeg with the video URL in inputs; for removelogo, add the mask's URL too. Each job runs ffmpeg 8.1 on a fresh machine at $0.02 per compute minute, billed per second; the delogo job finished in about 10 seconds and cost under a third of a cent.

terminalTry it
curl "https://api.reelsdk.com/v1/ffmpeg?wait=60" \
  -H "Authorization: Bearer $REELSDK_KEY" \
  --json '{
    "inputs": {
      "in.mp4": "https://api.reelsdk.com/f/out/job_cdbvzy6e6l8xaa8o6pqk/watermarked.mp4"
    },
    "args": [
      "-i", "in.mp4", "-vf", "delogo=x=1516:y=933:w=368:h=111", "-c:v",
      "libx264", "-crf", "20", "-c:a", "copy", "clean.mp4"
    ],
    "outputs": ["clean.mp4"]
  }'
delogo on our own watermarked clip: the logo is gone, a smeared patch is left. The removelogo result is next to it.Input: watermarked clipremoved.mp4 (removelogo)mask.png

FAQ

Questions, answered

How do I remove a logo from a video with ffmpeg?

Cover it with delogo: ffmpeg -i in.mp4 -vf delogo=x=1516:y=933:w=368:h=111 -c:a copy out.mp4, with your own box. Check the box first with show=1 on one frame.

Why does delogo say the logo area is outside of the frame?

The box touches or crosses the frame edge. Keep it at least 1 px inside, or crop the edge away.

Can ffmpeg restore what is under a watermark?

No. It fills the area from the pixels around it, which leaves a blur or smear. Only the original file has the real picture.

Can I run delogo with an API?

Yes. POST the same args to https://api.reelsdk.com/v1/ffmpeg with the video URL in inputs. It runs ffmpeg 8.1 for $0.02 per compute minute, billed per second.

Ready to build?

Ship video from your app today

Your first $0.50 is free, and one key covers every endpoint.

Moonlit lake with a lit cabin under the mountains