Recording Format Options and Settings
A detailed guide to VDO.Ninja's recording URL parameters, codec choices, container formats, browser compatibility, and tips for getting the best results across desktop and mobile.
VDO.Ninja can record streams directly in the browser using the MediaRecorder API. This guide covers the recording-related URL parameters, codec and container format options, and the important differences between browsers and platforms.
How Recording Works in VDO.Ninja
There are several ways to start a recording:
Right-click any video and choose "Record to disk"
Use the Director control room buttons (Record Local, Record Remote, Google Drive)
Add
&recordto a guest URL to give them a dedicated record buttonUse
&autorecordvariants to start recording automatically on page load
When you start a recording (via right-click or director UI), a dialog appears with these options:
Use PCM audio format — checkbox to record uncompressed audio
Audio-only recording — checkbox to skip video
Bitrate slider — adjustable from 50 to 10,000 kbps
Set the video codec in the URL before joining. Use &recordcodec=mp4 to request MP4 where supported; there is no codec or container selector in the recording dialog.
URL Parameter Reference
&splitrecording
Split recording into segments
5 min
&recordwindow (&rw)
Record entire browser tab/scene
6000 kbps
&recordfolder
Google Drive folder name for uploads
—
&studioiso
Enable/disable podcast studio isolated recording
on
&framegrab
Frame capture source URL
—
&record — The Core Parameter
Add &record to a guest/sender link to give them a record button, or use it with a value to set the recording bitrate.
(no value)
Video + audio at 6000 kbps
Positive integer (e.g. 6000)
Video + audio at that kbps
0
Audio-only, 32-bit PCM lossless
Negative integer (e.g. -120)
Audio-only, Opus at that kbps
false or off
Disable recording entirely (hides buttons, blocks remote triggering)
When recording is started from the right-click menu or from the director panel without &record in the URL, the default bitrate is 6000 kbps.
The Director can also start and stop recordings remotely for all guests via the director control room, using the "Record Local", "Record Remote", and batch "start all / stop all" buttons.
Auto-Record Variants
These work exactly like &record but start recording automatically when the page loads — no user interaction required.
&autorecord— records both local and all remote streams&autorecordlocal— records only your own local stream&autorecordremote— records only incoming remote streams
All accept the same bitrate values as &record.
Choosing the Video Codec (&recordcodec)
Use &recordcodec (alias &rc) in the URL to choose which video codec the recording uses. This is the only way to select the codec — it cannot be changed from the recording dialog mid-session.
Example: https://vdo.ninja/?push=abc123&record=6000&recordcodec=h264
vp8
Most compatible. Default fallback on Chromium browsers. Recommended for Android devices.
vp9
Better compression than VP8. Good for high-resolution recordings.
h264
Hardware-friendly. Used by the MP4 fallback on older Safari. May not work well when recording remote iOS streams on Chromium.
av1
Best compression. Limited browser and hardware support — requires AV1 hardware encoder on most devices.
mp4
Requests MP4 with browser-selected codecs. Does not override PCM or audio-only recording.
Checking codec support and choosing wisely
A useful workflow is to use https://vdo.ninja/codecs to check which recording codecs and formats your browser supports, then set &recordcodec accordingly. For H.265/HEVC specifically, you can check support at https://vdo.ninja/h265.
Unsupported choices fall back to a browser-supported format. Check the saved file to see which format was used.
How VDO.Ninja selects the codec internally
If
&recordcodecis set, it checks if the browser supports that codec viaMediaRecorder.isTypeSupported()If supported, it uses it
If not supported, it falls back to a browser-supported format
On iOS/Safari, if WebM is unsupported, it falls back to MP4.
&recordcodec=mp4requests MP4 directly where supported.
If you are getting recording errors, try
&recordcodec=vp8— it is the most widely supported codec and avoids incompatible hardware encoder issues.
Container Formats and Browser Differences
VDO.Ninja normally requests WebM, with MP4 fallback on older Safari. Use &recordcodec=mp4 to request MP4 where supported.
Chromium Browsers (Chrome, Edge, Brave — Desktop and Android)
Container: WebM (
.webm) by default, or MP4 (.mp4) when requested and supportedDefault video codec: VP8
Default audio codec: Opus
Also supports: VP9, H.264, AV1 (hardware dependent)
Firefox (Desktop and Android)
Container: WebM (
.webm)Default video codec: VP8
Default audio codec: Opus
Also supports: VP9
Safari — Desktop macOS
Safari before 18.4 (before 2025):
Container: MP4 (
.mp4) — no WebM support at allVideo codec: H.264 only
Audio codec: AAC only
Known bug: older Safari could report the mimeType as
video/webmbut actually output MP4/H.264 data
Safari 18.4+ (2025 onwards):
Safari added WebM recording support in 18.4, so VDO.Ninja can now use its usual VP8/Opus WebM default on Safari too.
Container: MP4 or WebM
Video codecs: H.264, HEVC, VP8, VP9, AV1 (hardware dependent)
Audio codecs: AAC, Opus, ALAC (lossless), PCM (lossless)
iOS Safari (iPhone / iPad)
iOS before 18.4:
Container: MP4 (
.mp4) onlyVideo codec: H.264 only
Audio codec: AAC only
WebM recording was completely unavailable
iOS 18.4+:
Same expanded support as desktop Safari 18.4+ (WebM, VP8/VP9, Opus now available)
Android Chrome
Same as desktop Chrome — WebM container, VP8 default
Hardware encoding availability varies by device chipset
VP8 is recommended (
&recordcodec=vp8) for older or lower-end Android devices
Summary Table
Chrome / Edge / Brave (desktop)
WebM
VP8
Opus
Chrome (Android)
WebM
VP8
Opus
Firefox (desktop / Android)
WebM
VP8
Opus
Safari < 18.4 (macOS)
MP4
H.264
AAC
Safari 18.4+ (macOS)
WebM by default; MP4 opt-in
VP8 (WebM)
Opus (WebM)
iOS Safari < 18.4
MP4
H.264
AAC
iOS Safari 18.4+
WebM by default; MP4 opt-in
VP8 (WebM)
Opus (WebM)
You can check which codecs your specific browser supports at https://vdo.ninja/codecs
What this means in practice
Guests on different browsers may produce different file formats. If your player or editor needs MP4, request it with &recordcodec=mp4 or convert the saved file afterward.
Audio Options
Default Audio Bitrate Scaling
VDO.Ninja automatically adjusts audio bitrate based on video bitrate:
Below 1000 kbps
100 kbps
1000–5999 kbps
130 kbps
6000–19999 kbps
256 kbps
20000+ kbps
Included in total bitrate
&pcm — Lossless Audio Recording
Adding &pcm to the URL records audio as uncompressed PCM instead of Opus. This is ideal for podcasting or music production where audio quality is critical.
You can also check the "Use PCM audio format" checkbox in the recording dialog when it appears.
Works with any video codec (e.g.
video/webm;codecs=vp8,pcm)Audio-only PCM is also supported (
audio/webm;codecs=pcm)Convert PCM WebM files to standard WAV using the vdo.ninja/convert tool
Splitting Recordings (&splitrecording)
Automatically splits recordings into time-based segments to protect against data loss if the browser crashes.
(no value)
5-minute segments
Integer (e.g. 10)
Segments of that many minutes (minimum 1)
Disk-only recordings save standalone files such as recording.webm and recording_1.webm. Open them individually or join them in a video editor.
Recordings also uploaded to Google Drive or Dropbox keep continuation parts such as recording.webm_1. Keep every part and reassemble them in order. See the split recording guide for instructions.
On mobile or laptop, VDO.Ninja will also auto-save the current segment at 2% battery.
Note: If
&splitrecordingis used without a value, the split interval is 5 minutes. If&splitrecordingis not used, Safari recording flows may still auto-enable split recording to reduce memory issues: 5-minute segments on iOS/iPad and 10-minute segments on desktop Safari.
Scene/Window Recording (&recordwindow)
&recordwindow (alias &rw) captures the entire browser tab as a screen share and records it as a mixed output. Default bitrate is 6000 kbps. Useful for recording a composed scene with multiple guests.
Chunked Mode (&chunked)
An alternative publishing and recording approach that can write encoded video directly without re-encoding during recording. This can reduce extra recording CPU compared with recording a second encoded copy, but chunked publishing itself is still experimental and should be tested first.
&chunkprofile
Device preset: mobile, balanced, desktop
&chunkbuffer
Playout buffer in ms
&chunkadapt
Adaptation strategy: bitrate, framerate, hybrid
&chunkfec
Forward error correction parity rate
Limitations: primarily Chromium browsers, explicit buffering/delay, and no Meshcast-style server redistribution for the chunked path.
See the full &chunked documentation for details.
Motion-Triggered Recording (&recordmotion)
Saves a PNG snapshot to disk whenever motion is detected in a video. Useful as a basic security camera.
Value sets sensitivity threshold (default 15)
Maximum 1 snapshot per second
Best in Chrome/Chromium — not recommended inside OBS
Podcast Studio Multitrack Recording
The VDO.Ninja Podcast Studio (/podcast/) has its own advanced recording system separate from the standard &record approach:
Multitrack recording — records each participant as a separate audio track (48 kHz)
WAV export — converts each recorded audio track to WAV for editing
Audio recovery — saves a copy of each audio track in your browser while recording, so you can download it after reopening the studio.
Cloud upload — guest backups go to Google Drive during recording; host recordings upload to Dropbox after Stop
&studioiso— controls whether isolated disk recording is enabled (on by default)
After reopening, look under Timeline & Outputs for Saved audio. Expand the saved take and choose Prepare download for each track, then download the WAV or original audio. Copies stay until you choose Clear saved audio or clear your browser data. Use the same browser and device; interrupted takes may be incomplete.
This is a distinct recording pipeline from the standard &record system — it is designed specifically for podcast workflows where you need separate, high-quality audio tracks per guest.
Screen Recorder App
VDO.Ninja includes a dedicated screen recorder at /screenrecorder/ with its own recording options:
Capture modes: Screen, window, or browser tab capture
Webcam overlay with customizable position and size
Audio sources: Microphone, system audio, or both
Audio processing: Voice isolation, auto gain, noise suppression, echo cancellation, bass boost
Output resolution: 720p, 1080p, 1440p, 4K
Aspect ratios: 16:9, 9:16, 1:1
Quality presets:
Smaller File (0.78x bitrate)
Balanced (1x)
High Detail (1.45x)
Archive/Master (2x)
Codec selection: VP8, VP9, H.264, with WebM or MP4 container
Auto-silence skip — automatically skips silent sections
Live transcription — with downloadable
.txttranscriptIndexedDB crash recovery
The screen recorder has its own codec selector UI, unlike the main VDO.Ninja recording which requires URL parameters.
Native iOS/Android App Recording
The VDO.Ninja native apps (Raspberry.Ninja-based) support recording while publishing, but with no configurable recording options — it is simply on or off while streaming. There are no codec, bitrate, or format choices in the native app recording. This is a separate implementation from the browser-based recording system.
Frame/Snapshot Capture
VDO.Ninja can save individual video frames as images:
Right-click menu — save a single frame from any video
&framegrab— set a source URL for frame capture mode&framegrabaudio— include audio with frame grab&recordmotion— automatic PNG snapshots on motion detection (see above)
These are not full recordings, but can be useful for thumbnails, security snapshots, or quick captures.
Google Drive / Cloud Recording
The Director control room has a dedicated "Google Drive" button per guest that lets directors have remote guests upload their recordings to Google Drive automatically. This records a local copy to disk while simultaneously streaming it to the cloud.
&recordfolder=NAME— customize the Google Drive folder name for uploadsUploads use resumable chunked transfer (4 MB chunks)
Batch recording supported — the director can start Google Drive recording for all guests at once
Dropbox Integration
In Podcast Studio, connect Dropbox under Recording settings to upload the host's finished recordings after Stop. Wait for the uploads to finish before closing the studio.
Converting Recordings
Recordings saved as WebM may need conversion for use in some video editors (e.g. Premiere Pro, DaVinci Resolve).
WebM to MP4 — often no video transcoding needed
When the recording uses H.264 video (&recordcodec=h264), converting between WebM and MP4 containers can be done without transcoding the video — it is just a container remux, which is nearly instant. For broad player and editor compatibility, convert Opus audio to AAC.
If the recording uses VP8 or VP9 video, the video itself will need to be transcoded to H.264 for MP4 compatibility.
Conversion tools
vdo.ninja/convert — browser-based FFmpeg tool for small files (up to ~2 GB). Supports WebM to MP4 and WebM-PCM to WAV.
Desktop FFmpeg — for larger files:
Tips and Recommendations
To change the recording codec, add
&recordcodec=vp8(orh264,vp9,av1) to the URL before joining. There is no way to change it from the recording dialog.For podcasts/interviews, use
&pcmfor lossless audio and a high video bitrate (e.g.&record=6000).For safety, add
&splitrecordingto protect against browser crashes.For direct-to-disk recording without another video encode, consider
&chunkedmode (Chromium-focused, experimental).Mixed browser rooms can produce different formats. Check each saved file before editing.
Safari < 18.4 only supports MP4/H.264/AAC. If your guests are on older Safari or iOS, the recording format cannot be changed.
Check your codecs at https://vdo.ninja/codecs to see what your browser supports.
Related Documentation
Options to Record Streams — overview of all recording methods (OBS, headless, Raspberry.Ninja, etc.)
Last updated
Was this helpful?