jetson tx2平台官方示例 test无法正常运行,找不到nvstreammux

问题描述:
根据官方deepstream教程安装依赖库和sdk,编译deepstream-test1,运行命令如下:
./deepstream-test1-app /opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.h264

提示:
nvbuf_utils: Could not get EGL display connection
One element could not be created. Exiting.

经查,定位到示例代码deepstream_test1_app.c 文件:
/* Create nvstreammux instance to form batches from one or more sources. */
streammux = gst_element_factory_make (“nvstreammux”, “stream-muxer”);

if (!pipeline || !streammux) {
g_printerr (“One element could not be created. Exiting.\n”);
return -1;
}

另外尝试了其它的test示例,也是相同的结果。

查询插件nvstreammux,结果找不到,如下:
$ gst-inspect-1.0 nvstreammux
No such element or plugin ‘nvstreammux’

搜索sdk的lib目录,没发现和nvstreammux相关的so文件。

这个问题困扰了很多天,请教各位,nvstreammux存在于哪个地方?是否要额外安装,还是官方自带有?要如何才能成功跑官方的例程?

我试过删除gstream缓存,命令如下:
rm /home/debugman/.cache/gstreamer-1.0/ -rf
再执行gst-inspect-1.0 -a,列出了很多插件,但没有nvstreammux。

感觉要重装deepstream

还没有学到这一块, 不过检测、YOLOv4 都搞定了!