首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >GStreamer / Deepstream:加载插件时没有这样的文件或目录

GStreamer / Deepstream:加载插件时没有这样的文件或目录
EN

Stack Overflow用户
提问于 2021-12-02 18:49:53
回答 1查看 1.9K关注 0票数 3

Gstreamer给了我错误报告,它不能加载插件,因为他们的文件不存在。但是,这些文件确实存在。

输出:

代码语言:javascript
运行
复制
Frames will be saved in  frames

(gst-plugin-scanner:22): GStreamer-WARNING **: 20:59:31.873: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:22): GStreamer-WARNING **: 20:59:31.938: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libtritonserver.so: cannot open shared object file: No such file or directory
Creating Pipeline

Creating streamux

Creating source_bin  0

Creating source bin
source-bin-00
Creating Pgie

Creating nvvidconv1

Creating filter1

Creating tiler

Creating nvvidconv

Creating nvosd

Creating EGLSink

Atleast one of the sources is live
Adding elements to Pipeline

Linking elements in the Pipeline

Now playing...
1 :  rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
Starting pipeline

^CExiting app

为了重现问题,您可以在同一个目录中创建以下两个文件。

Dockerfile:

代码语言:javascript
运行
复制
FROM nvcr.io/nvidia/deepstream:6.0-samples
ENV GIT_SSL_NO_VERIFY=1
RUN apt install -y git python-dev python3 python3-pip python3.6-dev python3.8-dev cmake g++ build-essential \
    libglib2.0-dev libglib2.0-dev-bin python-gi-dev libtool m4 autoconf automake wget
RUN apt install -y libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
RUN pip3 install --upgrade pip
RUN pip3 install numpy opencv-python
RUN echo '/usr/local/lib/gstreamer-1.0' >> /etc/ld.so.conf
RUN ldconfig
RUN cd /opt/nvidia/deepstream/deepstream-6.0/sources && \
    git clone https://github.com/NVIDIA-AI-IOT/deepstream_python_apps.git
RUN cd /opt/nvidia/deepstream/deepstream-6.0/sources/deepstream_python_apps && \
    git submodule update --init
RUN wget https://github.com/NVIDIA-AI-IOT/deepstream_python_apps/releases/download/v1.1.0/pyds-1.1.0-py3-none-linux_x86_64.whl
RUN pip3 install pyds-1.1.0-py3-none-linux_x86_64.whl
COPY start_example.sh start_example.sh
RUN rm -rf ~/.cache/gstreamer-1.0/

start_example.sh:

代码语言:javascript
运行
复制
cd /opt/nvidia/deepstream/deepstream-6.0/sources/deepstream_python_apps/apps/deepstream-imagedata-multistream
python3 deepstream_imagedata-multistream.py rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov frames

然后跑:

代码语言:javascript
运行
复制
docker build . -t deepstream-custom
docker run --gpus '"'device=0'"' -it --rm -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY  deepstream-custom sh start_example.sh

在系统中找不到文件librivermax.so.0libtritonserver.so

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-05-25 13:55:09

事实证明,这不是一个问题。如果你想使用Triton,就有一个专用的码头映像。至于Rivermax,如果您想使用它,在文档中会提到它,但是如果您不使用它,您可以安全地忽略警告。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/70204947

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档