Jetson Orin NX: gstreamer video encoding module nvv4l2h264enc not working

We fail to get the deepstream module nvv4l2h264enc working in a gstreamer pipeline. The pipeline is running inside a container on a Advantech ICam-540 smart camera.

gst-launch-1.0 videotestsrc ! nvvideoconvert ! nvv4l2h264enc ! fakesink


Pipeline is PREROLLING …
Redistribute latency…
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4

*** Unable to set device in gst_nvvideoconvert_transform Line 3466
0:00:10.756562461 207 0xffff88000b90 ERROR nvvideoconvert gstnvvideoconvert.c:4260:gst_nvvideoconvert_transform: Set Device failed
ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data stream error.
Additional debug info:
…/libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
streaming stopped, reason error (-5)
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to NULL …
Freeing pipeline …

Using this pipeline works:
gst-launch-1.0 videotestsrc ! nvvideoconvert ! x264enc ! fakesink

I assume some problem with visibility or permission of devices inside the container. On the host system (smart camera) directly the hardware accelerated veriosn of the 264enc module works.
What could be the reason? What to check next?

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)

The device you are using may not support hardware encoding.

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.