How to get a filename of smart recorded videos in python?

Continuing the discussion from DeepStream SDK FAQ:

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) - Jetson Nano
• DeepStream Version - 6.0.1
• JetPack Version (valid for Jetson only) - 4.6.1
• TensorRT Version - 8.2
• NVIDIA GPU Driver Version (valid for GPU only) - 10.2
• Issue Type( questions, new requirements, bugs)

How to get a filename of smart recorded videos in python?

• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)

• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I need to upload the stored videos to s3 bucket, so I need filename of recorded video.

currently the whole filename is generated by low level. only smart-rec-file-prefix
parameter is open. for example, Smart_Record_00000_20231102-022215_9426.mp4.

I don’t want to rename the file; I simply need to retrieve the file name because I require it to upload the recorded clip to the cloud.

currently there is no interface to get the full file name. here a workaround. you can use smart-rec-dir-path property to set recording directory. then loop the files in the directory to get the full file name.

Ok Sir, Thank you So much

How to change resolution of smart record videos?

duplicate with How to set resolution and bitrate in smart record?

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