I understand that the Orin Nano doesn’t have hardware encoders, so the nvvideo4linux2 plugin doesn’t have nvv4l2h265enc. But it looks like the same nvidia-l4t-gstreamer package is installed when I flash an Orin NX 16GB, so I can’t use the hardware encoder in my pipelines even though the SoC has it.
Is there a different package that has the accelerated gstreamer elements for Orin NX?
I need to flash using L4T for custom kernel, device trees, and pinmuxing because I’m using a custom carrier. Is it possible to get the stuff installed without flashing?
Hi,
Do you customize the kernel based on Jetpack 5.1.3? For using custom board, you can flash the board through initrd command, and the plugins shall be present after booting.
First I unpacked the BSP and sample sample rootfs and updated the sample rootfs with Nvidia binaries.
tar xf ${L4T_RELEASE_PACKAGE}
sudo tar xpf ${SAMPLE_FS_PACKAGE} -C Linux_for_Tegra/rootfs/
cd Linux_for_Tegra/
sudo ./apply_binaries.sh
sudo ./tools/l4t_flash_prerequisites.sh
Then I unpacked the kernel, made my changes, compiled, and installed the products into the kernel and bootloader BSP directories.
The nvvideo4linux2 plugin is installed and I can use nvarguscamerasrc and nvvidconv, but nvv4l2h264enc is not there, nor any of the other hardware video encoders.
Also, here’s the list of installed gstreamer packages:
$ dpkg -l '*gst*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-======================================-=====================-============-=========================================================================
ii gir1.2-clutter-gst-3.0:arm64 3.0.27-1 arm64 Gobject introspection data for Clutter GStreamer elements
un gir1.2-cluttergst-3.0 <none> <none> (no description available)
ii gir1.2-gst-plugins-bad-1.0:arm64 1.16.3-0ubuntu1.1 arm64 GObject introspection data for the GStreamer libraries from the "bad" set
ii gir1.2-gst-plugins-base-1.0:arm64 1.16.3-0ubuntu1.2 arm64 GObject introspection data for the GStreamer Plugins Base library
ii gir1.2-gst-rtsp-server-1.0:arm64 1.16.2-3 arm64 GObject introspection data for the GStreamer RTSP Server
ii gir1.2-gstreamer-1.0:arm64 1.16.3-0ubuntu1.1 arm64 GObject introspection data for the GStreamer library
un gstreamer0.10-packagekit <none> <none> (no description available)
un gstreamer0.10-plugins-base <none> <none> (no description available)
ii gstreamer1.0-alsa:arm64 1.16.3-0ubuntu1.2 arm64 GStreamer plugin for ALSA
un gstreamer1.0-audiosink <none> <none> (no description available)
un gstreamer1.0-audiosource <none> <none> (no description available)
ii gstreamer1.0-clutter-3.0:arm64 3.0.27-1 arm64 Clutter PLugin for GStreamer 1.0
ii gstreamer1.0-doc 1.16.3-0ubuntu1.1 all GStreamer core documentation and manuals
ii gstreamer1.0-gl:arm64 1.16.3-0ubuntu1.2 arm64 GStreamer plugins for GL
ii gstreamer1.0-gtk3:arm64 1.16.3-0ubuntu1.2 arm64 GStreamer plugin for GTK+3
ii gstreamer1.0-libav:arm64 1.16.2-2 arm64 ffmpeg plugin for GStreamer
ii gstreamer1.0-packagekit 1.1.13-2ubuntu1.1 arm64 GStreamer plugin to install codecs using PackageKit
ii gstreamer1.0-plugins-bad:arm64 1.16.3-0ubuntu1.1 arm64 GStreamer plugins from the "bad" set
un gstreamer1.0-plugins-bad-faad <none> <none> (no description available)
un gstreamer1.0-plugins-bad-videoparsers <none> <none> (no description available)
ii gstreamer1.0-plugins-base:arm64 1.16.3-0ubuntu1.2 arm64 GStreamer plugins from the "base" set
ii gstreamer1.0-plugins-base-apps 1.16.3-0ubuntu1.2 arm64 GStreamer helper programs from the "base" set
ii gstreamer1.0-plugins-base-doc 1.16.3-0ubuntu1.2 all GStreamer documentation for plugins from the "base" set
ii gstreamer1.0-plugins-good:arm64 1.16.3-0ubuntu1.2 arm64 GStreamer plugins from the "good" set
ii gstreamer1.0-plugins-ugly:arm64 1.16.2-2build1 arm64 GStreamer plugins from the "ugly" set
un gstreamer1.0-plugins-ugly-amr <none> <none> (no description available)
ii gstreamer1.0-pulseaudio:arm64 1.16.3-0ubuntu1.2 arm64 GStreamer plugin for PulseAudio
ii gstreamer1.0-tools 1.16.3-0ubuntu1.1 arm64 Tools for use with GStreamer
un gstreamer1.0-videosink <none> <none> (no description available)
un gstreamer1.0-videosource <none> <none> (no description available)
un gstreamer1.0-visualization <none> <none> (no description available)
ii gstreamer1.0-x:arm64 1.16.3-0ubuntu1.2 arm64 GStreamer plugins for X11 and Pango
ii libclutter-gst-3.0-0:arm64 3.0.27-1 arm64 Open GL based interactive canvas library GStreamer elements
ii libgstreamer-gl1.0-0:arm64 1.16.3-0ubuntu1.2 arm64 GStreamer GL libraries
ii libgstreamer-opencv1.0-0:arm64 1.16.3-0ubuntu1.1 arm64 GStreamer OpenCV libraries
ii libgstreamer-plugins-bad1.0-0:arm64 1.16.3-0ubuntu1.1 arm64 GStreamer libraries from the "bad" set
ii libgstreamer-plugins-bad1.0-dev:arm64 1.16.3-0ubuntu1.1 arm64 GStreamer development files for libraries from the "bad" set
ii libgstreamer-plugins-base1.0-0:arm64 1.16.3-0ubuntu1.2 arm64 GStreamer libraries from the "base" set
ii libgstreamer-plugins-base1.0-dev:arm64 1.16.3-0ubuntu1.2 arm64 GStreamer development files for libraries from the "base" set
ii libgstreamer-plugins-good1.0-0:arm64 1.16.3-0ubuntu1.2 arm64 GStreamer development files for libraries from the "good" set
ii libgstreamer-plugins-good1.0-dev 1.16.3-0ubuntu1.2 arm64 GStreamer development files for libraries from the "good" set
ii libgstreamer1.0-0:arm64 1.16.3-0ubuntu1.1 arm64 Core GStreamer libraries and elements
ii libgstreamer1.0-0-dbg:arm64 1.16.3-0ubuntu1.1 arm64 Core GStreamer libraries and elements
ii libgstreamer1.0-dev:arm64 1.16.3-0ubuntu1.1 arm64 GStreamer core development files
ii libgstrtspserver-1.0-0 1.16.2-3 arm64 GStreamer RTSP Server (shared library)
ii libgstrtspserver-1.0-0-dbg 1.16.2-3 arm64 GStreamer RTSP Server (debug symbols)
ii libgstrtspserver-1.0-dev:arm64 1.16.2-3 arm64 GStreamer RTSP Server (development files)
ii libgstrtspserver-1.0-doc 1.16.2-3 all GStreamer RTSP Server (documentation)
un libreoffice-avmedia-backend-gstreamer <none> <none> (no description available)
ii nvidia-l4t-gstreamer 35.5.0-20240219203809 arm64 NVIDIA GST Application files
un python3-gst-1.0 <none> <none> (no description available)
un totem-gstreamer <none> <none> (no description available)