Frame = pyds.get nvds buf_surface(bash(gst buffer), frame meta.batch id)RuntimeError: get nvds buf_Surface: Currently we only support RGBA color Forma

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU)**Jetson
• DeepStream Version 5.0
**• JetPack Version (valid for Jetson only)**4.6
• TensorRT Version 7.1.3.0
• NVIDIA GPU Driver Version (valid for GPU only)
**• Issue Type( questions, new requirements, bugs)**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)

在tiler_src_pad_buffer_probe中报以下错frame = pyds.get nvds buf_surface(bash(gst buffer), frame meta.batch id)RuntimeError: get nvds buf_Surface: Currently we only support RGBA color Format,但是在osd_sink_pad_buffer_probe同样的代码没有报错?这是为什么?

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

You need to add nvvideoconvert and capsfilter before tiler. The following is the reference code.

    print("Creating nvvidconv1 \n ")
    nvvidconv1 = Gst.ElementFactory.make("nvvideoconvert", "convertor1")
    if not nvvidconv1:
        sys.stderr.write(" Unable to create nvvidconv1 \n")
    print("Creating filter1 \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)

Please discuss in English, thanks.

ok ,thanks。

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