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:34]
nick
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 # Setup +sudo hdmiin_preview_setup 
-sudo hdmiin-demo # Preview+hdmiin-demo # Preview
 ``` ```
  
-**Note: You can press ''ESC'' key to exit.**+//Note: You can press ''ESC'' key to exit.//
  
  
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 ''H264'' format and mux to ''MP4'' format store in file ''/tmp/test71.mp4''.+and encoding them to ''H264'' format and mux to ''MP4'' format store in file ''/tmp/test70.mp4''.
  
 ```shell ```shell
-hdmiin_capture_setup # Setup +sudo hdmiin_capture_setup # 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+gst-launch-1.0 -vvv v4l2src device=/dev/video70 io-mode=dmabuf num-buffers=600 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=60/1,interlace-mode=interleaved ! amlvenc ! h264parse ! qtmux ! filesink location=test_70.mp4
 ``` ```
  
Line 42: Line 42:
  
 ```shell ```shell
-hdmiin_capture_setup # Setup +sudo hdmiin_capture_setup # 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+gst-launch-1.0 -vvv v4l2src device=/dev/video70 io-mode=dmabuf num-buffers=600 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=60/1,interlace-mode=interleaved ! glimagesink
 ``` ```
- 
-**Note: You can press ''ESC'' key to exit.** 
- 
- 
 ===== Setup HDMI IN audio ===== ===== Setup HDMI IN audio =====
  
Line 57: Line 53:
 ``` ```
  
-* 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. *+//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: Disable audio:
Last modified: 2026/09/14 06:34 by nick