|
【Linux】
RK3588J 读取HDMI-IN设备失败
发表于 2023-3-1 15:07:38
浏览:4529
|
回复:0
打印
只看该作者
[复制链接]
楼主
本帖最后由 YSKM 于 2023-3-1 15:10 编辑
测试指令 v4l2-ctl -d /dev/video11 -V -D
firefly@firefly:~$ v4l2-ctl -d /dev/video11 -V -D
Driver Info:
Driver name : rk_hdmirx
Card type : rk_hdmirx
Bus info : fdee0000.hdmirx-controller
Driver version : 5.10.110
Capabilities : 0x84201000
Video Capture Multiplanar
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x04201000
Video Capture Multiplanar
Streaming
Extended Pix Format
Format Video Capture Multiplanar:
Width/Height : 1920/1080
Pixel Format : 'NV24' (Y/CbCr 4:4:4)
Field : None
Number of planes : 1
Flags : premultiplied-alpha, 0x000000fe
Colorspace : Unknown (0x100b89b4)
Transfer Function : Unknown (0x000000b8)
YCbCr/HSV Encoding: Unknown (0x000000ff)
Quantization : Default
Plane 0 :
Bytes per Line : 1920
Size Image : 6220800
读取摄像头显示: firefly@firefly:~$ gst-launch-1.0 v4l2src device=/dev/video11 ! video/x-raw,format=NV24,width=1920,height=1080, framerate=30/1 ! videoconvert ! kmssink &
[1] 70159
firefly@firefly:~$ Setting pipeline to PAUSED ...
Using mplane plugin for capture
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: GStreamer encountered a general resource error.
Additional debug info:
../sys/kms/gstkmssink.c(1967): gst_kms_sink_show_frame (): /GstPipeline:pipeline0/GstKMSSink:kmssink0:
drmModeSetPlane failed: Invalid argument (22)
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason error (-5)
Execution ended after 0:00:00.457873386
Setting pipeline to NULL ...
Freeing pipeline ...
|
|