Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU): Tesla T4 • DeepStream Version: 6.4 • JetPack Version (valid for Jetson only) • TensorRT Version: 8.6.1.6-1+cuda12.0 • NVIDIA GPU Driver Version (valid for GPU only) • Issue Type( questions, new requirements, bugs): question
Hi,
How can I dynamically input MP4 videos from a specific directory into a DeepStream pipeline without reinitializing the pipeline? Additionally, I am looking for a solution to store all the processed videos separately with unique names. Any insights or examples on achieving this functionality would be highly valuable.
Thank you for replying to my question. I think I may not have stated my question clearly at the beginning. I modified RUNTIME SOURCE ADDITION DELETION REFERENCE APP USING DEEPSTREAMSDK 6.4 to dynamically add MP4 videos to the pipeline without restarting it. However, I’ve encountered an issue when attempting to create a unique sink for each video, aiming to store the processed videos separately. I would like to seek assistance in understanding if it is feasible to achieve this.
If your video segments is contiguous, you should have a look at gstreamer “concat” element. This element can give you smooth video concatenating like a live source
Can you explain this requirement? DeepStream works with batched videos after nvstreammux plugin, you can’t get separated sink for the designated video before you use nvstreamudemx to separate the batch videos. What do you mean by “create a unique sink for each video”?
My requirement is to create an API endpoint that takes an MP4 video file path in a POST request. The code will then download the video from a GCP bucket. Next, the video will be processed using the DeepStream pipeline, and each processed video will be stored in a separate directory [these processed videos needs to be uploaded to a GCP bucket. that’s why I need a separate sink for each processed video ]. The endpoint will also be set up to provide the prediction 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