Error when launching pipeline: TegraV4L2_Open for ENCODER failed

I have a basic pipeline that goes

h264parse | nvv4l2decoder | nvvideoconvert | capsfilter | x264enc

which normally works fine. However after some time I start seeing this error when starting a gstreamer pipeline:

TegraV4L2_Open for ENCODER failed: Resource temporarily unavailable
Failed to query video capabilities: Invalid argument
libv4l2: error getting capabilities: Invalid argument

Every time I try to start a pipeline, and the issue doesn’t resolve until the process is restarted. I can’t tell which element is causing the issue (we don’t use nvv4l2h264enc); and it’s not straightforward to catch this error.

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU): GPU
• DeepStream Version: 6.1.0
• JetPack Version (valid for Jetson only) n/a
• TensorRT Version: 11.6-
• NVIDIA GPU Driver Version (valid for GPU only): 510.85.02
• Issue Type( questions, new requirements, bugs) bug
• 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) Just looking for information on what component could be causing this issue and how to detect it.
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

could you share the whole logs? did you start a new pipeline?

what is your host device model? arm or x86? and can you try a new camera because “TegraV4L2_Open for ENCODER failed” is low level exception.


The device in question is a NVIDIA RTX A2000 12GB on x86. We have multiple cameras connected to the device (differing pipelines), and they all fail with the same error; the only solution is to restart the process.

Sometimes it can take some time to hit this error; for example the error began occuring after the process was running for a week; after which starting any new pipeline creates this error.