[gst-devel] Visualization with Python
Timo
timovwb at gmail.com
Sun Sep 7 15:29:11 CEST 2008
Hello, I'm looking for a way to execute commands when music changes.
Like visualizations in music players, but instead of changing weird
lines on the screen, I want to do things.
Now I found out about playbin, but I can't get this to work, and can't
find that much documentation about the subject with Python.
This is a bit that I could figure out, but can't get any further:
pipeline = gst.element_factory_make('playbin', 'playbin')
vis = gst.element_factory_make("goom")
pipeline.set_property('vis-plugin', vis)
And if this is possible, can this also be done without writing a plugin
for a music player? But just use my own program and use the soundcard or
something to hear the sounds? This way I don't have to write a plugin
for a couple of players but just use my own GUI.
Thanks in advance,
Timo
More information about the gstreamer-devel
mailing list