Go Back   maemo.org - Talk > OS / Platform > Maemo 5 / Fremantle
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2009-11-18, 20:29
twaelti twaelti is offline
 
Join Date: Jul 2007
Location: Bern, Switzerland
Posts: 883
Thanks!: 1,132
Thanked 980 Times in 337 Posts
Cool 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 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



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 ...
__________________
-Tom (N900, N810, N800)

"the idea of truly having a computer in your pocket just moved a big step closer."

Last edited by twaelti; 2009-11-18 at 20:38.
Reply With Quote
  #2  
Old 2009-11-18, 21:30
pycage's Avatar
pycage pycage is offline
 
Join Date: Oct 2005
Location: Germany
Posts: 3,404
Thanks!: 2,562
Thanked 4,474 Times in 1,452 Posts
Default 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.
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
Reply With Quote
The Following 4 Users Say Thank You to pycage For This Useful Post:
  #3  
Old 2009-11-18, 21:42
slaxium slaxium is offline
 
Join Date: Nov 2009
Posts: 48
Thanks!: 15
Thanked 15 Times in 7 Posts
Default 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
Reply With Quote
  #4  
Old 2009-12-08, 20:04
twaelti twaelti is offline
 
Join Date: Jul 2007
Location: Bern, Switzerland
Posts: 883
Thanks!: 1,132
Thanked 980 Times in 337 Posts
Default Re: Party Animal: GStreamer visualisation!

Quote:
Originally Posted by slaxium View Post
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!


(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
__________________
-Tom (N900, N810, N800)

"the idea of truly having a computer in your pocket just moved a big step closer."
Reply With Quote
The Following 6 Users Say Thank You to twaelti For This Useful Post:
  #5  
Old 2009-12-08, 20:49
nashith nashith is offline
 
Join Date: Sep 2009
Location: Maldives
Posts: 226
Thanks!: 336
Thanked 63 Times in 35 Posts
Default Re: Party Animal: GStreamer visualisation!

@twaelti, awesome idea about the signal input. Wonder if this would work http://xoscope.sourceforge.net/
Reply With Quote
  #6  
Old 2010-01-17, 23:52
vinz486 vinz486 is offline
 
Join Date: Jan 2010
Posts: 18
Thanks!: 3
Thanked 2 Times in 2 Posts
Default 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" ...
Reply With Quote
  #7  
Old 2010-09-12, 12:59
DUDEXYZ DUDEXYZ is offline
 
Join Date: Sep 2010
Posts: 44
Thanks!: 12
Thanked 7 Times in 6 Posts
Default 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
Reply With Quote
  #8  
Old 2010-09-13, 20:28
AgentZ AgentZ is offline
 
Join Date: Apr 2010
Location: Planet Earth for now!
Posts: 139
Thanks!: 48
Thanked 20 Times in 14 Posts
Send a message via Skype™ to AgentZ
Default 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?
Reply With Quote
  #9  
Old 2010-09-13, 21:11
MohammadAG's Avatar
MohammadAG MohammadAG is offline
 
Join Date: Oct 2009
Location: Jerusalem, PS/IL
Posts: 2,473
Thanks!: 1,091
Thanked 12,265 Times in 1,478 Posts
Send a message via MSN to MohammadAG Send a message via Skype™ to MohammadAG
Default 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.
Reply With Quote
The Following User Says Thank You to MohammadAG For This Useful Post:
  #10  
Old 2010-09-13, 21:26
allnameswereout's Avatar
allnameswereout allnameswereout is offline
 
Join Date: Jul 2008
Location: Netherlands
Posts: 3,397
Thanks!: 1,762
Thanked 1,212 Times in 748 Posts
Default Re: Party Animal: GStreamer visualisation!

Someone should port Libvisual to Maemo
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:20.