mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 02:21:53 +08:00
重构更新
This commit is contained in:
10
patches/display.sh
Normal file
10
patches/display.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
#tty清屏
|
||||
echo -e "\033c" > /dev/tty1
|
||||
|
||||
#隐藏光标
|
||||
echo -e "\033[?25l" > /dev/tty1
|
||||
|
||||
#在HDMI显示器输出采集卡画面
|
||||
ustreamer-dump --sink=kvmd::ustreamer::jpeg --output - | ffmpeg -use_wallclock_as_timestamps 1 -i pipe:c:v -an -pix_fmt bgr24 -f fbdev /dev/fb0
|
||||
Reference in New Issue
Block a user