This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:vim-5:applications:hdmi-input [2026/09/14 06:20] nick |
products:sbc:vim-5:applications:hdmi-input [2026/09/14 06:36] (current) nick |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| <WRAP important > | <WRAP important > | ||
| Line 7: | Line 7: | ||
| ===== Hardware Connection ===== | ===== Hardware Connection ===== | ||
| - | * Connect your VIM4 HDMI Out to an HDMI Display | + | * Connect your VIM 5 HDMI Out to an HDMI Display |
| - | * Connect your HDMI OUT cable to VIM4 HDMI IN port | + | * Connect your HDMI OUT cable to VIM 5 HDMI IN port |
| <WRAP important > | <WRAP important > | ||
| - | You must connect your VIM4 to a workablbe HDMI screen or the HDMI IN will not working. | + | You must connect your VIM 5 to a workablbe HDMI screen or the HDMI IN will not working. |
| </ | </ | ||
| + | ===== Preview ===== | ||
| - | ===== Capture the HDMI IN Frames ===== | ||
| - | You can use gstreamer to capture | + | Execute |
| - | and encoding them to '' | + | |
| + | If everything is OK you will see the HDMI Input source on your display. | ||
| ```shell | ```shell | ||
| - | gst-launch-1.0 v4l2src device=/ | + | hdmiin_preview_setup # Setup |
| + | sudo hdmiin-demo # Preview | ||
| ``` | ``` | ||
| - | /* | + | //Note: You can press '' |
| - | ===== Preview the HDMI IN Frames on Gnome Desktop ===== | ||
| - | You can use gstreamer | + | ===== Capture the HDMI IN Frames ===== |
| + | |||
| + | You can use gstreamer to capture | ||
| + | and encoding them to '' | ||
| ```shell | ```shell | ||
| - | gst-launch-1.0 v4l2src device=/ | + | hdmiin_capture_setup # Setup |
| + | gst-launch-1.0 | ||
| ``` | ``` | ||
| - | <WRAP tip > | + | You can also use gstreamer plugin |
| - | * You can use '' | + | |
| - | * It doesn' | + | |
| - | </ | + | |
| - | */ | + | ```shell |
| + | hdmiin_capture_setup # Setup | ||
| + | gst-launch-1.0 -vvv v4l2src device=/dev/video71 io-mode=dmabuf num-buffers=600 ! video/ | ||
| + | ``` | ||
| - | ===== Preview the HDMI IN Frames on Framebuffer Console ===== | + | //Note: You can press '' |
| - | **HDMI input preview can only work under framebuffer console**, so you need to use the server image, you can install via OOWOW. | + | ===== Setup HDMI IN audio ===== |
| - | If you use the desktop image, you need to switch to the framebuffer console. | + | Enable |
| - | + | ||
| - | 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. | + | |
| - | + | ||
| - | + | ||
| - | ==== 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 '' | + | |
| - | </ | + | |
| + | ```bash | ||
| + | hdmiin_audio enable | ||
| + | ``` | ||
| + | //Note: Once the HDMI IN audio is enabled, the system audio will not working anymore, but you can recovery the system audio by disabling the HDMI IN audio.// | ||
| + | Disable audio: | ||
| + | ```bash | ||
| + | hdmiin_audio disable | ||
| + | ``` | ||