Add control for video subsampling

Add '-s' to assign jpeg subsampling.
  0: 444, 1: 420

Using 420 will make video lack of detail compared to 444, but cut
amount of video data by half. This could be useful for some cases.

Change-Id: I48836a7117f7e3b9986e3f5c6a92974c9268525e
Signed-off-by: Jammy Huang <jammy_huang@aspeedtech.com>
5 files changed
tree: b67ce7b7c04a022a0529f149c05918a3c64cf3a3
  1. create_usbhid.sh
  2. ikvm_args.cpp
  3. ikvm_args.hpp
  4. ikvm_input.cpp
  5. ikvm_input.hpp
  6. ikvm_manager.cpp
  7. ikvm_manager.hpp
  8. ikvm_server.cpp
  9. ikvm_server.hpp
  10. ikvm_video.cpp
  11. ikvm_video.hpp
  12. LICENSE
  13. MAINTAINERS
  14. meson.build
  15. obmc-ikvm.cpp
  16. OWNERS
  17. README.md
  18. scancodes.hpp
  19. start-ipkvm.service
README.md

OpenBMC IpKVM Server

The obmc-ikvm application is a VNC server that provides access to the host graphics output. The application interfaces with the video device on the BMC that captures the host graphics, and then serves that video data on the RFB (remote framebuffer, also known as VNC) protocol. The application also interfaces with the BMC USB gadget device to pass HID events from the BMC to the host, allowing the user to interact with the host system.

Usage

Once the host is running and an appropriate HID gadget device is instantiated on the BMC, the application can be started with the following command: obmc-ikvm -v <video device path> -i <HID gadget device path>

For example:

obmc-ikvm -v /dev/video0 -i /dev/hidg0