File Size and Format Limits
This guide explains the current limitations for video file uploads on Hyperserve.
File Size Limit
Maximum file size: 5 GB
All video uploads are currently limited to 5 GB per file. If you attempt to upload a file larger than this limit, the API will return a 413 Payload Too Large error.
Consider pre-compressing your videos before upload. Most video editing tools can export at lower bitrates without significant quality loss. Since Hyperserve transcodes your video anyway, uploading extremely high-quality source files often provides diminishing returns.
Supported Video Formats
Hyperserve accepts any standard video format, including but not limited to:
Common Formats
- MP4 (.mp4, .m4v)
- MOV (.mov) - QuickTime
- AVI (.avi)
- MKV (.mkv) - Matroska
- WebM (.webm)
- FLV (.flv) - Flash Video
- WMV (.wmv) - Windows Media Video
- MPEG (.mpeg, .mpg)
Professional Formats
- ProRes (.mov)
- DNxHD/DNxHR (.mov, .mxf)
- AVCHD (.mts, .m2ts)
Best Practices
1. Check File Size Before Upload
Validate file sizes on the client side before making API calls:
const maxSize = 5 * 1024 * 1024 * 1024; // 5 GB in bytes
if (videoFile.size > maxSize) {
alert('Video file is too large. Maximum size is 5 GB.');
return;
}
2. Split Long Content
For very long videos (e.g., webinars, courses), consider splitting them into chapters or segments.
Need Larger Files?
If your use case regularly requires files larger than 5 GB, please reach out to us at support@hyperserve.io. We'd love to hear about your needs and can prioritize the streaming upload feature accordingly.