Video Support
PicPeak supports uploading and displaying videos alongside photos in event galleries.
Supported formats
| Format | Extension |
|---|---|
| MP4 | .mp4 |
| WebM | .webm |
| MOV | .mov |
| AVI | .avi |
Enabling video
Video is off by default: the Allowed File Types list ships as jpg,jpeg,png,webp. Add the video extensions you want to accept, for example:
jpg,jpeg,png,webp,mp4,mov,webmThat single list governs the admin upload screen, the admin chunked-upload API and guest uploads. Until the extensions are added, the upload screen hides video files in its picker and the chunked API answers 400 File type not allowed — the MIME type a request declares does not override the list.
Upload limits
- Per-file cap: Max Video Size (MB) in General settings (default 500 MB), separate from the photo cap. Raise it, and the reverse-proxy body limit below, for long recordings.
- Large files go through the admin chunked-upload API (10 MB chunks, resumable per chunk) — see Photos API.
Thumbnail generation
Video thumbnails are automatically extracted from the first few seconds of each video using FFmpeg. FFmpeg is bundled via npm (@ffmpeg-installer/ffmpeg) --- no system installation is required.
Resource requirements
Video processing is resource-intensive. Plan your server resources accordingly.
| Resource | Recommendation |
|---|---|
| RAM | 4 GB+ recommended |
| Storage | Plan for 10-100x more than photo-only galleries |
| CPU | Additional cores help with thumbnail extraction |
| Bandwidth | Video streaming requires higher throughput |
Reverse proxy configuration
If using Nginx as a reverse proxy, increase the body size limit and timeouts:
client_max_body_size 10G;
proxy_read_timeout 3600;
proxy_send_timeout 3600;Without these settings, large video uploads will be rejected by the proxy before reaching PicPeak.