# Add Watermark to Video: Logo, Text & Image Overlay (Bulk) (`data-done-right/video-watermark-overlay`) Actor

Add a text or logo watermark to videos from direct file URLs, in bulk. Set position, opacity, size and margin, or show it only between two times. Returns watermarked MP4 download links. Re-encodes the whole video. No YouTube or streaming sites, no watermark removal.

- **URL**: https://apify.com/data-done-right/video-watermark-overlay.md
- **Developed by:** [Data Done Right](https://apify.com/data-done-right) (community)
- **Categories:** Videos, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $40.00 / 1,000 video watermarkeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Add Watermark to Video: Logo, Text & Image Overlay (Bulk)

This tool lets you **add a watermark to video** files in bulk: give it direct video URLs and a text or a logo image, and it returns a download link for every watermarked MP4. You choose the position, opacity, size and margin, and can show the mark only between two times. It runs ffmpeg in the cloud, so there is nothing to install and no API key.

> **What it does not do.** It does **not remove watermarks**. It reads **direct video files** (mp4, mov, webm, mkv, avi, flv) from a public URL and **does not download from YouTube, Vimeo, TikTok, Instagram or other streaming sites** (those links are rejected without charge). HLS/DASH playlists are not supported. Output is **always an MP4 (H.264)**: the **whole video is re-encoded**, never copied, so there is a small quality change (set `crf` for more or less). SVG and animated logos are not supported, you cannot give each video its own watermark in one run, and sources above 4K or longer than your `maxDurationMinutes` (default 5) are rejected for free. It uses the first video stream and first audio track only. Use it only on videos you own or have the right to process.

**What you get**

- One dataset row per video: source URL, a download link for the watermarked MP4, measured duration, size, resolution, where exactly the watermark was placed, and a status or a clear error.
- A text watermark (colour, outline) or a PNG/JPEG/WebP logo, nine positions, opacity, size and margin, and an optional "show from / until" time window.
- Failed, skipped and rejected videos are free, never stop the run, and say exactly why they failed.

### How to add a text watermark to a video

1. Paste one or more **direct video URLs** in `videoUrls`.
2. Type your text in `watermarkText`, for example `© My Brand 2026` or `example.com`. Use `\n` for a second line.
3. Run it. Open the dataset: every row has a `url` to the watermarked MP4.

Text is drawn with an outline (black on light text, white on dark text) so it stays readable on any background. Use `textColor` for other colours and `textOutline: false` to switch the outline off.

### How to add a logo to a video

Put a direct link to a PNG, JPEG, WebP or single-frame GIF in `watermarkImageUrl` (up to 10 MB). Transparent PNGs keep their transparency, and `opacity` is multiplied with it. If you set both a logo and a text, the logo is used and the rows say the text was ignored. The logo is downloaded and checked **once, before any video**: if it is missing, an SVG, animated, damaged or blocked by `robots.txt`, the run stops with a clear message and nothing is processed or charged.

### How to show a watermark only for part of a video

Set `showFromSeconds` and `showUntilSeconds`, for example 1 and 4 to show a "PREVIEW" stamp between second 1 and second 4. `showUntilSeconds: 0` means "until the end". A start time beyond the end of a video gives that video an error row, free of charge.

### How to put the watermark in a corner and keep it inside the frame

Pick `position` (`top-left`, `top-center`, `top-right`, `center-left`, `center`, `center-right`, `bottom-left`, `bottom-center`, `bottom-right`), `sizePercent` (width of the mark as a percentage of the video width) and `marginPercent` (gap to the edge, as a percentage of the shorter side). If a mark would not fit with its margin, it is made smaller automatically and the row's `note` says so. Portrait (rotated) phone videos are sized by the picture you see, not the stored size.

### Input

| Field | Default | What it does |
|---|---|---|
| `videoUrls` | sample video | Direct video file links (required). |
| `watermarkText` | `© Example Studio` | Text watermark (up to 200 characters, 5 lines). |
| `watermarkImageUrl` | empty | Logo link; used instead of the text when set. |
| `position` | `bottom-right` | One of nine positions. |
| `opacity` | 0.7 | 0.05 to 1. |
| `sizePercent` | 20 | Watermark width as % of the video width. |
| `marginPercent` | 3 | Edge gap as % of the shorter side. |
| `showFromSeconds` / `showUntilSeconds` | 0 / 0 | Optional display window; 0 until = to the end. |
| `textColor` / `textOutline` | `#FFFFFF` / true | Text colour (hex) and outline. |
| `crf` | 23 | H.264 quality, 16 to 35 (lower = better and bigger). |
| `maxVideosPerRun` | 50 | Hard cap on videos per run (max 1000). |
| `maxDurationMinutes` | 5 | Longer videos are rejected for free (hard maximum 120). |
| `maxVideoSizeMb` | 500 | Source size cap (max 2048). |
| `videoTimeoutSecs` | 900 | Per download and per encode. |
| `outputStoreName` | empty | Save the MP4 files in a named store that is kept until you delete it. |

Input example:

```json
{
  "videoUrls": ["https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4"],
  "watermarkText": "© Example Studio"
}
```

### Output

From a real local run of the input above (the same run with a text watermark, 5-second sample):

```json
{
  "sourceUrl": "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4",
  "videoIndex": 1, "status": "ok",
  "url": "https://api.apify.com/v2/key-value-stores/<store>/records/001-flower-watermarked.mp4",
  "key": "001-flower-watermarked.mp4", "durationSeconds": 5.055, "sourceDurationSeconds": 5.055,
  "bytes": 504055, "width": 960, "height": 540, "hasAudio": true,
  "watermarkType": "text", "position": "bottom-right", "opacity": 0.7,
  "watermarkWidth": 192, "watermarkHeight": 27, "watermarkX": 752, "watermarkY": 496,
  "shownFromSeconds": 0.0, "shownUntilSeconds": null, "processingSecs": 1.1, "error": null, "note": null
}
```

A video that cannot be processed looks like this and is not charged:

```json
{
  "sourceUrl": "https://example.com/nope.mp4", "videoIndex": 2, "status": "error",
  "url": null, "error": "download failed: HTTP 404"
}
```

On Apify the `url` is a signed link that downloads without a token. `status` is `ok`, `error` or `skipped` (spending limit, `maxVideosPerRun` reached, or `robots.txt` disallows the file). The `SUMMARY` record counts the videos and lists every failure. Watermark coordinates are in pixels of the delivered video.

### Use with the Apify API, MCP, n8n and Make

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("data-done-right/video-watermark-overlay").call(run_input={
    "videoUrls": ["https://example.com/promo.mp4"],
    "watermarkImageUrl": "https://example.com/logo.png",
    "position": "top-right", "opacity": 0.8})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["status"], row["url"] or row["error"])
