This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
products:sbc:vim-5:applications:hdmi-input [2026/09/14 03:59] 127.0.0.1 external edit |
products:sbc:vim-5:applications:hdmi-input [2026/09/14 06:36] (current) nick |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| - | ===== Introduction ===== | + | <WRAP important > |
| + | This documentation is only for Linux system. | ||
| + | </ | ||
| - | This documentation | + | ===== Hardware Connection ===== |
| + | |||
| + | * Connect your VIM 5 HDMI Out to an HDMI Display | ||
| + | * Connect your HDMI OUT cable to VIM 5 HDMI IN port | ||
| + | |||
| + | <WRAP important > | ||
| + | You must connect your VIM 5 to a workablbe HDMI screen or the HDMI IN will not working. | ||
| + | </ | ||
| + | |||
| + | ===== Preview ===== | ||
| + | |||
| + | |||
| + | Execute | ||
| + | |||
| + | If everything is OK you will see the HDMI Input source on your display. | ||
| + | |||
| + | ```shell | ||
| + | hdmiin_preview_setup # Setup | ||
| + | sudo hdmiin-demo # Preview | ||
| + | ``` | ||
| + | |||
| + | //Note: You can press '' | ||
| + | |||
| + | |||
| + | ===== Capture the HDMI IN Frames ===== | ||
| + | |||
| + | You can use gstreamer to capture the HDMI IN frames. Here is en example to capture the HDMI IN frames | ||
| + | and encoding them to '' | ||
| + | |||
| + | ```shell | ||
| + | hdmiin_capture_setup # Setup | ||
| + | gst-launch-1.0 -vvv v4l2src device=/ | ||
| + | ``` | ||
| + | |||
| + | You can also use gstreamer plugin '' | ||
| + | |||
| + | ```shell | ||
| + | hdmiin_capture_setup # Setup | ||
| + | gst-launch-1.0 -vvv v4l2src device=/ | ||
| + | ``` | ||
| + | |||
| + | //Note: You can press '' | ||
| + | |||
| + | ===== Setup HDMI IN audio ===== | ||
| + | |||
| + | Enable audio: | ||
| + | |||
| + | ```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 | ||
| + | ``` | ||
| - | * If you use the 5.4 kernel image (Linux system only), please check here: [[products: | ||
| - | * If you use the 5.15 kernel image (Linux system only), please check here: [[products: | ||
| - | * If you use the android11 image, please check here: [[products: | ||