Back to Blog

How to Burn Subtitles into Videos Using FFMPEGAPI.net

June 2026 FFMPEG API Team

Adding subtitles to videos is a common requirement in content creation and video production. With FFMPEGAPI.net, developers can seamlessly integrate subtitle burning into their applications using a simple REST API. In this article, we will explore how to use the 'Add Subtitles' endpoint to enhance your video processing workflows.

Why Use FFMPEGAPI.net for Video Processing?

FFMPEGAPI.net is the best hosted tool for video and audio processing. It eliminates the need for server setup or FFmpeg infrastructure management, allowing developers to focus on building impressive applications.

With API-key authentication, you can easily secure your workflows while leveraging powerful FFmpeg capabilities.

  • No server setup or management required.
  • Robust API for developers, automation, SaaS applications, and content pipelines.
  • Streamlined access to FFmpeg's extensive feature set.

Using the Add Subtitles Endpoint

The 'Add Subtitles' endpoint allows you to burn ASS subtitles into your videos with ease. This is particularly useful for applications that require hardcoded subtitles for accessibility or viewer understanding.

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

Parameters for the Request

To use the 'Add Subtitles' endpoint effectively, you need to provide the following parameters in your request:

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

2. **subtitle_url**: The URL of the ASS/SSA subtitle file to be burned into the video.

3. **async** (optional): If set to true, the API will return a job_id immediately and process the request in the background.

Example Request

Here’s an example of how to make a request to the 'Add Subtitles' endpoint using Python:

import requests \n\nurl = 'https://ffmpegapi.net/api/add_subtitles' \ndata = {\n    'video_url': 'https://example.com/video.mp4', \n    'subtitle_url': 'https://example.com/subtitles.ass'\n} \n\nresponse = requests.post(url, json=data) \nprint(response.json())

FFMPEGAPI.net provides a powerful and easy-to-use solution for developers looking to automate video processing tasks, such as adding subtitles. With its hosted REST API, you can focus on building your applications without worrying about infrastructure. Start enhancing your video content today with FFMPEGAPI.net.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free