Skip to content

Commit

Permalink
添加 H.264 比特率 和 帧间隔
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeng-git committed Sep 12, 2024
1 parent 0bb8be8 commit 6ad3fa2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions build/v2-hdmiusb-rpi4.override.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ kvmd:
resolution:
default: 1280x720
forever: true
h264_bitrate:
default: 2000
cmd:
- "/usr/local/bin/ustreamer"
- "--device=/dev/kvmd-video"
Expand All @@ -37,6 +39,8 @@ kvmd:
- "--h264-sink-mode=0660"
- "--jpeg-sink=kvmd::ustreamer::jpeg"
- "--jpeg-sink-mode=0660"
- "--h264-bitrate={h264_bitrate}"
- "--h264-gop={h264_gop}"
- "--slowdown"

vnc:
Expand Down
6 changes: 3 additions & 3 deletions web/share/i18n/i18n_zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
"kvm_text8":"网络唤醒",
"kvm_text9":"分辨率:",
"kvm_text10":"JPEG 质量:",
"kvm_text11":"JPEG 最大帧率",
"kvm_text12":"H.264 码率",
"kvm_text13":"H.264 间隔",
"kvm_text11":"JPEG 最大FPS:",
"kvm_text12":"H.264 比特率",
"kvm_text13":"H.264 帧间隔:",
"kvm_text14":"视频模式",
"kvm_text15":"虚拟键盘",
"kvm_text16":"终端",
Expand Down

0 comments on commit 6ad3fa2

Please sign in to comment.