主题中讨论的其他器件:AM5728
您好!
EVM:TI AM5728 EVM
内核:4.4.41
我使用此管道来简化捕获和显示、但它不起作用:
gst-launch-1.0 -v --gst-debug=2 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4! '视频/x-raw、\
format=(string) YUY2、width=(int) 1280、height=(int) 720'! VPE num-input-buffers=8! 排队! kmsink
root@am57xx-EVM:/# gst-launch-1.0 -v --gst-debug=2 v4l2src device=/dev/video1 num-bbuffers=1000 io-mode=4! '视频/x-raw、\
format=(string) YUY2、width=(int) 1280、height=(int) 720'! VPE num-input-buffers=8! 排队! kmsink
正在将管道设置为暂停...
管道处于活动状态,不需要 PREROLL...
正在将管道设置为正在播放...
新时钟:GstSystemClock
/GstPipeline0/GstV4l2Src:v4l2src0.GstPad:src:cap ="video/x-ray\、\ format\=(string\) YUy2\、\ width\=(int\) 1280\、\ height\=(int\) 720\、\、\ inter-pixel-bacy\(bade-ti-modity\)、bacy\
/GstPipeline0/GstCapsFilter:capsfilter0.GstPad:src:cap ="video/x-raw、\ format\=(string\) YUy2、\ width\=(int\) 1280\、\ height\=(int\) 720\、\像素纵横比= 1 m/隔行距"
/GstPipeline0/GstVpe:vpe0.GstPad:src:cap ="VIDEO/x-RAW\、\ format\=(string\) NV12\、\ width\=(int\) 1280\、\ height\=(int\) 720\、\像素纵横比\=(strape\) 10\
/GstPipeline0/GstQueue:queue0.GstPad:src:cap ="VIDEO/x-RAW\、\ format\=(string\) NV12\、\ width\=(int\) 1280\、\ height\=(int\) 720\、\像素-宽高比\=(frame\) 1、帧速率\
/GstPipeline0/GstKMSSink:kmssink0.GstPad:灌电流:cap ="VIDEO/x-RAW\、\ format\\(string\) NV12\、\ width\=(int\) 1280\、\ height\=(int\) 720\、\像素纵横比=(FRA) 1、帧速率= 1
/GstPipeline0/GstQueue:queue0.GstPad:sink:cap ="VIDEO/x-RAW\、\ format\=(string\) NV12\、\ width\=(int\) 1280\、\ height\=(int\) 720\、\像素-宽高比\=(fracte\) 1、帧速率\
/GstPipeline0/GstVpe:vpe0.GstPad:SINK:SINK:SINK:CAPs ="VIDEO/x-RAW\、\ FORMAT\=(STRING\) Y2\、\ width\=(int\) 1280\、\ height\=(int\) 720\、\像素-宽高比\=(YU1\)、interlape\(intermode\)
/GstPipeline0/GstCapsFilter:capsfilter0.GstPad:SINK:SINK:CAP="VIDEO/x-RAW\、\ format\=(string\) YUy2\、\ width\=(int\) 1280\、\ height\=(int\) 720\、\像素纵横比= 1)、interlape1
0:00:00.288726988 2332 0x143c30 WARN v4l2bufferpool gstv4l2bufferpool.c:749:gst_v4l2_buffer_pool_start: 缓冲区不够或不足、启用复制阈值
/GstPipeline0/GstVpe:vpe0.GstPad:src:cap ="VIDEO/x-RAW\、\ format\=(string\) NV12\、\ width\=(int\) 1280\、\ height\=(int\) 720\、\像素纵横比\=(strape\) 10\
/GstPipeline0/GstQueue:queue0.GstPad:src:cap ="VIDEO/x-RAW\、\ format\=(string\) NV12\、\ width\=(int\) 1280\、\ height\=(int\) 720\、\像素-宽高比\=(frame\) 1、帧速率\
/GstPipeline0/GstKMSSink:kmssink0.GstPad:灌电流:cap ="VIDEO/x-RAW\、\ format\\(string\) NV12\、\ width\=(int\) 1280\、\ height\=(int\) 720\、\像素纵横比=(FRA) 1、帧速率= 1
/GstPipeline0/GstQueue:queue0.GstPad:sink:cap ="VIDEO/x-RAW\、\ format\=(string\) NV12\、\ width\=(int\) 1280\、\ height\=(int\) 720\、\像素-宽高比\=(fracte\) 1、帧速率\
0:00:00.436926081 2332 0x143c30 WARN VPE gstvpebufferpool.c:462:GST_VPE_buffer_pool_import:分配新的输入缓冲区索引:0/128、0
0:00:00.447965780 23320x144030警告 bufferpool gstbufferpool.c:300:do_alloc_buffer: Alloc 功能失败
0:00:00.458225004 2332 0x144030警告 bufferpool gstbufferpool.c:300:do _alloc_buffer: Alloc 功能失败
0:00:00.460187252 2332 0x143c30 WARN VPE gstvpebufferpool.c:462:GST_VPE_buffer_pool_import:分配新的输入缓冲区索引:1/128、0
0:00:00.468431198 2332 0x144030警告 bufferpool gstbufferpool.c:300:do _alloc_buffer: Alloc 功能失败
0:00:00.470062745 2332 0x144000警告 kmssink gstkmssink.c:364:gst_kms_sink_show_FRAME: 错误:drmModeSetPlane 失败:权限被拒绝(13)
错误:从元素/GstPipeline:流水 线0/GstKMSSink:kmssink0: GStreamer 遇到一般资源错误。
其他调试信息:
./../../git/sys/kms/gstkmssink.c (364):gst_kms_sink_show_FRAME ():/GstPipeline0/GstKMSSink:kmssink0:
drmModeSetPlane 失败:权限被拒绝(13)
0:00:00.478578996 2332 0x144030警告 bufferpool gstbufferpool.c:300:do _alloc_buffer: Alloc 功能失败
执行在0:00:00.385884047之后结束
正在将管道设置为暂停...
0:00:00.664821267 2332 0x143c30 WARN VPE gstvpebufferpool.c:462:GST_VPE_buffer_pool_import:分配新的输入缓冲区索引:2/128、0
0:00:00.667199291 2332 0x143c30 WARN v4l2src gstv4l2src.c:827:gst_v4l2src_create: 检测到丢失的帧:计数= 1 - ts:0:00:00.263099244
正在将管道设置为就绪...
0:00:00.676525784 2332 0x1465a0 WARN bufferpool gstbufferpool.c:537:GST_buffer_pool_set_active: 停止失败
0:00:00.681577723 23320x1465a0 WARN bufferpool gstbufferpool.c:537:GST_buffer_pool_set_active: 停止失败
正在将管道设置为 NULL ...
正在释放管道...
root@am57xx-EVM:/#
BR、
费埃兹:)