Toybrick

标题: 安装MMP和gstreamer-rockchip后不能正常运行 [打印本页]

作者: BlackBoy_Xuan    时间: 2019-5-14 19:01
标题: 安装MMP和gstreamer-rockchip后不能正常运行
如图所示,已经安装好MMP库和gstreamer-rockchip插件,本来想执行
#sudo gst-launch-1.0 v4l2src device=/dev/video0 ! "image/jpeg,width=1280,height=720,framerate=30/1" ! jpegdec ! videoconvert ! queue ! mpph264enc ! queue ! h264parse ! flvmux streamable=true ! queue ! rtmpsink sync=false location='rtmp://10.50.1.202:1935/live/test'
推流,但出现问题。然后缩小gstreamer launch,简化为
#sudo gst-launch-1.0 v4l2src device=/dev/video0 ! "image/jpeg,width=1280,height=720,framerate=30/1" ! jpegdec ! videoconvert ! queue ! mpph264enc ! appsink
仍出现问题,有人遇到过类似的问题吗?[attach]277[/attach]

作者: BlackBoy_Xuan    时间: 2019-5-15 11:21
此外,执行mpi_test时,出现如下报错:
[toybrick@localhost ~]$ mpi_test
mpi_test: mpi_test start
mpi_test: mpi_test decoder test start
mpi: mpp_create enter ctx 0x7fc3520d60 mpi 0x7fc3520d58
mpi: mpp version: Without VCS info
mpi: mpp_create leave ret 0 ctx 0x1ad20fc0 mpi 0x7f902586f8
mpi: mpp_init enter ctx 0x1ad20fc0 type 0 coding 0
mpp: unable to create unsupported type 0 coding 0
mpi: mpp_init leave ret -1
mpi_test: mpp_init failed
mpi: mpp_destroy enter ctx 0x1ad20fc0
mpi: mpp_destroy leave ret 0
mpi_test: mpi_test failed


是不是还需要安装其他库呢?
作者: mahongwei    时间: 2019-7-26 21:48
我也遇到了一样的问题
作者: sauron    时间: 2019-9-19 14:37
BlackBoy_Xuan 发表于 2019-5-15 11:21
此外,执行mpi_test时,出现如下报错:
[toybrick@localhost ~]$ mpi_test
mpi_test: mpi_test start

请问解决了么,我这边也遇到了这个问题。




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3