Deepstream python modify message timestamp format

Hi,

I’m working with deepstream python 5.1 test4, and I want to change the timestamp format to unix time, for example, 1626370468.
The default timestamp format is like %Y-%m-%dT%H:%M:%S.%.3dZ, defined in pyds.so.
How can I modify the format?

Thanks.

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• 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)

Hi @bcao ,

We are using docker container with tag 5.1-21.02-devel on dGPU server.

• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 5.1
• TensorRT Version 7.2.2
• NVIDIA GPU Driver Version (valid for GPU only) 460.84
• Issue Type( questions, new requirements, bugs) question

User would need to come up with a string for the format they need and put it in the timestamp buffer - nvds event message data.
FYI - We will be open sourcing the bindings in an upcoming release.

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