Is there a way to get timestamp from a frame on rtsp stream from Nx server?
AnsweredHi.
I would like to know the way to get a timestamp for a frame on rtsp stream from Nx server.
Is there a way?
Kind Regards,
Makoto Ogata.
-
Hello,
The Server saves timestamps to RTSP streams. That means timestamps are there.
Getting those depends on the tools/libs you are using to pull an RTSP stream from the Server.
0 -
Hi Andrey Terentyev .
Thank you for your reply.
Could you share gstreamer script to get exact timestamp from RTSP stream ?
Kind Regards,
Makoto Ogata.
0 -
Makoto Ogata, we don't have such a script, unfortunately. I'll share some info on where to find the timestamp in the RTSP using Wireshark to give you a better understanding of what you should be looking for.
We use ONVIF RTP header extension. See ONVIF Streaming Specification Ver. 17.06 (6.3 RTP header extension)

Also, this information is available when you add ?onvif_replay=true to RTSP URL, e.g.:
rtsp://localhost:7001/c5f9762d-0156-44d9-eaa2-e1fbcf967aa6?onvif_replay=true
0
Please sign in to leave a comment.
Comments
3 comments