Is there a way to get timestamp from a frame on rtsp stream from Nx server?

Answered

Comments

3 comments

  • Avatar
    Andrey Terentyev

    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
    Comment actions Permalink
  • Avatar
    Makoto Ogata

    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
    Comment actions Permalink
  • Avatar
    Tagir Gadelshin

    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
    Comment actions Permalink

Please sign in to leave a comment.