Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim-5:applications:hdmi-input

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:vim-5:applications:hdmi-input [2026/09/14 06:29]
nick [Preview]
products:sbc:vim-5:applications:hdmi-input [2026/09/14 06:36] (current)
nick
Line 26: Line 26:
 ``` ```
  
-**Note: You can press ''ESC'' key to exit.**+//Note: You can press ''ESC'' key to exit.//
  
  
Line 35: Line 35:
  
 ```shell ```shell
-# Setup +hdmiin_capture_setup # Setup 
-hdmiin_capture_setup +gst-launch-1.0 -vvv v4l2src device=/dev/video71 io-mode=dmabuf num-buffers=600 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1,interlace-mode=interleaved ! amlvenc ! h264parse ! qtmux ! filesink location=test_71.mp4 # Capture frames
-# Capture frames +
-gst-launch-1.0 -vvv v4l2src device=/dev/video71 io-mode=dmabuf num-buffers=600 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1,interlace-mode=interleaved ! amlvenc ! h264parse ! qtmux ! filesink location=test_71.mp4+
 ``` ```
  
Line 44: Line 42:
  
 ```shell ```shell
-# Setup +hdmiin_capture_setup # Setup 
-hdmiin_capture_setup +gst-launch-1.0 -vvv v4l2src device=/dev/video71 io-mode=dmabuf num-buffers=600 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1,interlace-mode=interleaved ! glimagesink # Capture frames
-# Capture frames +
-gst-launch-1.0 -vvv v4l2src device=/dev/video71 io-mode=dmabuf num-buffers=600 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1,interlace-mode=interleaved ! glimagesink+
 ``` ```
  
-**Note: You can press ''ESC'' key to exit.**+//Note: You can press ''ESC'' key to exit.//
  
 +===== 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
 +```
  
  
Last modified: 2026/09/14 06:29 by nick