maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Party Animal: GStreamer visualisation! (https://talk.maemo.org/showthread.php?t=34717)

twaelti 2009-11-18 20:29

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
I hope for the inbuilt media player, Media Box, Canola or Vagalume to soon feature great visualisations on the N900 ...

pycage 2009-11-18 21:30

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. :)

slaxium 2009-11-18 21:42

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

twaelti 2009-12-08 20:04

Re: Party Animal: GStreamer visualisation!
 
Quote:

Originally Posted by slaxium (Post 381384)
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

Sorry for the late reply, but missed your post. But good news: I've played around a bit more, and the two other things that I found are "monoscope" and "spectrum". Hadn't much success with Spectrum, but Monoscope works well!

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
Try whistling at higher frequencies and watch the wavelength shrink...
Anybody to hook up a signal through the mic line-in?

The power of Maemo :D

nashith 2009-12-08 20:49

Re: Party Animal: GStreamer visualisation!
 
@twaelti, awesome idea about the signal input. Wonder if this would work http://xoscope.sourceforge.net/

vinz486 2010-01-17 23:52

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" ...

DUDEXYZ 2010-09-12 12:59

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

AgentZ 2010-09-13 20:28

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?

MohammadAG 2010-09-13 21:11

Re: Party Animal: GStreamer visualisation!
 
As root:
Code:

apt-get install gstreamer0.10-plugins-good
then run the command he posted in the first post.

allnameswereout 2010-09-13 21:26

Re: Party Animal: GStreamer visualisation!
 
Someone should port Libvisual to Maemo :)


All times are GMT. The time now is 22:02.

vBulletin® Version 3.8.8