Command Line Usage

Master CLI parameters for automated workflows and batch scripts.

Basic Syntax

elecap.exe --width=1280 --height=720 --url="https://vdo.ninja/electron" --title="My Window"

Use the portable version (elecap.exe) for command-line usage. The installer version is better for GUI use.

Common Parameters

ParameterAliasDescriptionExample
--width-wWindow width in pixels1920
--height-hWindow height in pixels1080
--url-uURL to load"https://vdo.ninja/"
--title-tWindow title (for OBS)"Guest 1"
--xX position100
--yY position100
--pin-pAlways on top
--node-nEnable elevated privileges1
--fullscreen-fStart in fullscreen
--minimized--minStart minimized
--monitor-mMonitor index (0-based)1

Appearance Parameters

ParameterAliasDescriptionExample
--chroma--colorBackground color (hex)"0F0" or "0000"
--hidecursor-hcHide mouse cursor
--unclickable--ucClick-through mode
--hwa-aHardware acceleration0 to disable

Custom Build Parameters (Windows Only)

ParameterAliasDescription
--disableAdaptiveScaling--noScalingLock resolution + framerate
--lockResolution--lockResLock resolution only
--lockFramerate--lockFpsLock framerate only
--hideCursorCapture--noCursorHide cursor in screen capture
--playoutDelay--bufferDelayBuffer delay in seconds (0-600)

Batch File Example

Launch multiple instances for a multi-guest setup:

start elecap.exe -w 640 -h 360 -x 0 -y 0 -u="https://vdo.ninja/?view=guest1&room=myroom" -t="Guest 1" -p
timeout /T 1
start elecap.exe -w 640 -h 360 -x 640 -y 0 -u="https://vdo.ninja/?view=guest2&room=myroom" -t="Guest 2" -p
timeout /T 1
start elecap.exe -w 640 -h 360 -x 0 -y 360 -u="https://vdo.ninja/?view=guest3&room=myroom" -t="Guest 3" -p
timeout /T 1
start elecap.exe -w 640 -h 360 -x 640 -y 360 -u="https://vdo.ninja/?view=guest4&room=myroom" -t="Guest 4" -p

Deep Linking

You can launch Electron Capture from web links using the electroncapture:// protocol:

electroncapture://vdo.ninja/?view=abc123

Visit vdo.ninja/electroncapture to generate custom deep links with parameters.