Jetpack 5.1.1 GS Streamer + DeepStream input-selecter element can't use

I try use GS Streamer launch pipeline
with yolov8n model detect person.
if the camera disconnect the frame display black,
else open camera to display.

I look the gs version is 1.16.3 ,and view the gs-streamer official options,
GStreamer 1.16 release notes
It’s have input-selector this options
but can’t work.

I try theese command to reinstall gs-streamer:

sudo apt-get remove 'gstreamer*'
sudo apt-get autoremove
sudo apt-get install gstreamer1.0-tools gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly

But Display No such element or plugin 'input-selector'
image


ls /opt/nvidia/deepstream/deepstream/lib/gst-plugins

ls /opt/nvidia/deepstream/deepstream/lib/

~/.bashrc:

Jetson info:

Software part of jetson-stats 4.2.12 - (c) 2024, Raffaello Bonghi
Model: Jetson AGX Orin - Jetpack 5.1.1 [L4T 35.3.1]
NV Power Mode[0]: MAXN
Serial Number: [XXX Show with: jetson_release -s XXX]
Hardware:
 - Module: Check with sudo
Platform:
 - Distribution: Ubuntu 20.04 focal
 - Release: 5.10.104-tegra
jtop:
 - Version: 4.2.12
 - Service: Active
Libraries:
 - CUDA: 11.4.315
 - cuDNN: 8.6.0.166
 - TensorRT: 8.5.2.2
 - VPI: 2.2.7
 - Vulkan: 1.3.204
 - OpenCV: 4.10.0 - with CUDA: YES

gs-launch command:

gst-launch-1.0 \
    nvstreammux width=1920 height=1080 batch-size=2 live-source=1 name=mux ! \
    nvinfer config-file-path=config_infer_primary_yoloV8.txt ! \
    nvtracker tracker-width=640 tracker-height=480 gpu-id=0 ll-config-file=/opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_tracker_NvDCF_perf.yml ll-lib-file=/opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so ! \
    nvmultistreamtiler rows=2 columns=2 width=1920 height=1080 name=tiler ! \
    nvdsosd ! \
    nvvideoconvert ! \
    autovideosink sync=false \
    input-selector name=sel0 ! mux.sink_0 \
        v4l2src device=/dev/video0 ! nvvideoconvert ! sel0.sink_0 \
        videotestsrc pattern=black ! videoconvert ! sel0.sink_1 \
    input-selector name=sel1 ! mux.sink_1 \
        v4l2src device=/dev/video1 ! nvvideoconvert ! sel1.sink_0 \
        videotestsrc pattern=black ! videoconvert ! sel1.sink_1 \
    input-selector name=sel2 ! mux.sink_2 \
        v4l2src device=/dev/video2 ! nvvideoconvert ! sel2.sink_0 \
        videotestsrc pattern=black ! videoconvert ! sel2.sink_1 \
    input-selector name=sel3 ! mux.sink_3 \
        v4l2src device=/dev/video3 ! nvvideoconvert ! sel3.sink_0 \
        videotestsrc pattern=black ! videoconvert ! sel3.sink_1

How Can I Fix It?
Thanks!

Could you try to run the command below and attach the result?

1.gst-inspect-1.0 input-selector

2.ldd /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstcoreelements.so

Also please provide complete information as applicable to your setup. Thanks
Hardware Platform (Jetson / GPU)
DeepStream Version
JetPack Version (valid for Jetson only)
TensorRT Version
NVIDIA GPU Driver Version (valid for GPU only)
Issue Type( questions, new requirements, bugs)
How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

There is a problem with your Gstreamer installation. Please refer to our Guide to reinstall the Prerequisites step by step or re-flash your board.

uninstall the deepstream and gs-streamer,

dpkg -l | grep gstreamer

sudo apt purge gir1.2-gstreamer-1.0:arm64 \
libgstreamer-gl1.0-0:arm64 \
libgstreamer-opencv1.0-0:arm64 \
libgstreamer-plugins-bad1.0-0:arm64 \
libgstreamer-plugins-bad1.0-dev:arm64 \
libgstreamer-plugins-base1.0-0:arm64 \
libgstreamer-plugins-base1.0-dev:arm64 \
libgstreamer-plugins-good1.0-0:arm64 \
libgstreamer-plugins-good1.0-dev \
libgstreamer1.0-0:arm64 \
libgstreamer1.0-0-dbg:arm64 \
libgstreamer1.0-dev:arm64 \
nvidia-l4t-gstreamer

sudo apt autoremove

sudo rm -r  /opt/nvidia/deepstream/

rm -rf ~/.cache/gstreamer-1.0

use SDK Manager reinstall is ok,
thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.