Other Parts Discussed in Thread: TDA4VM
Tool/software:
Hi,
I have been experimenting in python with gstreamer with
class MyTransform(GstBase.BaseTransform):
__gstmetadata__ = ('MyTransform Python','Transform',
'MyTransform gst-python element that can modify the buffer gst-launch-1.0 ...', 'dkl')
__gsttemplates__ = (Gst.PadTemplate.new("src",
Gst.PadDirection.SRC,
Gst.PadPresence.ALWAYS,
Gst.Caps.new_any()),
Gst.PadTemplate.new("sink",
Gst.PadDirection.SINK,
Gst.PadPresence.ALWAYS,
Gst.Caps.new_any()))
GObject.type_register(MyTransform)
__gstelementfactory__ = ("MyTransform", Gst.Rank.NONE, MyTransform)
pipeline = Gst.parse_launch('MyTransform ! ')
...
I cannot figure out how to make a new named custom Transform node be recognized by Gst.parse_launch I always get a parse error.
Is there an example of this working for TDA4VM?
Any information you can provide would be much appreciated