How to get the raw compressed frame data before it goes into smart record module

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) GTX 1650 Ti
• DeepStream Version 6.0.1
• JetPack Version (valid for Jetson only)
• TensorRT Version 8.0.1
• NVIDIA GPU Driver Version (valid for GPU only) R470.63.01
• Issue Type( questions, new requirements, bugs) new requirement
• Requirement details
Hi, I am trying to access the raw compressed frames/video data just before it is sent to the Smart Recording Module. Can anyone help me how to acheive that. My main target is to access the size of the compressed frames to trace the Iframe in the input RTSP stream.

@Amycao Can you please help in finding a solution ?

What do you mean by Smart Recording Module?
Could you attach your pipeline?

@yuweiw
I am talking about the Smart Record feature. Refer to this page -
https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Smart_video.html
I wanted to know how I can get compressed frame meta data after the tee (from where the smart recording module takes the raw data). In meta data I mainly need the frame size(to track the IFrame) and the timestamp associated with that frame.

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

You can get the size from gstbuffer, you can refer the gstreamer guide:
https://gstreamer.freedesktop.org/documentation/gstreamer/gstbuffer.html?gi-language=c

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