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

From: Terje Bergström terje at terje.fi
Date: Tue May 1 20:21:32 EEST 2007
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

More information about the maemo-users mailing list