|
【应用开发】
Gstreamer drm_allocator 问题
发表于 2018-4-19 16:42:55
浏览:12307
|
回复:3
打印
只看该作者
[复制链接]
楼主
用了最新板的ubuntu 发现有个gstreamer在/opt/下
用了gst-inspect-1.0看了下插件 有mppvideodec, rtph264depay, rkximagesink
尝试来看下IP camera的rtsp串流...
指令:
gst-launch-1.0 rtspsrc location='rtspt://rtsplink:554/user=&password=&channel=&stream=.sdp' ! rtph264depay ! mppvideodec ! rkximagesink
但都没有出现串流画面, 卡在 mpp_rt: found drm allocator
用ctrl C 中断后,跳出 "gst_mpp_allocator_start: assertion 'size != 0' failed"
请问下各位有没有遇过这个问题呢
有确认过rtsp link是可用的了
完整log:
Setting pipeline to PAUSED ...
mpi: mpp version: 5849089 author: Herman Chen [mpp]: Add temporally patch for blocking issue
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtspt://rtsplink:554/user=&password=&channel=1&stream=0.sdp
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
hal_h264d_api: hal_h264d_init mpp_buffer_group_get_internal used ion In
mpp_rt: NOT found ion allocator
mpp_rt: found drm allocator
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:11.742009032
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
** (gst-launch-1.0:16765): CRITICAL **: gst_mpp_allocator_start: assertion 'size != 0' failed
Setting pipeline to NULL ...
Freeing pipeline ...
|
|