configurable stream resolution

This commit is contained in:
Devaev Maxim
2018-08-24 07:13:40 +03:00
parent 0468100bba
commit 52d2b8a315
12 changed files with 383 additions and 41 deletions

View File

@@ -36,14 +36,15 @@ kvmd:
init_restart_after: 1.0
shutdown_delay: 10.0
size:
width: 800
height: 600
resolutions:
- 640x480
- 800x600
- 1024x768
cmd:
- "/usr/bin/mjpg_streamer"
- "-i"
- "input_uvc.so -d /dev/kvmd-streamer -e 2 -y -n -r {width}x{height}"
- "input_uvc.so -d /dev/kvmd-streamer -e 2 -y -n -r {resolution}"
- "-o"
- "output_http.so -l 0.0.0.0 -p 8082"