```

JavaScript:

```js
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<APIFY_TOKEN>' });
const run = await client.actor('data-done-right/video-watermark-overlay').call({
  videoUrls: ['https://example.com/promo.mp4'], watermarkText: 'example.com' });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

In n8n or Make use the Apify node with the actor name and the same JSON. With Apify's MCP server (mcp.apify.com) an AI assistant can call it: "put our logo in the top right corner of this mp4". It needs a video URL and either a text or a logo URL.

### Use cases

- Brand every video of a campaign or a course with your logo before you publish it.
- Stamp "PREVIEW" or "DRAFT" on client review copies, for only the part of the video you choose.
- Add a copyright line or website address to a batch of product or real-estate videos.
- Mark the output of a video or AI pipeline automatically as a last step (for example after cutting and audio steps).
- Watermark your own training or webinar recordings before sharing them with a wider group.

### How much does it cost

Pay per event: **$0.02 per watermarked video** (`video-watermarked`, $20 per 1,000 videos). Only a video that is delivered counts. Failed, skipped and rejected videos, rejected links and the `SUMMARY` record are free. There is no start fee. Plan discounts apply (Silver about 10%, Gold and higher about 20%).

- 100 videos: $2.
- 1,000 videos: $20.
- 10,000 videos: $200.

The price is per video, not per minute, which is why `maxDurationMinutes` defaults to 5 and is capped at 120: every video is fully re-encoded and long, high-resolution files need more compute. `maxVideosPerRun` caps a run, and if you set a maximum spend per run the Actor stops cleanly when it is reached and removes the file it could not charge for. Apify platform usage is included in this price.

