Accessing gstreamer timestamp from python

Letty letizia.mariotti at
Wed Mar 31 16:16:46 UTC 2021

Hi all, I am a beginner with gstreamer!

I successfully managed to create a gstreamer pipeline to read frames into
Python using OpenCV cv2.VideoCapture.
I understand that gstreamer has a buffer through which it is possible to
read the timestamp at which the current frame was taken, but it is not clear
to me if it is possible to access this information through python and how.

For completeness, this is my gstreamer pipeline:

which then I call through VideoCapture

Sent from:

More information about the gstreamer-devel mailing list