H.264 RTSP Absolute TIMESTAMP (RTSPSRC)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

H.264 RTSP Absolute TIMESTAMP (RTSPSRC)

agrifoni
Is it possible to read an absolute timestamp (presentation time) from an H.264 stream sent trough RTSP (for example from an Axis camera) using RTSPSRC

The pipeline I'm currently using is:

gst-launch rtspsrc location=rtsp://<camera_ip>/axis-media/media.amp  latency=0 ! decodebin ! ffmpegcolorspace ! autovideosink

and I would like to read (and propagate) the timestamp from rtspsrc, and maybe, for example display it over the video.

The timestamp I'm referring to is the one calculated through RTCP packets and inserted directly by the camera in the stream. This since I would to know when the frame has been taken by the camera.

Thanks
Andrea