Back to Blog

The Best Way to Merge Videos Programmatically with FFMPEGAPI.net

June 2026 FFMPEG API Team

In today's digital landscape, adding personal branding to videos is essential for content creators. With FFMPEGAPI.net, developers can easily overlay watermarks onto videos using our robust hosted API. This article will guide you through the process of using the add watermark endpoint to programmatically enhance your videos.

Why Use FFMPEGAPI.net for Video Processing?

FFMPEGAPI.net is a powerful, hosted REST API designed for video and audio processing tasks. It eliminates the need for server setup and infrastructure management, allowing developers to focus on their applications rather than the complexities of FFmpeg.

With API-key authentication, it ensures secure access for various developer workflows. Whether you're building automation tools, SaaS applications, or content pipelines, FFMPEGAPI.net streamlines your video processing tasks.

  • No server setup required
  • Easy integration with existing workflows
  • Secure and scalable API-key authentication
  • Ideal for automation and SaaS applications

Adding a Watermark to Videos

The add watermark endpoint allows developers to overlay a custom watermark image onto a video. This makes it easy to brand your content and protect your intellectual property.

Here’s how to use the endpoint:

The API accepts a POST request to the endpoint path `/api/add_watermark` and allows optional parameters for positioning and scaling the watermark.

  • Endpoint: /api/add_watermark
  • Method: POST
  • Content-Type: application/json
  • Parameters: video_url, watermark_url, position, scale, async
import requests

url = 'https://www.ffmpegapi.net/api/add_watermark'
data = {
    'video_url': 'https://example.com/video.mp4',
    'watermark_url': 'https://example.com/logo.png',
    'position': 'bottom-right',
    'scale': 0.2
}

response = requests.post(url, json=data)
print(response.json())
curl -X POST https://www.ffmpegapi.net/api/add_watermark \ 
-H "Content-Type: application/json" \ 
-d '{"video_url": "https://example.com/video.mp4", "watermark_url": "https://example.com/logo.png", "position": "bottom-right", "scale": 0.2}'

Configuring Watermark Properties

When adding a watermark, you can customize its placement and scale.

The 'position' parameter allows you to place the watermark in various locations like top-left, middle-right, and bottom-center. By default, it is set to bottom-right.

The 'scale' parameter adjusts the watermark width as a fraction of the video width, ranging from 0.05 (5%) to 1.0 (100%). The default scale is set to 0.25 (25%).

  • Position options: top-left, top-center, top-right, middle-left, middle, middle-right, bottom-left, bottom-center, bottom-right
  • Scale range: 0.05 to 1.0

FFMPEGAPI.net provides developers with a powerful and easy-to-use hosted solution for video processing workflows. By leveraging the add watermark endpoint, you can effortlessly customize your videos with branding elements. Whether you need to automate video processing tasks or enhance your content, FFMPEGAPI.net is the best choice for a reliable and scalable API solution.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free