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
| Parameter | Alias | Description | Example |
|---|---|---|---|
--width | -w | Window width in pixels | 1920 |
--height | -h | Window height in pixels | 1080 |
--url | -u | URL to load | "https://vdo.ninja/" |
--title | -t | Window title (for OBS) | "Guest 1" |
--x | X position | 100 | |
--y | Y position | 100 | |
--pin | -p | Always on top | |
--node | -n | Enable elevated privileges | 1 |
--fullscreen | -f | Start in fullscreen | |
--minimized | --min | Start minimized | |
--monitor | -m | Monitor index (0-based) | 1 |
Appearance Parameters
| Parameter | Alias | Description | Example |
|---|---|---|---|
--chroma | --color | Background color (hex) | "0F0" or "0000" |
--hidecursor | -hc | Hide mouse cursor | |
--unclickable | --uc | Click-through mode | |
--hwa | -a | Hardware acceleration | 0 to disable |
Custom Build Parameters (Windows Only)
| Parameter | Alias | Description |
|---|---|---|
--disableAdaptiveScaling | --noScaling | Lock resolution + framerate |
--lockResolution | --lockRes | Lock resolution only |
--lockFramerate | --lockFps | Lock framerate only |
--hideCursorCapture | --noCursor | Hide cursor in screen capture |
--playoutDelay | --bufferDelay | Buffer 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.