This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-TDA4VM: How to make named custom named gst node in python and avoid parse error in Gst.parse_launch

Part Number: SK-TDA4VM
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