hi,
I’m encountering an issue while working with DeepStream 6.3 and CUDA 12.2 in my pipeline. Specifically, I get the following error: Currently we only support RGBA color Format
To resolve this, I attempted to set the memory management to CUDA unified memory using the following code:
However, I ran into another issue when applying this solution: TypeError: object of type GstNvStreamMux does not have property nvbuf-memory-type
Has anyone experienced a similar problem or knows how to properly set the memory type for the GstNvStreamMux and nvvidconv elements?
I’m working on an NVIDIA T4 server and I’m trying to save detected faces. I’ve added nvvideoconvert and *‘filter’
nvvideoconvert = Gst.ElementFactory.make(“nvvideoconvert”, “nvvideoconvert”)
if not nvvideoconvert:
sys.stderr.write(" Unable to create nvvideoconvert \n")
caps1 = Gst.Caps.from_string(“video/x-raw(memory:NVMM), format=RGBA”)
filter1 = Gst.ElementFactory.make(“capsfilter”, “filter1”)
if not filter1:
sys.stderr.write(" Unable to get the caps filter1 \n")
filter1.set_property(“caps”, caps1)
I also set the memory type like this:
if not platform_info.is_integrated_gpu():
mem_type = int(pyds.NVBUF_MEM_CUDA_UNIFIED)
streammux.set_property(“nvbuf-memory-type”, mem_type)
nvvideoconvert.set_property(“nvbuf-memory-type”, mem_type)
if platform_info.is_wsl():
print(“using nvbuf_mem_cuda_pinned memory for nvvidconv1\n”)
vc_mem_type = int(pyds.NVBUF_MEM_CUDA_PINNED)
nvvideoconvert.set_property(“nvbuf-memory-type”, vc_mem_type)
else:
nvvideoconvert.set_property(“nvbuf-memory-type”, mem_type)
here’s how I’m linking the elements in the pipeline :