• Hardware Platform (GPU) GPU A30 • DeepStream Version 6.4 • TensorRT Version 10.0.0.6 • NVIDIA GPU Driver Version (valid for GPU only) 535.104.12 • Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description) Run the deepstream_test1_rtsp_in_rtsp_out.py
Can you tell us what kind of use case with video encoding you need to run on A30?
There are lots of GStreamer software encoder available. Plugins (gstreamer.freedesktop.org). You can modify the code to replace the nvv4l2h264enc with any software encoder as you like.
Thanks for the answer, my use case is an application whose input is rtsp, infer, tracker(send this meta with kafka for post analytics) and finally the output in rtsp format.
In the example, if I change the encoder with avdec_h264 from the Plugins (gstreamer.freedesktop.org) I have this error:
Sorry for the mistake, I tried a lot of encoders and I don’t know how I finally post that decoder.
nyway, I have the same error. Deepstream Version: 7.0
# Make the encoder
if codec == "H264":
encoder = Gst.ElementFactory.make("x264enc", "encoder")
print("Creating H264 Encoder")
h264parser = Gst.ElementFactory.make("h264parse", "h264-parser")
if not h264parser:
sys.stderr.write(" Unable to create h264 parser")
nvvidconv_postosd.link(caps)
caps.link(encoder)
encoder.link(h264parser)
h264parser.link(rtppay)
rtppay.link(sink)
Please make sure you are familiar with GStreamer before you start with DeepStream.
x264enc is a software encoder while “video/x-raw(memory:NVMM), format=RGBA” means the Nvidia hardware buffer. Please use “gst-inspect-1.0 x264enc” to check which capabilities the encoder can accept.
The problem is not the format, it is the caps. The “video/x-raw(memory:NVMM), format=NV12” is for the Nvidia hardware buffer. You need a software buffer.