<div dir="ltr">Hi, Timo:<br><br> If you don't mind trying playbin2, I know that it will emit signal `about-to-finish' while changing the playing stuffs to next. You can connect this signal and do works you want. Playbin hasn't this signal yet. Refer to <gst-plugin-base>/gst/playback/gstplaybin2.c for more details.<br>
<br>Eric<br><br><div class="gmail_quote">2008/9/7 Timo <span dir="ltr"><<a href="mailto:timovwb@gmail.com">timovwb@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello, I'm looking for a way to execute commands when music changes.<br>
Like visualizations in music players, but instead of changing weird<br>
lines on the screen, I want to do things.<br>
Now I found out about playbin, but I can't get this to work, and can't<br>
find that much documentation about the subject with Python.<br>
This is a bit that I could figure out, but can't get any further:<br>
pipeline = gst.element_factory_make('playbin', 'playbin')<br>
vis = gst.element_factory_make("goom")<br>
pipeline.set_property('vis-plugin', vis)<br>
<br>
<br>
And if this is possible, can this also be done without writing a plugin<br>
for a music player? But just use my own program and use the soundcard or<br>
something to hear the sounds? This way I don't have to write a plugin<br>
for a couple of players but just use my own GUI.<br>
<br>
<br>
Thanks in advance,<br>
<br>
Timo<br>
<br>
-------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<br>
Build the coolest Linux based applications with Moblin SDK & win great prizes<br>
Grand prize is a trip for two to an Open Source event anywhere in the world<br>
<a href="http://moblin-contest.org/redirect.php?banner_id=100&url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>