Configure Video Settings
Video codecs are software programs that compress and decompress digital video data for transmission, storage, or playback. Configuring the appropriate video codec can help reduce file size, enhance video quality, and ensure compatibility with different playback devices.
You can modify the codec which is used for recording the videos. We currently support the following codecs:
- H264 (default): Records video using the H.264 codec with 1280px × 720px resolution, and 384 kbps AAC audio in MP4 container.
- VP8: Records video using the VP8 codec with 1280px × 720px resolution, and Vorbis codec audio in WebM container.
You can change the codec by specifying the codec in the video_config field in
the Start Recording API, for
example:
{ "video_config": { "codec": "H264" }}The video file for your recording is generated only if you passed the video_config parameters in the Start Recording API.
When the recording is completed, you can use the downloadUrl provided in the response body of the Start Recording API to download and export the video file.
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Directory
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- © 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark
-