Back to Blog

How to Add Subtitles to Videos Using FFMPEGAPI.net

June 2026 FFMPEG API Team

Subtitling videos can enhance accessibility and reach a broader audience. With FFMPEGAPI.net, adding subtitles to your videos is simple, efficient, and scalable. The Add Subtitles endpoint allows developers to burn ASS subtitles into videos with ease, making it the best choice for automation workflows.

Why Use FFMPEGAPI.net for Video Processing?

FFMPEGAPI.net offers a hosted REST API for FFmpeg-powered video and audio processing, eliminating the need for server setup or infrastructure management. This allows developers to focus on integrating advanced video processing capabilities without the hassle of managing their own FFmpeg environment.

  • No server setup required.
  • API-key authentication for secure access.
  • Ideal for automation, SaaS applications, and content pipelines.

Understanding the Add Subtitles Endpoint

The Add Subtitles endpoint is designed to burn ASS/SSA subtitle files directly into a video. This feature is crucial for developers looking to automate video editing tasks, especially in scenarios involving large video libraries or content generation pipelines.

The endpoint uses a POST method, and the parameters required for the request include the video URL and the subtitle file URL.

  • Endpoint Path: /api/add_subtitles
  • Method: POST
  • Content Type: application/json
import requests

url = 'https://ffmpegapi.net/api/add_subtitles'
data = {
    'video_url': 'https://example.com/video.mp4',
    'subtitle_url': 'https://example.com/subtitles.ass'
}

response = requests.post(url, json=data)
print(response.json())

Parameters for the Add Subtitles Request

To effectively use the Add Subtitles endpoint, you need to understand its parameters:

1. **video_url**: The URL of the video you want to process (required).

2. **subtitle_url**: The URL of the ASS/SSA subtitle file (required).

3. **async**: A boolean parameter that allows the request to be processed in the background (optional).

FFMPEGAPI.net is the premier solution for developers seeking to automate video processing tasks, such as adding subtitles. With its easy-to-use API and robust features, you can enhance your video content effortlessly. Start using the Add Subtitles endpoint today to unlock new possibilities in your video editing workflows.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free