GST_BUFFER_TIMESTAMP in gst-python: DTS/PTS and how to cast in Python?
I'm trying to translate Basic Tutorial 8 from C to Python (to understand the mapping between APIs and learn Gstreamer in Python). I have two issues:
- I'm not 100% sure which timestamp (Presentation TimeStamp PTS OR Decoding TimeStamp DTS) is accessed through GST_BUFFER_TIMESTAMP. I found this in the docs which implies it's the PTS but it says it's old deprecated code and shouldn't be used, so why would it be on a tutorial?
- I can't find a corresponding function in the python docs (this page is empty) or the gst-python sub-project repo in gitlab or even the PyGObject API Reference.
Any hints?
Edited by Pieris Kalligeros