Back to Blog

How to Split Videos with FFMPEGAPI.net's Hosted REST API

June 2026 FFMPEG API Team

In the era of digital content, managing video assets efficiently is crucial for applications ranging from social media to enterprise solutions. FFMPEGAPI.net offers a robust hosted REST API that simplifies video and audio processing, including splitting videos into parts. This article will guide you through the process of using the Split Video endpoint, showcasing its features and benefits for developers.

Understanding the Split Video Endpoint

The Split Video endpoint is part of FFMPEGAPI.net's powerful suite of tools designed to handle various video processing tasks. With a simple POST request to the /api/split_video path, developers can split videos efficiently, ensuring minimal setup and no need for server management.

  • Endpoint: /api/split_video
  • Method: POST
  • Content Type: application/json or form data

Parameters for the Split Video API

When using the Split Video endpoint, you need to provide specific parameters to ensure the API processes your request correctly. The primary parameters are video_url and split_at_seconds.

  • video_url (string, required): URL of the video to be split.
  • split_at_seconds (number, optional): The exact point in seconds where the video will be split. If not specified, the default is half of the video duration.

Making a Request to Split a Video

To demonstrate how to use the Split Video endpoint, here’s a practical example using both cURL and Python. This allows you to easily integrate video splitting functionality into your applications.

curl -X POST https://www.ffmpegapi.net/api/split_video \ 
-H "Content-Type: application/json" \ 
-d '{"video_url":"https://example.com/video.mp4", "split_at_seconds":12.5}'
import requests

url = 'https://www.ffmpegapi.net/api/split_video'
data = {
    'video_url': 'https://example.com/video.mp4',
    'split_at_seconds': 12.5
}
response = requests.post(url, json=data)
print(response.json())

FFMPEGAPI.net provides a simple yet powerful solution for developers looking to integrate video processing capabilities into their applications without the hassle of managing underlying infrastructure. The Split Video endpoint is just one of the many tools available, making it an ideal choice for SaaS applications and content pipelines. By leveraging FFMPEGAPI.net, you can focus on building innovative solutions while we handle the complexity of video processing.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free