替换为mjpeg格式

This commit is contained in:
mofeng
2023-12-16 17:08:27 +08:00
parent ac8d3c9c45
commit 7809ded32e
2 changed files with 9 additions and 13 deletions

View File

@@ -39,8 +39,7 @@ kvmd:
- "/usr/bin/ustreamer"
- "--device=/dev/kvmd-video"
- "--persistent"
- "--format=yuyv"
- "--encoder=cpu"
- "--format=mjpeg"
- "--resolution={resolution}"
- "--desired-fps={desired_fps}"
- "--drop-same-frames=30"
@@ -52,11 +51,9 @@ kvmd:
- "--process-name-prefix={process_name_prefix}"
- "--notify-parent"
- "--no-log-colors"
- "--sink=kvmd::ustreamer::yuyv"
- "--sink-mode=0660"
vnc:
memsink:
jpeg:
sink: "kvmd::ustreamer::yuyv"
sink: "kvmd::ustreamer::jpeg"