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:30] nick [Capture the HDMI IN Frames] |
products:sbc:vim-5:applications:hdmi-input [2026/10/29 01:51] (current) nick [Capture the HDMI IN Frames] |
||
|---|---|---|---|
| Line 22: | Line 22: | ||
| ```shell | ```shell | ||
| - | hdmiin_preview_setup | + | sudo hdmiin_preview_setup |
| - | sudo hdmiin-demo # Preview | + | hdmiin-demo # Preview |
| ``` | ``` | ||
| - | **Note: You can press '' | + | //Note: You can press '' |
| Line 32: | Line 32: | ||
| You can use gstreamer to capture the HDMI IN frames. Here is en example to 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 '' | + | and encoding them to '' |
| ```shell | ```shell | ||
| - | hdmiin_capture_setup # Setup | + | sudo hdmiin_capture_setup # Setup |
| - | gst-launch-1.0 -vvv v4l2src device=/ | + | gst-launch-1.0 -vvv v4l2src device=/ |
| ``` | ``` | ||
| Line 42: | Line 42: | ||
| ```shell | ```shell | ||
| - | hdmiin_capture_setup # Setup | + | sudo hdmiin_capture_setup # Setup |
| - | gst-launch-1.0 -vvv v4l2src device=/ | + | gst-launch-1.0 -vvv v4l2src device=/ |
| ``` | ``` | ||
| + | ===== Setup HDMI IN audio ===== | ||
| - | **Note: You can press '' | + | 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 | ||
| + | ``` | ||