📘 O11 v4 OTT Streamer: Full Command-Line Options Reference & Usage Guide
O11 v4 OTT Streamer provides a powerful command-line interface that gives you full control over configuration, debugging, networking, DRM features and VOD processing. This document includes every available flag from ./o11v4 -h with clear explanations.
🔧 General Configuration Flags
| Flag |
Description |
-c |
Load a custom config file path. |
-path |
Set working directory. All internal paths are built from this. |
-password |
Set a static admin password. Useful for automation. |
-user |
Set a static admin username. |
-noautostart |
Prevent channels from auto-starting. Manual only. |
-noramfs |
Use FFmpeg even if RAMFS is not mounted. |
-keep |
Keep temporary media files for debugging. |
-novodmetadata |
Disable VOD metadata (faster). |
-replaymode |
Set replay mode (ffmpeg or internalremuxer). |
-replay |
Replay a local stream path from hls/live/. |
-defaultprovid |
Set default provider ID. |
🌐 Networking & Server Options
| Flag |
Description |
-p |
HTTP server port (default 4000). |
-b |
Bind IP for HTTP server. |
-https |
Enable HTTPS. Requires server.crt and server.key. |
-baseurl |
Public Base URL used in manifests. |
-streamport |
Custom streaming port. |
-streambind |
Bind address for streaming. |
-epgbind |
Bind IP for EPG grabber. |
-epgport |
EPG grabber port. |
🔐 Security & Access
| Flag |
Description |
-jwtsecret |
Set custom JWT secret. If not set, generates at boot. |
-allow |
Comma-separated IPs allowed to access without login. |
-headless |
Disable UI (API-only mode). Useful for embedded setups. |
🛠️ Logging & Debugging
| Flag |
Description |
-logtomain |
Send all logs to main log file. |
-logtomainonly |
Disable individual logs; use main log only. |
-stdout |
Output logs to STDOUT. |
-logsize |
Max log file size (MB). Rotate after limit. |
-logscount |
Number of rotated logs to keep. |
-v |
Global log level (0 = error, 5 = trace). Default 2. |
-V |
Enable module-specific logs. |
-debugspeed |
Show fragment download queue speed. |
📺 Stream & Playlist Control
| Flag |
Description |
-plstreamname |
Stream name format. %p provider, %s stream. |
-providers |
Provider config folder (default: providers/). |
-rec |
File used for recording tracking. |
-flushperiod |
Interval (seconds) for writing configs. 0 = disable. |
-tsplay |
Path to tsplay binary for UDP outputs. |
🎞️ VOD Download & DRM Decryption
| Flag |
Description |
-manifest |
Convert VOD manifest to MP4 then exit. |
-video |
Select video index. |
-audio |
Select audio streams (comma-separated). |
-subs |
Subtitle indexes or all. |
-extrasubs |
Add external subtitle file. Repeatable. |
-key |
Provide manual KID:KEY pairs. |
-keys |
Path to DRM key list. |
-cdmmode |
CDM mode (internal or external). |
-cdmtype |
DRM type: widevine, playready, verimatrix. |
-usecdm |
Use CDM decryption scripts. |
-doh |
Custom DoH resolver URL. |
-script |
CDM script filename. |
-cdmparams |
Params for CDM script. |
-H |
Custom HTTP header for VOD requests. Repeatable. |
-maxsegments |
Limit number of segments for testing. |
🔄 Advanced Output
| Flag |
Description |
-pipeoutputcmd |
Pipe output to external processor or muxer. |
📘 Summary
These command-line options allow you to adapt O11 v4 for any workflow including headless deployments, DRM decryption, debugging, VOD processing and automated IPTV stream management.
This reference is part of the O11 v4 documentation series.