[gst-devel] Visualization with Python
Eric Zhang
nicolas.m.zhang at gmail.com
Mon Sep 8 03:19:09 CEST 2008
Hi, Timo:
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.
Eric
2008/9/7 Timo <timovwb at gmail.com>
> 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
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080908/902c2428/attachment.htm>
More information about the gstreamer-devel
mailing list