GStreamer pipeline takes 2 minutes to start? NVENC HW engine?

Hi,
The gstreamer pipeline takes about 2 minutes to start on Neousys NRU220s, which is ARM machine + NVidia Jetson AGX Orin GPU.

The nvv4l2h264enc plugin in the pipeline is most likely the source of the issue.

When running jtop I found the NVENC HW engine to be off. Only after the gstreamer pipeline in the video encoder starts running the NVENC will switch on. Starting the same gstreamer pipeline a second time, after the NVENC engine is running, will take only a few seconds.

gst-launch-1.0 videotestsrc ! "video/x-raw,format=BGRx,framerate=25/1,width=1920,height=1080" ! nvvideoconvert nvbuf-memory-type=4 bl-output=true compute-hw=2 ! "video/x-raw(memory:NVMM),format=NV12,framerate=25/1,width=1920,height=1080" ! nvv4l2h264enc bitrate=4000000 profile=0 idrinterval=15 output-io-mode=2 ! h264parse ! fakesink dump=true

Is this expected.
How to deal with the issue?

Hi,
We support jetson_multimedia_api and gstreamer. Please make sure you have checked the document:
https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/SD/Multimedia.html
https://docs.nvidia.com/jetson/archives/r36.3/ApiReference/index.html
There are some examples in

Q: Is there any example of running RTSP streaming?
Q: Is there an example for running UDP streaming?
Q: I have a USB camera. How can I launch it on AGX Orin?

For further issues, please share a method to replicate the issue through gstreamer command, or either sample. We will set up developer kit and check.

Thanks!

Hi,
We don’t observe the issue on AGX Orin developer kit. Please try the items and see if it helps:

  1. run $ sudo jetson_clocks
  2. set the property to nvv4l2h264enc
  maxperf-enable      : Enable or Disable Max Performance mode
                        flags: readable, writable, changeable only in NULL or READY state
                        Boolean. Default: false

And would suggest consult with the vendor to see if they have new release. Our latest release is Jetpack 6.1.

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