No element ‘nvv4l2decoder’: Jetson Xavier NX

Continuing the discussion from No such element or plugin 'nvv4l2decoder':

Hello,

This should be posted in the Jetson forums so the support folks have visibility. I will move it over for you.

Suggest to update your issue here again, it’s hard to redirect to old post to continue the discussion here.

Ok. here is the issue that I am having with Jetson Xavier NX with Jetpack 5.1.1 (rev 1) + DeepStream. By running the following command:
gst-launch-1.0 rtspsrc location='rtsp://192.168.1.10:554/user=admin_password=tlJwpbo6_channel=1_stream=0.sdp' protocols=tcp latency=100 ! rtph265depay ! h265parse ! nvv4l2decoder ! nvvidconv ! video/x-raw, width=640, height=480, format=BGRx ! videoconvert ! video/x-raw, format=BGR ! appsink drop=1
results in
no element "nvv4l2decoder"
I solved it by installing gstreamer plugins:
sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
and
sudo apt install --reinstall nvidia-l4t-gstreamer
and removing the gstreamer cache:

sudo rm -r ~/.cache/gstreamer-1.0/

Now the issue that I have is, when I am trying to play videos with totem:

totem video_name.avi

I get the following messages:

** Message: 07:45:22.946: Missing plugin: gstreamer|1.0|totem|MPEG-4 AAC decoder|decoder-audio/mpeg, mpegversion=(int)4, level=(string)2, base-profile=(string)lc, profile=(string)lc (MPEG-4 AAC decoder)
** Message: 07:45:22.946: Missing plugin: gstreamer|1.0|totem|H.264 (High Profile) decoder|decoder-video/x-h264, level=(string)5.1, profile=(string)high (H.264 (High Profile) decoder)
** Message: 07:45:26.452: PackageKit: xid = 0
** Message: 07:45:26.452: PackageKit: desktop_id = org.gnome.Totem.desktop
** Message: 07:45:26.452: PackageKit: Codec nice name: MPEG-4 AAC decoder
** Message: 07:45:26.452: PackageKit: ignoring field named level
** Message: 07:45:26.452: PackageKit: ignoring field named base-profile
** Message: 07:45:26.452: PackageKit: ignoring field named profile
** Message: 07:45:26.452: PackageKit: field is: mpegversion, type: gint
** Message: 07:45:26.452: PackageKit: structure: gstreamer1(decoder-audio/mpeg)(mpegversion=4)()(64bit)
** Message: 07:45:26.452: PackageKit: Codec nice name: H.264 (High Profile) decoder
** Message: 07:45:26.452: PackageKit: ignoring field named level
** Message: 07:45:26.452: PackageKit: ignoring field named profile
** Message: 07:45:26.452: PackageKit: structure: gstreamer1(decoder-video/x-h264)()(64bit)

And the video is black. Do you have any suggestions or recommendations to solve this issue?
Thanks

Hi,
DeepStream SDK is based on gstreamer. We suggest run gstreamer command to make sure the video file can be played well first. Please refer to the sample commands in
Accelerated GStreamer — Jetson Linux Developer Guide documentation

And the latest release is Jetpack 5.1.2, You may consider upgrade through SDKManager and try again.

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