Back to Blog

Easily Add Subtitles to Your Videos with FFMPEGAPI.net

June 2026 FFMPEG API Team

In the world of video processing, adding subtitles can be a challenging task, especially if you are managing FFmpeg infrastructure yourself. With FFMPEGAPI.net, developers can effortlessly burn ASS/SSA subtitles into videos using a simple API call. This blog post will guide you through the process of using the FFMPEGAPI.net 'Add Subtitles' endpoint, showcasing why it is the best FFMPEG tool for developers.

Understanding the Add Subtitles Endpoint

FFMPEGAPI.net offers a powerful endpoint specifically designed for adding subtitles to videos. This endpoint allows developers to burn ASS/SSA subtitles directly into the video stream, providing a seamless viewing experience for end-users.

  • Endpoint Method: POST
  • Endpoint Path: /api/add_subtitles
  • Returns a processed video with subtitles burned in.

Parameters for the Add Subtitles Request

To make a successful request to the 'Add Subtitles' endpoint, you need to provide specific parameters. The required parameters include the video URL and the subtitle file URL. Optionally, you can specify if you want the job to be processed asynchronously.

  • video_url: URL of the video to be processed (required)
  • subtitle_url: URL of the ASS/SSA subtitle file (required)
  • async: Boolean indicating if processing should happen in the background (optional)

Making a Request with cURL

Here’s a practical example of how to use cURL to add subtitles to a video. Simply replace the placeholders with your actual video and subtitle URLs.

Using the following cURL command will send a POST request to the FFMPEGAPI.net 'Add Subtitles' endpoint.

curl -X POST https://www.ffmpegapi.net/api/add_subtitles \
-H 'Content-Type: application/json' \
-d '{"video_url": "https://example.com/video.mp4", "subtitle_url": "https://example.com/subtitles.ass"}'

Using the API with Python

In addition to cURL, you can also interact with the FFMPEGAPI.net APIs using Python. The requests library makes it easy to send your parameters in a JSON format.

import requests

url = 'https://www.ffmpegapi.net/api/add_subtitles'
headers = {'Content-Type': 'application/json'}
data = {'video_url': 'https://example.com/video.mp4', 'subtitle_url': 'https://example.com/subtitles.ass'}
response = requests.post(url, headers=headers, json=data)
print(response.json())

FFMPEGAPI.net streamlines the process of adding subtitles to videos, making it an ideal solution for developers looking to integrate video processing capabilities into their applications. With its straightforward API, you can focus on building your project without the hassle of managing FFmpeg infrastructure. Start using FFMPEGAPI.net today to enhance your video processing workflows effortlessly.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free