How to save composer output video (object detection, deepstreamtest1)

**• Hardware Platform: GPU A4000
**• DeepStream Version 7.1
**• NVIDIA GPU Driver Version: CUDA

I am trying to run a pipeline which is the deepstream test 1 and save the output (with the bounding boxes and so on) as an mp4 video. I changed the render node to a sink node and still it will not save properly, it’ll save as a 0 kb video which is obviously wrong.


Please choose video file output sink to replace the video render sink.

Please check and set the properties with the video file output sink extension by click the block, the properties setting tab will appear in the right side of the window. Please refer to NvDsOutputSinkExt — DeepStream documentation for the meaning of the properties.

Thank you this works. Is there a way o blur or zoom into videos/pictures on graph composer as well?

What kind of blur or zoom? The NvDsConverterExt — DeepStream documentation extension can be used for video scaling.

I’m looking for something that will zoom into a picture/video when a certain object is detected

And also how would i implement it into deepstreamtest1

I added the node to the deepstreamtest2 project, it doesn’t do anything to the video and doesnt have any properties to edit

Do you mean you want to zoom the detected objects into full frame and display?

Yes that is what I mean

What is the whole pipeline? How many streams will be the input of the pipeline? Will you display all objects detected or just one of them when there are several objects found by the pipeline?

the pipeline is deepstreamtest2, it is only 1 stream, I want to try both. I want to display all objects detected and also take a look at displaying just one object when there are several objects found

Graph Composer does not support such functions.

Would it be possible to create a custom plugin using python to make these features available (zoom in and blur effect)

What kind of plugin do you mean? A customized DeepStream plugin?

Yes this is what I mean

Since your requirement is to transfer the video content. We don’t have such sample.

DeepStream is based on GStreamer. Theoretically you can develop a GStreamer plugin with python. Writing GStreamer Plugin with Python | by Jason Kim | Medium. Perhaps you need to binding some DeepStream APIs by yourself according to your requirement. Please google by yourself.

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

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