I run deepstream-audio sample app (sound classification) successfully, it works fine and prints ouput classes/lables to Terminal. Both deepstream-audio and deepstream-app read the same input RTSP, but deepstream-audio outputs classes to Terminal, deepstream-app outputs image and box to OSD.
I want to merge results of two above apps into only one OSD of deepstream-app. How to do that?
Thank you very much.
• Hardware Platform (Jetson / GPU) Jetson • DeepStream Version 6.2 • JetPack Version (valid for Jetson only) 5.1.1 • TensorRT Version 8.6 • Issue Type (questions, new requirements, bugs) questions
Thank for your reply,
I just want to draw theclasses/lables classified by deepstream-audio at the top right corner (yellow rectangle), background is still output OSD of deepstream-app.
It is the same below image.
Thank you for your support, I can see osd_sink_pad_buffer_probe function to draw a text on the video, it’s OK. But deepstream-audio (in \opt\nvidia\deepstream\deepstream-6.2\sources\apps\sample_apps\deepstream-audio\ folder) and deepstream-app are separate two pipelines. The output lables/classes of deepstream-audio is shown on Terminal now. Is there any way to push the lables/classes of deepstream-audio to osd_sink_pad_buffer_probe funtion of deepstream-app? The last purpose is to run deepstream-app and deepstream-audio having the same input rtsp source and to output results in the one OSD.
So your scenario is the media that contains both video and audio. During the video playback, the inference results of the audio can be displayed on the video. Is that right?
Yes, that’s right. I have an idea that is implementation of both audio pipeline (using nvinferaudio) and video pipeline (using nvinfer) in a one source code then using multithreading in C/C++ (one thread for audio pipeline, and one thread for video pipeline) after that I attach the inference results of the audio pipeline to video using osd_sink_pad_buffer_probe like above. Is it OK? Do you have any recommandation? Thank you.
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