How to address GstMeta Object in python
Edgar Thier
edgar.thier at theimagingsource.com
Mon Apr 20 05:36:48 UTC 2020
Hi all,
How can I get the Information in a custom GstMeta object in python?
I can get the base class with:
meta = gst_buffer.get_meta("StatisticsMeta")
print(type(meta) # returns <class 'gi.repository.Gst.Meta'>
But how do I convert it to my derived class?
Is there a introspection method i can call to have it be done automatically?
Do I have to write a custom introspection wrapper?
Using ctypes should not be possible since that would require a mixture of
ctypes and existing python classes (in this case Gst.Meta).
Thanks for any help, pointers to documentation or tutorials.
Regards,
Edgar
More information about the gstreamer-devel
mailing list