[gst-devel] Visualization with Python
Timo
timovwb at gmail.com
Mon Sep 8 12:00:40 CEST 2008
Hey Eric,
Thanks for your answer, but I know near to nothing about C, so it's a
bit hard for me.
I think I didn't make myself that clear. I don't want to know when the
music stops or changes song. But the actual changes in the music (pitch,
frequency, etc.), just like a visualizer. But instead of changing colors
according to the music, I want to execute commands according to the music.
And all of this in Python.
Thanks,
Timo
Eric Zhang schreef:
> 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 <mailto: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=/
> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> <mailto:gstreamer-devel at lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> 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
>
More information about the gstreamer-devel
mailing list