-
System Information: Orin Nano
cat /etc/nv_tegra_release
# R36 (release), REVISION: 4.4, GCID: 41062509, BOARD: generic, EABI: aarch64, DATE: Mon Jun 16 16:07:13 UTC 2025
# KERNEL_VARIANT: oot
TARGET_USERSPACE_LIB_DIR=nvidia
TARGET_USERSPACE_LIB_DIR_PATH=usr/lib/aarch64-linux-gnu/nvidia -
I have 4 cameras and need to encode each camera’s 1080p video stream into H.264 or H.265.
Therefore, I want to use the Orin Nano’s hardware encoding module for H.264/H.265 encoding to achieve fast encoding.
I tried to run 15_multivideo_encode on Orin Nano to verify encoding efficiency, but encountered the following error:
2.1). 15_multivideo_encode$ sudo ./multivideo_encode num_files 1 ./frame1080p.yuyv422 1920 1080 H264 test1.h264
Creating Encoder in blocking mode
Could not create encoder
Segmentation fault.
2.2). I looked at the sample code, and it failed to open /dev/nvhost-msenc and /dev/v4l2-nvenc. -
I checked the ORIN nano device:
3.1). The device does not have the driver nodes: /dev/nvhost-msenc and /dev/v4l2-nvenc.
3.2). The device only has the driver node: /dev/v4l2-nvdec. -
My goal is to utilize the hardware acceleration encoding capabilities of the Orin Nano for encoding all 4 camera streams simultaneously.
How can I properly generate the /dev/v4l2-nvdec node and use the hardware module for fast H.264/H.265 encoding?
Hi,
Orin Nano does not have hardware encoder. Please check the sample to use software encoder:
Software Encode in Orin Nano — NVIDIA Jetson Linux Developer Guide
And in gstreamer, you can use x264enc plugin.