Hello,
I’m building my application on docker with nvidia’s deepstream base image.
This is my dockerfile:
FROM nvcr.io/nvidia/deepstream:7.1-samples-multiarch
ENV SYSTEM_MAX_USERS=3
ENV SYSTEM_USE_GPU=True
ENV SYSTEM_PORT=8080
ENV SYSTEM_LOG_LEVEL=INFO
WORKDIR /opt
ENV GST_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/gstreamer-1.0
RUN apt-get update && apt-get install -y
python3
python3-pip
python3-dev
libcairo2-dev
libavcodec58
gstreamer1.0-tools
gstreamer1.0-plugins-base
gstreamer1.0-plugins-good
gstreamer1.0-plugins-bad
gstreamer1.0-plugins-ugly
gstreamer1.0-nice
libgstreamer1.0-dev
gstreamer1.0-libav
gobject-introspection
libgirepository1.0-dev
libnice10
gir1.2-gst-plugins-base-1.0
gir1.2-gst-plugins-bad-1.0
nvidia-container-toolkit
&& apt-get clean
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY . .
RUN chmod +x start_app.sh
RUN python3 -m pip install --upgrade pip &&
python3 -m pip install -r requirements.txt
EXPOSE 8080
CMD [“/app/start_app.sh”]
But it’s seems it does not find gstreamer plugins even though they are installed, like: avdec_h265.
And also, it doesn’t find nvh265dec/ nvh264enc.
I do see GST_PLUGIN_PATH value like I did in dockerfile and I see the .so files inside the directory of which GST_PLUGIN_PATH is loading but I don’t see the plugins are loaded and can be used.
Can someone see the problem?