jackersson / gst-python-plugins

42 stars 12 forks source link

Pipeline fails when setting property #7

Open imneonizer opened 3 years ago

imneonizer commented 3 years ago

This works

gst-launch-1.0 videotestsrc ! gstplugin_py ! autovideosink

This doesn't works

gst-launch-1.0 videotestsrc ! gstplugin_py int-prop=1 ! autovideosink

Error

sys:1: Warning: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(gst-launch-1.0:75): GStreamer-CRITICAL **: 13:28:26.581: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed
**
ERROR:./grammar.y:646:gst_parse_perform_link: assertion failed: (GST_IS_ELEMENT (sink))
Aborted (core dumped)
jackersson commented 3 years ago

Hi,

This is related to package installation, - something is missing.

Try to run another implementation of this plugin: gstplugin_py. What's the output?

Make sure Python Bindings are being installed according to guidelines.

Hope this helps!