I have created a custom plugin for gstreamer in python and it is working well in gstreamer pipeline. When I tried to use the same element in my deepstream pipeline, it is not working. Is there and way through which I can access NVMM buffer and modify it for my application using python.
You can try to add a nvvideoconvert
plugin to convert that.
I tried nvvideoconvert before and after the plugin but there is no effect on the output video. It looks like that my plugin is skipped from the pipeline and there is no error while executing.
Did you link the capsfilter after nvvideoconvert plugin, like deepstream_test_1_usb.py?
I used capsfilter but there is no change in the result. I am attaching my pipeline and its image. please look it out
pipeline.zip (517.8 KB)
So the dynamic_perspective_transform
is your plugin? Could you attach the log when link the plugin with GST_DEBUG=3
?
Yes, dynamic_perspective_transform is the custom plugin. Here is the log file
log_3.txt (13.6 KB)
Just from the log, there may be issues on your environment.
0:00:00.002284372 6557 0xaaab107c9cc0 WARN GST_PLUGIN_LOADING gstplugin.c:527:gst_plugin_register_func: plugin "/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/plugin/.libs/libgstpython.so" failed to initialise
Please provide complete information as applicable to your setup. Thanks
Hardware Platform (Jetson / GPU)
DeepStream Version
JetPack Version (valid for Jetson only)
TensorRT Version
NVIDIA GPU Driver Version (valid for GPU only)
Issue Type( questions, new requirements, 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)
Hardware Platform : NVIDIA Jetson Orin NX Developer Kit
DeepStream Version : DeepStream-6.3
JetPack Version : 5.1.2
TensorRT Version : 5.1.2
Issue Type: Issue in implementing my custom element ib Deepstream python pipeline
Requirement details : All other details about the plugin and sample application is mentioned above
Did you do the binding by refer to the bindings? Could you successfully run our demo test1?
I resolved this issue by reinstalling deepstream_python_apps and run the demo test1 and it passed but my initial issue is still the same. I am attaching the new log file with GST_DEBUG=3 ,
NEW_DEBUG.txt (13.3 KB)
What are you specifically referring to resolved this issue
and my initial issue
?
0:00:00.002284372 6557 0xaaab107c9cc0 WARN GST_PLUGIN_LOADING gstplugin.c:527:gst_plugin_register_func: plugin "/opt/nvidia/deepstream/deepstream-6.3/sources/deepstream_python_apps/3rdparty/gst-python/plugin/.libs/libgstpython.so" failed to initialise
i resolved the above issue by reinstalling deepstream_python_apps.
The main issue I am facing is that my custom plugin is not working in deepstream pipeline. It is detected and is shown in the pipeline Debug image but its impact is not seen in the results
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
So the pipeline can run normally, but the function you implemented has no effect. May be you can refer to some of our open source plugin. We have open source most of the plugin in our DeepStream 6.3 version.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.