Hi @fischerabati
Please move to DS 5.0. With DS5.0, you can use appsrc to feed data into gstreamer with appsrc and pass the data to nvvideoconvert to convert the data to nvmm buffer so that it can be accepted by nvstreammux, you can wrap this in the application.
Thanks!