### FAQ

#### Can it remove a watermark from a video?

No. It only adds watermarks, and only to videos you have the right to edit.

#### Can it watermark YouTube, TikTok or Instagram videos?

No. Links to those sites and other streaming pages are rejected with a message and no charge. Use a direct link to a video file that you have the rights to.

#### Does it respect robots.txt?

Yes, for the video and logo URLs you list. Per host it reads `robots.txt` once per run and obeys it for the agent name `VideoWatermarkOverlay` (or `*`). A file that `robots.txt` disallows is not fetched and gets a `skipped` row. If there is no `robots.txt` (404 and other 4xx answers) the file is fetched. If `robots.txt` cannot be read because of a server error or an unreachable host, the file is **not** fetched. Only the URL you list is checked, not the redirects it follows. A host that answers 403 for our requests gives an error row: the Actor does not disguise itself as a browser, use proxies or work around blocks.

#### Does it change the video quality and the sound?

Yes, a little: the picture is re-encoded to 8-bit H.264 (`crf` 23 by default). Audio in AAC or MP3 is copied unchanged, other audio is re-encoded to AAC 128 kbit/s. Only the first audio track is kept; extra tracks, subtitles and chapters are dropped. Odd-sized sources are scaled by at most one pixel to an even size. HDR and 10-bit sources are not tested: they are converted to 8-bit without tone mapping, so colours may look different.

#### Which text and fonts can I use?

Latin letters, digits and common symbols such as © work. Other scripts (Chinese, Arabic, Hindi and so on) and emoji may not render, and there is one bold sans-serif font. For those, make a PNG logo with your text and use `watermarkImageUrl`.

#### What limits apply?

Up to 1000 videos per run, source files up to 2 GB (default 500 MB), 120 minutes at most (default 5), and 4K (3840x2160) at most. The whole source is downloaded once. Links to private or internal addresses are blocked. Results over 700 MB are refused with advice (higher `crf` or a shorter video).

#### How long are the video links kept?

Files live in the run's key-value store, which expires with your plan's retention period. Set `outputStoreName` to keep them in a named store until you delete it.

### Related tools

- **Video Frame Extractor: Keyframes, Scenes & Thumbnails for AI** pulls still images from the same videos.
- **Cut Video: Video Trimmer, Clip Cutter & Video to GIF** cuts clips before you watermark them.
- **Extract Audio from Video: MP3, WAV & FLAC in Bulk** takes the sound track out of the same videos.

# Actor input Schema

## `videoUrls` (type: `array`):

Direct links to video files (mp4, mov, webm, mkv, avi). Example: https://example.com/clip.mp4. Every video gets the same watermark and comes back as an MP4. YouTube, Vimeo, TikTok and other streaming-site page links are rejected, with no charge.

## `watermarkText` (type: `string`):

Text to put on the video, for example "© My Brand 2026" or "example.com". Up to 200 characters, 5 lines (separate lines with \n). Latin letters work everywhere; other scripts may not render. Ignored if you set a logo image URL.

## `watermarkImageUrl` (type: `string`):

Direct link to a PNG, JPEG, WebP or single-frame GIF logo, up to 10 MB. Example: https://example.com/logo.png. Transparent PNGs keep their transparency. SVG and animated images are not supported. If set, it is used instead of the text. A bad logo stops the run before any video is processed or charged.

