I am working with the NGC container for DeepStream 6.2 with a Tesla T4 and the Python Bindings.
I tried to initialize a gst element of type avdec_h264
as I used to do before, but the plugin can’t be found.
In fact, I noticed that get-inspect
can’t find the plugin ‘avdec_h264’ in DeepStream 6.2 container. However, it could find it in the DeepStream 6.0.1 container. How can I install the plugin in the DeepStream 6.2 container?
DeepStream 6.2 container does not contain avdec_h264
:
docker run -it nvcr.io/nvidia/deepstream:6.2-devel bash
root@acded65069b7:/opt/nvidia/deepstream/deepstream-6.2# gst-inspect-1.0 avdec_h264
(gst-plugin-scanner:10): GStreamer-WARNING **: 17:18:56.014: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstchromaprint.so': libavcodec.so.58: cannot open shared object file: No such file or directory
(gst-plugin-scanner:10): GStreamer-WARNING **: 17:18:56.016: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpeg2enc.so': libmpeg2encpp-2.1.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:10): GStreamer-WARNING **: 17:18:56.021: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpg123.so': libmpg123.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:10): GStreamer-WARNING **: 17:18:56.044: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstopenmpt.so': libmpg123.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:10): GStreamer-WARNING **: 17:18:56.045: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpeg2dec.so': libmpeg2.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:10): GStreamer-WARNING **: 17:18:56.053: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideoconvert.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:10): GStreamer-WARNING **: 17:18:56.079: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_preprocess.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:10): GStreamer-WARNING **: 17:18:56.079: 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:10): GStreamer-WARNING **: 17:18:56.080: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistreamtiler.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:10): GStreamer-WARNING **: 17:18:56.082: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_dsexample.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:10): GStreamer-WARNING **: 17:18:56.083: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_eglglessink.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:10): GStreamer-WARNING **: 17:18:56.087: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:10): GStreamer-WARNING **: 17:18:56.088: 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
(gst-plugin-scanner:10): GStreamer-WARNING **: 17:18:56.088: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:10): GStreamer-WARNING **: 17:18:56.089: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_nvblender.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:10): GStreamer-WARNING **: 17:18:56.096: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_tracker.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:10): GStreamer-WARNING **: 17:18:56.098: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_deepstream_bins.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:10): GStreamer-WARNING **: 17:18:56.142: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_dewarper.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:10): GStreamer-WARNING **: 17:18:56.143: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libcustom2d_preprocess.so': libcuda.so.1: cannot open shared object file: No such file or directory
No such element or plugin 'avdec_h264'
DeepStream 6.0.1 container does not contain avdec_h264
:
docker run -it nvcr.io/nvidia/deepstream:6.0.1-devel bash
root@3daa32199c27:/opt/nvidia/deepstream/deepstream-6.0# gst-inspect-1.0 avdec_h264
(gst-plugin-scanner:13): GStreamer-WARNING **: 17:14:18.918: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideoconvert.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:13): GStreamer-WARNING **: 17:14:18.947: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_preprocess.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:13): GStreamer-WARNING **: 17:14:18.948: 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:13): GStreamer-WARNING **: 17:14:18.949: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistreamtiler.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:13): GStreamer-WARNING **: 17:14:18.950: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_dsexample.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:13): GStreamer-WARNING **: 17:14:18.952: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_eglglessink.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:13): GStreamer-WARNING **: 17:14:18.955: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:13): GStreamer-WARNING **: 17:14:18.956: 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
(gst-plugin-scanner:13): GStreamer-WARNING **: 17:14:18.957: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:13): GStreamer-WARNING **: 17:14:18.957: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_nvblender.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:13): GStreamer-WARNING **: 17:14:18.960: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_tracker.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:13): GStreamer-WARNING **: 17:14:18.962: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_deepstream_bins.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:13): GStreamer-WARNING **: 17:14:18.981: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_dewarper.so': libcuda.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:13): GStreamer-WARNING **: 17:14:18.982: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libcustom2d_preprocess.so': libcuda.so.1: cannot open shared object file: No such file or directory
Factory Details:
Rank primary (256)
Long-name libav H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 decoder
Klass Codec/Decoder/Video
Description libav h264 decoder
Author Wim Taymans <wim.taymans@gmail.com>, Ronald Bultje <rbultje@ronald.bitfreak.net>, Edward Hervey <bilboed@bilboed.com>
Plugin Details:
Name libav
Description All libav codecs and formats (system install)
Filename /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so
Version 1.14.5
License LGPL
Source module gst-libav
Binary package GStreamer libav Plugins (Ubuntu)
Origin URL https://launchpad.net/distros/ubuntu/+source/gst-libav1.0
GObject
+----GInitiallyUnowned
+----GstObject
+----GstElement
+----GstVideoDecoder
+----avdec_h264
Pad Templates:
SINK template: 'sink'
Availability: Always
Capabilities:
video/x-h264
alignment: au
stream-format: { (string)avc, (string)byte-stream }
SRC template: 'src'
Availability: Always
Capabilities:
video/x-raw
format: { (string)I420, (string)YUY2, (string)RGB, (string)BGR, (string)Y42B, (string)Y444, (string)YUV9, (string)Y41B, (string)GRAY8, (string)RGB8P, (string)I420, (string)Y42B, (string)Y444, (string)UYVY, (string)NV12, (string)NV21, (string)ARGB, (string)RGBA, (string)ABGR, (string)BGRA, (string)GRAY16_BE, (string)GRAY16_LE, (string)A420, (string)RGB16, (string)RGB15, (string)I420_10BE, (string)I420_10LE, (string)I422_10BE, (string)I422_10LE, (string)Y444_10BE, (string)Y444_10LE, (string)GBR, (string)GBR_10BE, (string)GBR_10LE, (string)A420_10BE, (string)A420_10LE, (string)A422_10BE, (string)A422_10LE, (string)A444_10BE, (string)A444_10LE, (string)GBRA, (string)xRGB, (string)RGBx, (string)xBGR, (string)BGRx, (string)I420_12BE, (string)I420_12LE, (string)I422_12BE, (string)I422_12LE, (string)Y444_12BE, (string)Y444_12LE, (string)GBR_12BE, (string)GBR_12LE, (string)GBRA_12BE, (string)GBRA_12LE }
Element has no clocking capabilities.
Element has no URI handling capabilities.
Pads:
SINK: 'sink'
Pad Template: 'sink'
SRC: 'src'
Pad Template: 'src'
Element Properties:
name : The name of the object
flags: readable, writable
String. Default: "avdec_h264-0"
parent : The parent of the object
flags: readable, writable
Object of type "GstObject"
lowres : At which resolution to decode images
flags: readable, writable
Enum "GstLibAVVidDecLowres" Default: 0, "full"
(0): full - 0
(1): 1/2-size - 1
(2): 1/4-size - 2
skip-frame : Which types of frames to skip during decoding
flags: readable, writable
Enum "GstLibAVVidDecSkipFrame" Default: 0, "Skip nothing"
(0): Skip nothing - 0
(1): Skip B-frames - 1
(2): Skip IDCT/Dequantization - 2
(5): Skip everything - 5
direct-rendering : Enable direct rendering
flags: readable, writable
Boolean. Default: true
debug-mv : Whether libav should print motion vectors on top of the image
flags: readable, writable
Boolean. Default: false
max-threads : Maximum number of worker threads to spawn. (0 = auto)
flags: readable, writable
Integer. Range: 0 - 2147483647 Default: 0
output-corrupt : Whether libav should output frames even if corrupted
flags: readable, writable
Boolean. Default: true
Thank you