Back to Blog

How to Add Subtitles to Your Videos Using FFMPEGAPI.net

June 2026 FFMPEG API Team

Adding subtitles to videos can be a challenging task for developers, especially when handling complex formats like ASS/SSA. With FFMPEGAPI.net, you can easily burn subtitles into your videos using a simple API call, streamlining your workflow without the need for any server infrastructure. This article will guide you through the process of using the Add Subtitles endpoint of FFMPEGAPI.net to enhance your video content.

What is FFMPEGAPI.net?

FFMPEGAPI.net is a hosted REST API designed specifically for video and audio processing. It allows developers to utilize the powerful capabilities of FFmpeg without the hassles of server setup or management.

With FFMPEGAPI.net, you can focus on building your applications while we handle the complex processing tasks in the cloud.

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

Introducing the Add Subtitles Endpoint

The Add Subtitles endpoint allows you to burn ASS subtitles directly into your video. This process involves downloading both the video and the subtitle file, then merging them into a single output video that includes the subtitles.

This feature is particularly useful for developers looking to enhance video accessibility and provide better user experiences.

The API call is simple and requires minimal parameters, making it easy to integrate into your workflows.

How to Use the Add Subtitles Endpoint

To use the Add Subtitles endpoint, you need to make a POST request to the following path: /api/add_subtitles. The request must include the video URL and the subtitle file URL as parameters.

Here's a breakdown of the required parameters:

  • video_url: The URL of your video (required).
  • subtitle_url: The URL of the ASS/SSA subtitle file (required).
  • async: (optional) If set to true, the processing will happen in the background, and you will receive a job ID immediately.
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())

By leveraging FFMPEGAPI.net's Add Subtitles endpoint, developers can simplify the process of adding subtitles to videos. The hosted API not only saves time and resources but also provides a reliable way to ensure that your videos are accessible to a wider audience. Try FFMPEGAPI.net today, and experience the ease of cloud-based video processing!

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free