View Full Version : Greenphone audio/video

12th January 2007, 11:11
Greeenphone SDK light (4.1.7) does not support mediaplayer. But it seems that community SDK does have that facility.
1. Is it possible to take mediaserver source code and libraries from community SDK and port it to greenphone sdk? Will there be any llicensing issues? (ofcourse not for commercial use)

2. I have tried to put Qplay (3rd party application availbale from Qtopia net) in greenphone sdk? The application compiles and launches well but when I try to play a wav file ( other formats not supported) it gives error ErrOpeningAudioDevice. I am not sure what is wrong as greenphone release note say it does support wav files?

3. Is it possible to use any 3rd party player for example, Helix player with greenphone sdk and hardware? I believe Helix is preintegrated with greenphone but for some reason it is not a part of SDK light version.

Highly appreciate your comments. Thank you.

19th January 2007, 10:12
I haven't seen any of the SDKs but if they are both under GPL, then there shouldn't be any licence clashes.

21st January 2007, 23:47
You would need to download the cayenne branch of the helix gpl sources, put them at src/3rdparty/libraries/helix and configure with helix

2nd February 2007, 05:41
Thank you for your answers.
I have follwed the instructions given in the qtopia.net FAQ for Helix.
The source code is downloded and I am trying to configure for helix.
I used following command
configure -helix -helix-system-id linux-2.2-libc6-gcc32-i586

the HELIX test is OK but when the script fails while running qmake.
The output is
The following default/detected values have been used:
-edition 'phone'
-platform 'linux-g++'
-xplatform 'linux-generic-g++'
-arch 'i386'
-image '/Qpkgs/qtopia-opensource-4.2.0/image'
-prefix '/Qpkgs/qtopia-opensource-4.2.0/image'
-launch-method 'quicklaunch'
-iconsize '22'
-displaysize '160-240'
-font 'dejavu:*:*' 'dejavu-mono:*:*'
-dbuspath '/usr'
-sound-system 'alsa'

Cleaning out stale build files...
Finding project files...
262 projects found.
Running qmake...
.................................................. ........................make[7]: *** [setup_helixbuild] Error 1
make[6]: *** [regenerate] Error 2
make[5]: *** [sub-3rdparty-libraries-helix_first_syncqtopia] Error 2
make[4]: *** [first_syncqtopia] Error 2
make[3]: *** [first_syncqtopia] Error 2
make[2]: *** [first_syncqtopia] Error 2
make[1]: *** [first_syncqtopia] Error 2
make: *** [first_syncqtopia] Error 2
make exited with value 2
I have no idea how to go ahead.

From the helix source directory I tried running make
# cd src/3rdparty/libraries/helix/
# make setup_helixbuild
It askes for some patch file.
patching file audio/device/platform/unix/audlinux_alsa.cpp
Hunk #1 succeeded at 1517 (offset 396 lines).
can't find file to patch at input line 7
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|This patch includes the changes to Helix for including the Qtopia filesystem
|access type. Change helix config file to generate 32bit binaries and use rpath
|if applicable.
|--- helix/src/build/BIF/build.bif Fri Mar 17 18:12:22 EST 2006
|+++ helix/src/build/BIF/build.bif Fri Mar 17 18:12:22 EST 2006
File to patch:

Please do advice me how to proceed further.

thanks a lot.