This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
products:sbc:vim4:applications:hdmi-input-5.15 [2023/09/01 04:04] nick created |
products:sbc:vim4:applications:hdmi-input-5.15 [2023/09/12 04:32] (current) nick |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== VIM4 HDMI Input ====== | + | ====== VIM4 HDMI Input for 5.15 Kernel |
- | ===== Introduction | + | ===== Hardware Connection |
- | This documentation will introduce the usage of HDMI Input. | + | * Connect your VIM4 HDMI Out to an HDMI Display |
+ | * Connect your HDMI OUT cable to VIM4 HDMI IN port | ||
- | ===== Preparation ===== | ||
- | **HDMI input preview can only work under framebuffer console**, so you need to use the server image, you can install via OOWOW. | + | ===== Capture |
- | If you use the desktop image, you need to switch | + | You can use gstreamer to capture |
+ | and encoding them to '' | ||
```shell | ```shell | ||
- | sudo chvt 3 | + | gst-launch-1.0 v4l2src device=/dev/video71 io-mode=dmabuf num-buffers=300 ! video/x-raw, |
- | echo 1 | sudo tee /sys/class/graphics/fb0/blank | + | ``` |
- | echo 0 | sudo tee /sys/class/graphics/fb0/blank | + | |
+ | /* | ||
+ | |||
+ | ===== Preview the HDMI IN Frames on Gnome Desktop ===== | ||
+ | |||
+ | You can use gstreamer plugin '' | ||
+ | |||
+ | ```shell | ||
+ | gst-launch-1.0 v4l2src device=/dev/video71 io-mode=dmabuf ! video/x-raw, | ||
``` | ``` | ||
<WRAP tip > | <WRAP tip > | ||
- | If you want to go back to the desktop | + | * You can use '' |
+ | * It doesn' | ||
</ | </ | ||
+ | */ | ||
- | ===== Install | + | ===== Preview the HDMI IN Frames on Framebuffer Console |
+ | |||
+ | **HDMI input preview can only work under framebuffer console**, so you need to use the server image, you can install via OOWOW. | ||
+ | |||
+ | If you use the desktop image, you need to switch to the framebuffer console. | ||
```shell | ```shell | ||
- | sudo apt update | + | sudo chvt 3 |
- | sudo apt install hdmiin-demo | + | |
``` | ``` | ||
+ | <WRAP tip > | ||
+ | If you want to go back to the desktop '' | ||
+ | </ | ||
- | ===== Test ===== | ||
- | * Connect your VIM4 HDMI Out to an HDMI Display | + | ==== Test ==== |
- | * Connect your HDMI OUT cable to VIM4 HDMI IN port | + | |
- | | + | Execute the HDMI Input demo command '' |
If everything is OK you will see the HDMI Input source on your display. | If everything is OK you will see the HDMI Input source on your display. | ||
- | ===== Known Issues ===== | ||