## `position` (type: `string`):

Where the watermark sits in the frame.

## `opacity` (type: `number`):

0.05 (almost invisible) to 1 (solid). Multiplied with the transparency your logo already has. Example: 0.5 for a subtle mark.

## `sizePercent` (type: `number`):

Width of the watermark as a percentage of the video width, keeping its shape. Example: 20 on a 1280 px wide video gives a 256 px wide mark. It is made smaller automatically if it would not fit inside the frame with its margin.

## `marginPercent` (type: `number`):

Gap between the watermark and the frame edge, as a percentage of the shorter side of the video. Example: 3 gives about 22 px on a 1280x720 video. Ignored for centered positions along that axis.

## `showFromSeconds` (type: `number`):

Start showing the watermark at this time. 0 = from the first frame. Example: 5. A video shorter than this gets an error row, free of charge.

## `showUntilSeconds` (type: `number`):

Stop showing the watermark at this time. 0 = until the end of the video. Must be after 'Show from'. Example: 10.

## `textColor` (type: `string`):

Hex color of the watermark text, for example #FFFFFF (white) or #FFCC00. Only used for text watermarks.

## `textOutline` (type: `boolean`):

Adds a thin contrasting outline (black for light text, white for dark text) so the text stays readable on any background.

## `crf` (type: `integer`):

The whole video is re-encoded to H.264. Lower = better quality and bigger files: 18 is near-lossless, 23 is the default, 28 is small. Audio in AAC or MP3 is copied without re-encoding.

## `maxVideosPerRun` (type: `integer`):

Hard cap on videos in one run (and so on what you can be charged). Videos past the cap are listed as skipped, free of charge.

## `maxDurationMinutes` (type: `number`):

Longer source videos are rejected without charge. Every video is fully re-encoded, so long videos take time and compute. Example: 5. Hard maximum 120.

## `maxVideoSizeMb` (type: `integer`):

Source files above this size are rejected before the download finishes.

## `videoTimeoutSecs` (type: `integer`):

Applies separately to the download and to the encoding of each video. Example: 900.

## `outputStoreName` (type: `string`):

Optional key-value store name. Named stores are kept until you delete them, while a run's own store expires after your plan's retention period. Example: my-watermarked-videos.

## Actor input object example

```json
{
  "videoUrls": [
    "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4"
  ],
  "watermarkText": "© Example Studio",
  "position": "bottom-right",
  "opacity": 0.7,
  "sizePercent": 20,
  "marginPercent": 3,
  "showFromSeconds": 0,
  "showUntilSeconds": 0,
  "textColor": "#FFFFFF",
  "textOutline": true,
  "crf": 23,
  "maxVideosPerRun": 50,
  "maxDurationMinutes": 5,
  "maxVideoSizeMb": 500,
  "videoTimeoutSecs": 900
}
```

# Actor output Schema

## `results` (type: `string`):

One row per video with its download link, size, duration, watermark placement and status, as JSON, CSV, Excel and more.

## `records` (type: `string`):

Key-value store records: the watermarked MP4 files and the run summary with the list of failures.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "videoUrls": [
        "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4"
    ],
    "watermarkText": "© Example Studio"
};

// Run the Actor and wait for it to finish
const run = await client.actor("data-done-right/video-watermark-overlay").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "videoUrls": ["https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4"],
    "watermarkText": "© Example Studio",
}

# Run the Actor and wait for it to finish
run = client.actor("data-done-right/video-watermark-overlay").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "videoUrls": [
    "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4"
  ],
  "watermarkText": "© Example Studio"
}' |
apify call data-done-right/video-watermark-overlay --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,data-done-right/video-watermark-overlay"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Lcp5bX5YLz3RuIBV4/builds/b4kXObZhkpykcyvs8/openapi.json
