[maemo-users] gcompris port to Maemo --- help needed with gstreamer

From: Vladislav Grinchenko vladislav.grinchenko at comtechtel.com
Date: Tue May 1 20:53:48 EEST 2007


gst-launch-0.10 firesrc location=FNAME.mp3 ! dspmp3sink

that works for me except that it requires synchronous I/O to play mp3s


On Tue, 2007-05-01 at 20:21 +0300, Terje Bergström wrote:
> Hi,
> I have tried to port gcompris (educational games suite for kids) to maemo. The 
> basic functionality kind of works, and I have packaged the software into 
> debian packages. It requires libgnomecanvas from 
> http://maemo.org.br/platform/apt. Just add
> deb http://www.maemo.org.br/platform/apt mistral user
> deb-src http://www.maemo.org.br/platform/apt mistral user
> to your sources.list and install libgnomecanvas2, libgnomecanvas2-common and 
> libgnomecanvas2-dev. The server doesn't seem to be responding now, but 
> hopefully soon it will.
> The gcompris code itself is in http://garage.maemo.org/projects/gcompris. I 
> haven't uploaded binary packages yet, so you'll need to build it from svn.
> One major problem is still audio. Most of gcompris' audio is in ogg vorbis 
> format. This is a problem, as N800 does not support ogg vorbis, so I 
> converted all audio to mp3's. As gcompris uses SDL to play audio, mp3's need 
> something else to be played. 
> I tried to make gcompris use gstreamer for playback, but it seems that I just 
> can't get the pipeline right. If anyone could give me a hand and look at the 
> code in svn:
> https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/gcompris/src/gcompris/gstplayer.c?root=gcompris&view=markup
> The idea is that sdlplayer_fx() and sdlplayer_music() start playing sound and 
> don't return before sound has been completed. Currently no sound starts 
> playing and the function never returns.
> Thanks for any help!
> Best regards,
> Terje
> _______________________________________________
> maemo-users mailing list
> maemo-users at maemo.org
> https://maemo.org/mailman/listinfo/maemo-users

More information about the maemo-users mailing list