File Size and Format Limits
This guide explains the current limitations for video file uploads on Hyperserve.
File Size Limit
Maximum file size: 1 GB
All video uploads are currently limited to 1 GB per file. If you attempt to upload a file larger than this limit, the API will return a 413 Payload Too Large error.
What's a reasonable video length for 1 GB?
The amount of video content that fits in 1 GB depends on the quality and codec of your source video:
| Video Quality | Bitrate | Approximate Duration |
|---|---|---|
| Low quality (720p, 2 Mbps) | 2 Mbps | ~65 minutes |
| Medium quality (1080p, 5 Mbps) | 5 Mbps | ~25 minutes |
| High quality (1080p, 10 Mbps) | 10 Mbps | ~13 minutes |
| Very high quality (4K, 40 Mbps) | 40 Mbps | ~3 minutes |
If you're hitting the 1 GB limit, 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.
Future Plans
We're planning to increase this limit in the future, allowing atleast 5GB uploads.
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 = 1 * 1024 * 1024 * 1024; // 1 GB in bytes
if (videoFile.size > maxSize) {
alert('Video file is too large. Maximum size is 1 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 1 GB, please reach out to us at support@hyperserve.cloud. We'd love to hear about your needs and can prioritize the streaming upload feature accordingly.