V-Streaming provides a comprehensive command-line interface (CLI) for administrative tasks, batch operations, and system management. The CLI is built using Clap and provides a rich set of commands for managing configuration, streams, plugins, diagnostics, and more.
The CLI is integrated into the V-Streaming application. To use it:
vstreaming [OPTIONS] <COMMAND>| Option | Short | Description |
|---|---|---|
--verbose |
-v |
Enable verbose output |
--config <FILE> |
-c |
Specify a custom configuration file path |
Display the current configuration in JSON format.
vstreaming config showOutput Example:
{
"general": {
"language": "en",
"auto_save_interval": 60
},
"capture": {
"default_resolution": { "width": 1920, "height": 1080 },
"default_framerate": 60
}
}Reset configuration to default values.
vstreaming config resetExport configuration to a file.
vstreaming config export -o ./config-backup.jsonOptions:
-o, --output <FILE>- Output file path (required)
Import configuration from a file.
vstreaming config import -f ./config-backup.jsonOptions:
-f, --file <FILE>- Input file path (required)
Validate the current configuration.
vstreaming config validateValidation Rules:
general.languagecannot be emptyaudio.sample_ratecannot be zeroencoding.bitratecannot be zero
Set a specific configuration value.
vstreaming config set -k general.language -v plOptions:
-k, --key <KEY>- Configuration key path (required)-v, --value <VALUE>- New value (required)
Get a specific configuration value.
vstreaming config get -k general.languageOptions:
-k, --key <KEY>- Configuration key path (required)
Start streaming to a platform.
vstreaming stream start -p twitch -k YOUR_STREAM_KEYOptions:
-p, --platform <PLATFORM>- Target platform (twitch, youtube, kick) (required)-k, --key <KEY>- Stream key (required)
Stop the current stream.
vstreaming stream stopGet the current stream status.
vstreaming stream statusOutput:
Status: Not streaming
Active streams: 0
List all saved stream configurations.
vstreaming stream listOutput Example:
📺 Gaming Stream
Platform: Twitch
Resolution: 1920x1080
Framerate: 60 fps
Bitrate: 6000 kbps
Save the current stream configuration.
vstreaming stream save -n "Gaming Stream"Options:
-n, --name <NAME>- Configuration name (required)
Load a saved stream configuration.
vstreaming stream load -n "Gaming Stream"Options:
-n, --name <NAME>- Configuration name (required)
List all installed plugins.
vstreaming plugin listOutput Example:
🟢 Chat Overlay
ID: com.vstreaming.chat-overlay
Version: 1.2.0
Author: V-Streaming Team
Description: Display chat overlay on stream
Status Icons:
- 🟢 Running
- 🟡 Initialized
- ⚪ Unloaded
Install a plugin from a file or URL.
vstreaming plugin install -s ./my-plugin.tar.gz
# or from URL
vstreaming plugin install -s https://example.com/plugin.tar.gzOptions:
-s, --source <SOURCE>- Plugin file path or URL (required)
Uninstall a plugin.
vstreaming plugin uninstall -n "Chat Overlay"Options:
-n, --name <NAME>- Plugin name (required)
Enable (start) a plugin.
vstreaming plugin enable -n "Chat Overlay"Options:
-n, --name <NAME>- Plugin name (required)
Disable (stop) a plugin.
vstreaming plugin disable -n "Chat Overlay"Options:
-n, --name <NAME>- Plugin name (required)
Update a plugin to the latest version.
vstreaming plugin update -n "Chat Overlay"Options:
-n, --name <NAME>- Plugin name (required)
Display detailed information about a plugin.
vstreaming plugin info -n "Chat Overlay"Output Example:
📦 Chat Overlay
ID: com.vstreaming.chat-overlay
Version: 1.2.0
Author: V-Streaming Team
License: MIT
Description: Display chat overlay on stream
Category: Integration
Homepage: https://v-streaming.com/plugins/chat-overlay
Repository: https://github.com/vantisCorp/chat-overlay
Status: Running
Run a full system diagnostic.
vstreaming diagnostics runOutput:
=== System Diagnostics ===
✓ CPU: Detected
Cores: 8
✓ Memory: Available
✓ GPU: Detected
✓ Capture sources: Available
✓ Audio devices: Available
=== Diagnostics Complete ===
✅ All systems operational
Check if the system meets minimum and recommended requirements.
vstreaming diagnostics check-requirementsRequirements:
| Component | Minimum | Recommended |
|---|---|---|
| CPU Cores | 4 | 8 |
| RAM | 8 GB | 16 GB |
Test capture sources availability.
vstreaming diagnostics test-captureTest audio devices.
vstreaming diagnostics test-audioTest encoding capabilities.
vstreaming diagnostics test-encodingTest streaming connection to a server.
vstreaming diagnostics test-stream -s rtmp://live.twitch.tv/app -k YOUR_KEYOptions:
-s, --server <SERVER>- Server URL (required)-k, --key <KEY>- Stream key (required)
Display detailed system information.
vstreaming diagnostics system-infoOutput Example:
OS: windows
Arch: x86_64
CPU cores: 8
Host: MY-COMPUTER
Disk total: 500 GB
Disk free: 250 GB
OS release: 10.0.19045
Load average: 0.50
Display real-time performance statistics.
vstreaming diagnostics perf-statsExport configuration to a file.
vstreaming export config -o ./exported-config.jsonExport scenes configuration.
vstreaming export scenes -o ./scenes-backup.jsonExport plugin list and settings.
vstreaming export plugins -o ./plugins-backup.jsonExport all settings (configuration, plugins, scenes).
vstreaming export all -o ./full-backup.jsonImport settings from a backup file.
vstreaming import -f ./full-backup.jsonOptions:
-f, --file <FILE>- Import file path (required)
List all available profiles.
vstreaming profile listDefault Profiles:
- Default - Standard 1080p60 streaming
- High Performance - 720p120 for competitive gaming
- High Quality - 1080p60 with high bitrate
Create a new profile.
vstreaming profile create -n "My Custom Profile"Options:
-n, --name <NAME>- Profile name (required)
Delete a profile.
vstreaming profile delete -n "My Custom Profile"Options:
-n, --name <NAME>- Profile name (required)
Switch to a different profile.
vstreaming profile switch -n "High Performance"Options:
-n, --name <NAME>- Profile name (required)
Display profile details.
vstreaming profile info -n "Default"Output Example:
🎯 Default
Resolution: 1920x1080
Framerate: 60 fps
Bitrate: 6000 kbps
Encoder: Auto
Clear application cache.
vstreaming maintenance clear-cacheRemove log files older than 7 days.
vstreaming maintenance clean-logsClear temporary files.
vstreaming maintenance clear-tempRebuild application indices.
vstreaming maintenance rebuildVerify installation integrity.
vstreaming maintenance verifyOutput:
✓ Core files: OK
✓ Configuration: OK
✓ Plugins: OK
✓ Dependencies: OK
✅ Installation verified
Repair the installation.
vstreaming maintenance repairCheck for application updates.
vstreaming maintenance updateThe CLI stores configuration in the following locations:
| Platform | Path |
|---|---|
| Windows | %APPDATA%\v-streaming\config.json |
| macOS | ~/Library/Application Support/v-streaming/config.json |
| Linux | ~/.config/v-streaming/config.json |
{
"general": {
"language": "en",
"auto_save_interval": 60,
"check_updates": true,
"send_statistics": true,
"crash_reporting": true,
"log_level": "info",
"max_log_files": 10
},
"capture": {
"default_resolution": { "width": 1920, "height": 1080 },
"default_framerate": 60,
"capture_method": "automatic",
"hdr_enabled": false,
"show_cursor": true
},
"audio": {
"sample_rate": 48000,
"buffer_size": 256,
"bit_depth": 24,
"monitoring_enabled": true,
"noise_suppression": 0.0,
"echo_cancellation": false,
"auto_gain": false
},
"encoding": {
"encoder": "auto",
"video_codec": "h264",
"audio_codec": "aac",
"preset": "medium",
"rate_control": "cbr",
"bitrate": 6000,
"keyframe_interval": 2.0
},
"streaming": {
"reconnect_attempts": 5,
"reconnect_delay": 2,
"low_latency": false,
"adaptive_bitrate": false,
"min_bitrate": 500,
"max_bitrate": 6000,
"multistreaming_enabled": false
},
"ui": {
"interface_mode": "simple",
"theme": "dark",
"show_tooltips": true,
"animations_enabled": true,
"preview_enabled": true,
"preview_quality": "medium"
},
"ai": {
"highlight_detection": false,
"highlight_sensitivity": 0.7,
"live_captions": false,
"caption_language": "en",
"translation_enabled": false,
"ai_coach": false,
"whisper_model": "base"
}
}The CLI returns appropriate exit codes:
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | General error |
| 2 | Configuration error |
| 3 | IO error |
| 4 | Parse error |
| 5 | Validation error |
# Show current configuration
vstreaming config show
# Start streaming to Twitch
vstreaming stream start -p twitch -k YOUR_KEY
# Check system requirements
vstreaming diagnostics check-requirements
# Run full diagnostics
vstreaming diagnostics run# Export all settings
vstreaming export all -o ./backup-$(date +%Y%m%d).json
# Restore from backup
vstreaming import -f ./backup-20240101.json# Create a profile for gaming
vstreaming profile create -n "Gaming"
# Switch to gaming profile
vstreaming profile switch -n "Gaming"
# Verify the switch
vstreaming profile info -n "Gaming"| Variable | Description |
|---|---|
V_STREAMING_CONFIG |
Custom configuration file path |
V_STREAMING_LOG_LEVEL |
Override log level (trace, debug, info, warn, error) |
V_STREAMING_DATA_DIR |
Custom data directory |