This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我们有一个运行 AM5728和 SDK 06.03的定制板。 我目前正在测试 software-dl.ti.com/.../Foundational_Components_Multimedia_IVAHD.html 中的 gstreamer 功能
捕获和编码视频的管道失败。 该问题似乎与'VPE'插件有关。 如果我只将 VPE 更改为视频转换、则管道工作正常。
CMA 大小已增至256MB,但没有帮助。
=> setenv optargets CMA=256Mib
=> saveenv
[0.000000] CMA:在0x00000000 efc00000处保留256 MIB
故障流水线示例:
root@am57xx-EVM:~#/etc/init.d/weston 停止
停止 Weston
root@am57xx-EVM:~# gst-launch-1.0 -v v4l2src device=/dev/video1 io-mode=2! 'video/x-raw、format=(string) YUY2、width=(int) 640、height=(int) 480、framerate=(fraction) 30/1'! VPE num-input-buffers=8! TEE NAME=t! 排队! ducatimpeg4enc bitrate = 4000! 排队! 太棒了! 真棒! 文件链接位置=x.mp4 t! 排队! kmsink
正在将管道设置为暂停...
管道处于活动状态,不需要 PREROLL...
/GstPipeline0/GstKMSSink:kmssink0:显示宽度= 1280
/GstPipeline0/GstKMSSink:kmssink0:显示高度=1024
正在将管道设置为正在播放...
新时钟:GstSystemClock
/GstPipeline0/GstV4l2Src:v4l2src0.GstPad:src:cap = video/x-raw、format=(string) YUY2、width=(int) 640、height=(int) 480、framerate=(fraction) 30/1、 Pixer-Aspi-Ratio =(fraction) 1/1、Colorimetry =(string) 2:4:5:1、interlace-mode=(string) progressive
/GstPipeline0/GstCapsFilter:capsfilter0.GstPad:src:cap = video/x-raw、format=(string) YUY2、width=(int) 640、height=(int) 480、framerate=(fraction) 30/1、 Pixer-Aspi-Ratio =(fraction) 1/1、Colorimetry =(string) 2:4:5:1、interlace-mode=(string) progressive
/GstPipeline0/GstVpe:vpe0.GstPad:src:cap = video/x-raw、format=(string) NV12、width=(int) 640、height=(int) 480、interlap-mode=(string) progressive、 Pixer-Aspire-Ration=(Fraction) 1/1、framerate=(fraction) 30/1
/GstPipeline:lipine0/GstTee:t.GstTeePad:src_0:cap = video/x-raw、format=(string) NV12、width=(int) 640、height=(int) 480、interlap-mode=(string) progressive、 Pixer-Aspire-Ration=(Fraction) 1/1、framerate=(fraction) 30/1
/GstPipeline0/GstQueue:queue0.GstPad:sink:cap = video/x-raw、format=(string) NV12、width=(int) 640、height=(int) 480、interlap-mode=(string) progressive、 Pixer-Aspire-Ration=(Fraction) 1/1、framerate=(fraction) 30/1
/GstPipeline0/GstQueue:queue0.GstPad:sink:cap = video/x-raw、format=(string) NV12、width=(int) 640、height=(int) 480、interlap-mode=(string) progressive、 Pixer-Aspire-Ration=(Fraction) 1/1、framerate=(fraction) 30/1
/GstPipeline:lipine0/GstTee:t.GstTeePad:src_1:cap = video/x-raw、format=(string) NV12、width=(int) 640、height=(int) 480、interlap-mode=(string) progressive、 Pixer-Aspire-Ration=(Fraction) 1/1、framerate=(fraction) 30/1
/GstPipeline0/GstQueue:queue2.GstPad:sink:cap = video/x-raw、format=(string) NV12、width=(int) 640、height=(int) 480、interlap-mode=(string) progressive、 Pixer-Aspire-Ration=(Fraction) 1/1、framerate=(fraction) 30/1
/GstPipeline0/GstTee:t.GstPad:sink:cap = video/x-raw、format=(string) NV12、width=(int) 640、height=(int) 480、interlap-mode=(string) progressive、 Pixer-Aspire-Ration=(Fraction) 1/1、framerate=(fraction) 30/1
/GstPipeline0/GstVpe:vpe0.GstPad:SINK:Cap = VIDEO/x-RAW、format=(string) YUY2、width=(int) 640、height=(int) 480、framerate=(fraction) 30/1、 Pixer-Aspi-Ratio =(fraction) 1/1、Colorimetry =(string) 2:4:5:1、interlace-mode=(string) progressive
/GstPipeline0/GstCapsFilter:capsfilter0.GstPad:SINK:CAPs = VIDEO/x-RAW、format=(string) YUY2、width=(int) 640、height=(int) 480、framerate=(fraction) 30/1、 Pixer-Aspi-Ratio =(fraction) 1/1、Colorimetry =(string) 2:4:5:1、interlace-mode=(string) progressive
/GstPipeline0/GstQueue:queue2.GstPad:src:cap = video/x-raw、format=(string) NV12、width=(int) 640、height=(int) 480、interlap-mode=(string) progressive、 Pixer-Aspire-Ration=(Fraction) 1/1、framerate=(fraction) 30/1
/GstPipeline0/GstDucatiMPEG4Enc:ducatimpeg4enc0.GstPad:src:cap = VIDEO/MPEG、mpegversion=(int) 4、systemstream=(布尔值) false、width=(int) 640、height=(int) 480、 Pixer-Aspect-Ratio =(fraction) 1/1、framerate=(fraction) 30/1、interlace-mode=(string) progressive、colorimetry =(string) bt601、chroma-site=(string) jpeg
/GstPipeline0/GstQueue:queue1.GstPad:sink:cap = VIDEO/MPEG、mpegversion=(int) 4、systemstream=(布尔值) false、width=(int) 640、height=(int) 480、 Pixer-Aspect-Ratio =(fraction) 1/1、framerate=(fraction) 30/1、interlace-mode=(string) progressive、colorimetry =(string) bt601、chroma-site=(string) jpeg
/GstPipeline0/GstQueue1.GstPad:src:cap = VIDEO/MPEG、mpegversion=(int) 4、systemstream=(布尔值) false、width=(int) 640、height=(int) 480、 Pixer-Aspect-Ratio =(fraction) 1/1、framerate=(fraction) 30/1、interlace-mode=(string) progressive、colorimetry =(string) bt601、chroma-site=(string) jpeg
/GstPipeline0/GstMpeg4VParse:mpeg4vparse0.GstPad:SINK:Cap = VIDEO/MPEG、mpegversion=(int) 4、systemstream=(布尔值) false、width=(int) 640、height=(int) 480、 Pixer-Aspect-Ratio =(fraction) 1/1、framerate=(fraction) 30/1、interlace-mode=(string) progressive、colorimetry =(string) bt601、chroma-site=(string) jpeg
/GstPipeline0/GstDucatiMPEG4Enc:ducatimpeg4enc0.GstPad:灌电流:cap =视频/x-raw、format=(string) NV12、width=(int) 640、height=(int) 480、interlap-mode=(string) progressive、 Pixer-Aspire-Ration=(Fraction) 1/1、framerate=(fraction) 30/1
/GstPipeline0/GstKMSSink:kmssink0.GstPad:SINK:SINK:SINK:Cap = VIDEO/x-RAW、format=(string) NV12、width=(int) 640、height=(int) 480、Interlap-mode=(string) progressive、 Pixer-Aspire-Ration=(Fraction) 1/1、framerate=(fraction) 30/1
/GstPipeline0/GstVpe:vpe0.GstPad:src:cap = video/x-raw、format=(string) NV12、width=(int) 640、height=(int) 480、interlap-mode=(string) progressive、 Pixer-Aspire-Ration=(Fraction) 1/1、framerate=(fraction) 30/1
/GstPipeline:lipine0/GstTee:t.GstTeePad:src_0:cap = video/x-raw、format=(string) NV12、width=(int) 640、height=(int) 480、interlap-mode=(string) progressive、 Pixer-Aspire-Ration=(Fraction) 1/1、framerate=(fraction) 30/1
/GstPipeline0/GstQueue:queue0.GstPad:src:cap = video/x-raw、format=(string) NV12、width=(int) 640、height=(int) 480、interlap-mode=(string) progressive、 Pixer-Aspire-Ration=(Fraction) 1/1、framerate=(fraction) 30/1
/GstPipeline0/GstDucatiMPEG4Enc:ducatimpeg4enc0.GstPad:灌电流:cap =视频/x-raw、format=(string) NV12、width=(int) 640、height=(int) 480、interlap-mode=(string) progressive、 Pixer-Aspire-Ration=(Fraction) 1/1、framerate=(fraction) 30/1
/GstPipeline0/GstQueue:queue0.GstPad:sink:cap = video/x-raw、format=(string) NV12、width=(int) 640、height=(int) 480、interlap-mode=(string) progressive、 Pixer-Aspire-Ration=(Fraction) 1/1、framerate=(fraction) 30/1
**(GST-LAUNCH-1.0:1001):严重**:15:27:33.882: GST_FD_MEMORY_GET_FD:断言'GST_IS _FD_LOADator (mem->LOLOADator)"失败
**(GST-LAUNCH-1.0:1001):严重**:15:27:33.882: GST_FD_MEMORY_GET_FD:断言'GST_IS _FD_LOADator (mem->LOLOADator)"失败
**(GST-LAUNCH-1.0:1001):严重**:15:27:33.882: GST_FD_MEMORY_GET_FD:断言'GST_IS _FD_LOADator (mem->LOLOADator)"失败
**(GST-LAUNCH-1.0:1001):严重**:15:27:33.882: GST_FD_MEMORY_GET_FD:断言'GST_IS _FD_LOADator (mem->LOLOADator)"失败
/GstPipeline:lipine0/GstTee:t.GstTeePad:src_1:cap = video/x-raw、format=(string) NV12、width=(int) 640、height=(int) 480、interlap-mode=(string) progressive、 Pixer-Aspire-Ration=(Fraction) 1/1、framerate=(fraction) 30/1
/GstPipeline0/GstQueue:queue2.GstPad:src:cap = video/x-raw、format=(string) NV12、width=(int) 640、height=(int) 480、interlap-mode=(string) progressive、 Pixer-Aspire-Ration=(Fraction) 1/1、framerate=(fraction) 30/1
/GstPipeline0/GstKMSSink:kmssink0.GstPad:SINK:SINK:SINK:Cap = VIDEO/x-RAW、format=(string) NV12、width=(int) 640、height=(int) 480、Interlap-mode=(string) progressive、 Pixer-Aspire-Ration=(Fraction) 1/1、framerate=(fraction) 30/1
/GstPipeline0/GstQueue:queue2.GstPad:sink:cap = video/x-raw、format=(string) NV12、width=(int) 640、height=(int) 480、interlap-mode=(string) progressive、 Pixer-Aspire-Ration=(Fraction) 1/1、framerate=(fraction) 30/1
/GstPipeline0/GstTee:t.GstPad:sink:cap = video/x-raw、format=(string) NV12、width=(int) 640、height=(int) 480、interlap-mode=(string) progressive、 Pixer-Aspire-Ration=(Fraction) 1/1、framerate=(fraction) 30/1
**(GST-LAUNCH-1.0:1001):严重**:15:27:33.889:GST_FD_MEMORY_GET_FD:声明"GST_IS _FD_LOADator (mem->LOLOADator)"失败
错误:来自元素/GstPipeline:流水 线0/GstV4l2Src:v4l2src0:内部数据流错误。
其他调试信息:
./../../../gstreamer-1.14.4/libs/gst/base/gstbasesrc.c (3055):gst_base_src_loop ():/GstPipeline:流水线0/GstV4l2Src:v4l2src0:
流媒体停止、原因错误(-5)
在0:00:00.462899394之后结束执行
正在将管道设置为暂停...
正在将管道设置为就绪...
正在将管道设置为 NULL ...
正在释放管道...
连接 dmesg 日志。