![]() |
Party Animal: GStreamer music visualisation!
The power of Maemo - now as a party animal!
Another hidden gem discovered: Thanks to the inbuilt GStreamer multimedia framework, I was able to get music visualisation on my N900 :D This also works using TV-Out, so once built into a suitable media player, I guess the N900 can become the center of any party :cool: http://farm3.static.flickr.com/2747/...9f134030_o.jpg I also uploaded a short video on YouTube (read the disclaimer about flickering TV - it's my cam, not the N900...) Here is the pipeline I used: Code:
gst-launch filesrc location=/media/mmc1/universe.mp3 ! decodebin ! audioconvert ! tee name=myT myT. ! queue ! pulsesink myT. ! queue ! goom ! ffmpegcolorspace ! xvimagesink |
Re: Party Animal: GStreamer visualisation!
There is already such a plugin for MediaBox buried somewhere deep in my drawer. Time to get it cleaned up and integrated into MediaBox. :)
|
Re: Party Animal: GStreamer visualisation!
Nice, i'll loving that "phone".
Is it possible to use all visualizations which are available for the normal gstreamer, or does it only work with this one? Of course the is a limitation of Hardware |
Re: Party Animal: GStreamer visualisation!
Quote:
http://farm3.static.flickr.com/2721/...d2cff48955.jpg (sorry for the image quality, but it's not possible to take on-device screenshots in this mode) Coolest thing is to attach Monoscope directly to the Microphone to get real-time voice/microphone waveform analysis: Code:
gst-launch pulsesrc ! audioconvert ! tee ! queue ! monoscope ! ffmpegcolorspace ! xvimagesink Anybody to hook up a signal through the mic line-in? The power of Maemo :D |
Re: Party Animal: GStreamer visualisation!
@twaelti, awesome idea about the signal input. Wonder if this would work http://xoscope.sourceforge.net/
|
Re: Party Animal: GStreamer visualisation!
Works on my Ubuntu box too :-D
Same command line on my pc and on my phone is "the new era" ... |
Re: Party Animal: GStreamer music visualisation!
dude....i dint understand.....can u tell me in detail how to install those visualisation....sorry for my bad english....thanks in advance
|
Re: Party Animal: GStreamer visualisation!
Are these easter eggs in the phone or are you downloading something from somewhere? The way I understand it, I can now have visualisation with all my music files is that correct?
|
Re: Party Animal: GStreamer visualisation!
As root:
Code:
apt-get install gstreamer0.10-plugins-good |
Re: Party Animal: GStreamer visualisation!
Someone should port Libvisual to Maemo :)
|
Re: Party Animal: GStreamer visualisation!
Quote:
TIA |
Re: Party Animal: GStreamer visualisation!
You need gst-tools from extras-devel for gst-launch.
|
Re: Party Animal: GStreamer visualisation!
Quote:
Code:
apt-get install gstreamer0.10-plugins-good-extra |
Re: Party Animal: GStreamer visualisation!
Thanks twaelti!
I do have some questions regarding performance and using the nokia's audio output to create the visualization. Performance: I've noticed that the visualizer doesn't tax the CPU much at all but I still got poor framerates. I assume this either means there's a bottleneck with the speed of memory or the speed of the DSP. I've tried clocking the DSP to very high frequencies but can't see a performance change (the framerate still drops low sometimes). Have you messed with performance? Note: I notice that on the commandline it mentions /home/user not being "ours", I assume this means it's not available. Can we specify a folder that is available to it? Source Audio: I'm really enjoying using the microphone as the input to the visualizer but might like to use the device's own output at some point. I've tried specifying the output with Code:
pulsesrc device=alsa_output.hw_0.monitor |
Re: Party Animal: GStreamer visualisation!
Hello, any news about the plugin for MediaBox? :)
|
Re: Party Animal: GStreamer visualisation!
Quote:
Code:
pactl list | grep monitor And sink.music.monitor will get you exclusively the output of the built-in mediaplayer. However, remember to get rid of the pulsesink output, otherwise you'll just get a bunch of echoing as it tries to play back the output to the same device: Code:
gst-launch pulsesrc device=sink.hw0.monitor ! audioconvert ! goom ! ffmpegcolorspace ! xvimagesink |
All times are GMT. The time now is 01:12. |
vBulletin® Version 3.8.8