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 [2024/11/25 08:50] (current) nick |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== VIM4 HDMI Input ====== | + | ====== VIM4 HDMI Input for 5.15 Kernel |
- | ===== Introduction ===== | + | <WRAP important > |
+ | This documentation is only for Linux system. | ||
+ | </ | ||
- | This documentation will introduce the usage of HDMI Input. | + | ===== Hardware Connection ===== |
- | ===== Preparation ===== | + | * Connect your VIM4 HDMI Out to an HDMI Display |
+ | * Connect your HDMI OUT cable to VIM4 HDMI IN port | ||
- | **HDMI input preview can only work under framebuffer console**, so you need to use the server image, you can install via OOWOW. | + | <WRAP important > |
+ | You must connect your VIM4 to a workablbe HDMI screen or the HDMI IN will not working. | ||
+ | </ | ||
- | If you use the desktop image, you need to switch | + | |
+ | ===== Capture the HDMI IN Frames ===== | ||
+ | |||
+ | 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 / | + | |
``` | ``` | ||
- | <WRAP tip > | + | /* |
- | If you want to go back to the desktop '' | + | |
- | </WRAP> | + | |
+ | ===== Preview the HDMI IN Frames on Gnome Desktop ===== | ||
- | ===== Install | + | You can use gstreamer plugin '' |
```shell | ```shell | ||
- | sudo apt update | + | gst-launch-1.0 v4l2src device=/ |
- | sudo apt install hdmiin-demo | + | |
``` | ``` | ||
+ | <WRAP tip > | ||
+ | * You can use '' | ||
+ | * It doesn' | ||
+ | </ | ||
- | ===== Test ===== | + | */ |
- | * Connect your VIM4 HDMI Out to an HDMI Display | + | ===== Preview the HDMI IN Frames on Framebuffer Console ===== |
- | * Connect your HDMI OUT cable to VIM4 HDMI IN port | + | |
- | * Execute the HDMI Input demo command '' | + | **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. | ||
+ | |||
+ | Press '' | ||
+ | |||
+ | <WRAP important > | ||
+ | You must use '' | ||
+ | </ | ||
+ | |||
+ | |||
+ | <WRAP tip > | ||
+ | If you want to go back to the desktop press '' | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== Test ==== | ||
+ | |||
+ | 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 ===== | + | |
+ | ==== Troubleshooting | ||
+ | |||
+ | ** No audio for '' | ||
+ | |||
+ | If you use the Ubuntu 24.04 desktop image, when you login with the normal user '' | ||
+ | fix this issue: | ||
+ | |||
+ | 1. Use the server image and use '' | ||
+ | |||
+ | 2. If you use the desktop image, you need to press '' | ||
+ | |||
+ | <WRAP tip > | ||
+ | If you want to go back to the desktop press '' | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||