Xavier入门教程软件篇-安装zed-gstreamer
Xavier入门教程软件篇-安装zed-gstreamer
说明:
- 介绍如何安装和使用zed-gstreamer
步骤:
- 安装对应版本的Sdk3.5 ,至少jetpack4.4以上,sdk下载地址
- 如果是jetpack4.2版本,可以尝试jetpack4.3版本的sdk3.5
- 安装系统依赖
$ sudo apt update
$ sudo apt install build-essential
$ sudo apt install cmake
- 安装gstreamer1.0
$ sudo apt install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav libgstrtspserver-1.0-0 gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstrtspserver-1.0-dev
- 安装opencv可选(zedodoverlay)
$ sudo apt install libopencv-dev libopencv-contrib-dev
- 下载源码
$ git clone https://github.com/stereolabs/zed-gstreamer.git
$ cd zed-gstreamer
- 编译
$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ make # Note: do not use the `-j` flag because parallel build is not supported
$ sudo make install
- 测试插件
gst-inspect-1.0 zedsrc
gst-inspect-1.0 zeddemux
gst-inspect-1.0 zeddatamux
gst-inspect-1.0 zeddatacsvsink
gst-inspect-1.0 zedodoverlay
获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号