分享解决gst-launch-1.0错误“ERROR: Failed to allocate required memory.”
Posted hankfu
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了分享解决gst-launch-1.0错误“ERROR: Failed to allocate required memory.”相关的知识,希望对你有一定的参考价值。
执行gst-launch-1.0时,得到错误“ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory.”。
最后发现HDMI输入设备没有连接。
在之前,没有注意到“xmedia-ctl -p -d /dev/media1”的输出中,hdmi_rx_ss没有连接。
没有HDMI输入设备的设备信息:
root@vcu_llp2_xv20:~# xmedia-ctl -p -d /dev/media1
Media controller API version 4.19.0
... ...
Device topology
... ...
- entity 8: a0000000.v_hdmi_rx_ss (1 pad, 1 link)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev2
pad0: Source
[fmt:RBG888_1X24/1280x720 field:none colorspace:srgb]
[dv.caps:BT.656/1120 min:0x0@25000000 max:4096x2160@297000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]
[dv.query:no-link]
-> "a0040000.v_proc_ss":0 [ENABLED]
有HDMI输入设备的设备信息:
root@vcu_llp2_xv20:~# xmedia-ctl -p -d /dev/media1
Media controller API version 4.19.0
... ...
Device topology
... ...
- entity 8: a0000000.v_hdmi_rx_ss (1 pad, 1 link)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev2
pad0: Source
[fmt:RBG888_1X24/1920x1080 field:none colorspace:srgb]
[dv.caps:BT.656/1120 min:0x0@25000000 max:4096x2160@297000000 stds:CEA-861,DMT,CVT,GTF caps:progressive,reduced-blanking,custom]
[dv.detect:BT.656/1120 1920x1080p60 (2200x1125) stds:CEA-861 flags:CE-video]
-> "a0040000.v_proc_ss":0 [ENABLED]
以上是关于分享解决gst-launch-1.0错误“ERROR: Failed to allocate required memory.”的主要内容,如果未能解决你的问题,请参考以下文章
英伟达jetson盒子gstreamer gst-launch-1.0 录制rtsp为mp4不能播放问题(加-e)(EOS on shutdown enabled)
英伟达jetson盒子gstreamer gst-launch-1.0 录制rtsp为mp4不能播放问题(加-e)(EOS on shutdown enabled)
Gstreamer Gstreamer中通过UDP(RTP)远程播放MP3
matlab导出jar包错误Error: An error occurred while shelling out to javac(erro code = 1)解决办法