🎞️ Convert Video Format
This endpoint converts a video from a public URL to the specified format using FFmpeg.
Endpoint
POST /convert-video/
Full URL: https://ffmpeg-api-1-hmzg.onrender.com/convert-video/
Form Data Parameters
video_url
(string): Public video file URLformat
(string): Output format (e.g.,mp4
,avi
,mov
, etc.)
Response
{
"message": "Conversion to .mp4 successful",
"output_file": "https://ffmpeg-api-1-hmzg.onrender.com/uploads/<id>_input_video.mp4"
}
Only public URLs are supported. Make sure the video file is accessible without authentication.
Usage Examples
curl -X POST https://ffmpeg-api-1-hmzg.onrender.com/convert-video/ \
-F "video_url=https://example.com/sample.mov" \
-F "format=mp4"