If it possbile to recive all element properties that a Element has? I can list the elements but I dont know (also after reading docs) how I can access the properties.
from gi.repository import Gst
Gst.init()
reg = Gst.Registry.get()
for x in reg.get_plugin_list():
print x.get_name(), x.get_version()
The goal is to convert the properties and the element information into a json format like:
{
"name": <plugin-name>,
"version": <plugin-version>
"properties": {
"<property-key>": {
"desc": <propertie-desc>,
"value": <propertie-value>,
"data-type": <propertie-type>,
}
}
}
Thank you Guys