Missing nvv4l2h264enc Plugin After Installing GStreamer on Jetson

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Jetson
• DeepStream Version 6.3
• JetPack Version (valid for Jetson only) 5.1.3 [L4T 35.5.0]
• 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)

deepstream-app -c source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt

** ERROR: <create_encode_file_bin:387>: Failed to create 'sink_sub_bin_encoder1'
** ERROR: <create_encode_file_bin:506>: create_encode_file_bin failed
** ERROR: <create_sink_bin:831>: create_sink_bin failed
** ERROR: <create_processing_instance:956>: create_processing_instance failed
** ERROR: <create_pipeline:1576>: create_pipeline failed
** ERROR: <main:697>: Failed to create pipeline
Quitting
nvstreammux: Successfully handled EOS for source_id=0
nvstreammux: Successfully handled EOS for source_id=1
nvstreammux: Successfully handled EOS for source_id=2
nvstreammux: Successfully handled EOS for source_id=3
App run failed

Steps I’ve Already Tried:
Installed GStreamer: I installed GStreamer and related plugin packages using the standard apt-get commands.
Checked for the Plugin: I used gst-inspect-1.0 nvv4l2h264enc to check if the plugin was available, but it reported that the plugin does not exist.
Verified NVIDIA Video4Linux2 Elements: I ran gst-inspect-1.0 nvvideo4linux2 and confirmed the presence of other NVIDIA Video4Linux2 elements.
Installed NVIDIA Plugins: I made sure that the nvidia-l4t-gstreamer package is installed, but the issue persists.
Set Environment Variables: I verified that GST_PLUGIN_PATH includes the /usr/lib/aarch64-linux-gnu/gstreamer-1.0/ directory.
Rebooted the System: I rebooted the system and checked again, but the problem remains.

Specific Issue:

Due to the missing nvv4l2h264enc plugin, when I run the deepstream-app, I encounter the error “Failed to create ‘sink_sub_bin_encoder1’”.

I would like to know how to properly install the nvv4l2h264enc plugin, or if there are any other configurations or steps I should be aware of.

I guess you do not install Deepstream SDK properly. I think you should try nvcr.io/nvidia/deepstream:6.3-samples.

Please follow Quickstart Guide — DeepStream 6.3 Release documentation to install DeepStream 6.3

Thank you for the suggestion. I have followed the Quickstart Guide for DeepStream 6.3 and ensured that all the steps were correctly executed. However, the issue still persists.

What is your Jetson board? AGX Orin, Orin NX or Orin Nano?

Orin NX

How did you install the JetPack 5.1.3? have you installed the multimedia modules?

The deepstream-app requires sudo to run properly;
However, other devices with nvv4l2h264enc: V4L2 H.264 Encoder can run without needing sudo.

Yes. The default /opt/nvidia/deepstream/deepstream/ folder need “root” privilege. You can change the folder access privilege to make the app R/W with other accounts.

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

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