• Jetson Nano B01
• DeepStream 5.1
• JetPack Version 4.5
• TensorRT Version 7.1.3
• Question type
• Requirement details: Save in a directory a video with bounding boxes after processed by deepstream test 2
Please make sure you have the basic gstreamer knowledge and development skills( GStreamer: open source multimedia framework) before you start with DeepSteam. You can save the nvdsosd output with filesink. It depends on you to decide which format should be used to save the output video.
There is sample code of deepstream-app, it can save the output video to mp4 or mkv files. Please refer to the document and source code DeepStream Reference Application - deepstream-app — DeepStream 6.1.1 Release documentation
Right, I understood.
So, what is the proposed implementation to slow down the video speed?
The best way is to slowdown the video source( E.G. if you use a camera to capture video, you can choose FPS as 10, 15, 30,… to capture the video, it can be set by your camera)
I mean to apply slow motion effect (each frame from a video file keeps with a higher period while video is running).
That means you need to change the video timestamp, you may need to write a new plugin which can buffering video frames, calculate new timestamps, insert new frames and dropping unnecessary frames so that it can generate a new video.