1.2.1
Paquets
Nom | Date | Taille | Licence | Somme de contrôle | Site |
---|---|---|---|---|---|
ffmpeg (.bz2, 4.32 MB) | 4.32 MB | LGPL 2.1 | Qite web officiel de ffmpeg (nouvel onglet) |
Pré-requis
The compilation of the FFmpeg library for the Android Liveradio application has been tested on a MacOS-X system. It may work on other systems, but it has not been tested.
- Download and install Android NDK R3. You can use the following links:
http://dl.google.com/android/ndk/android-ndk-r3-linux-x86.zip - Extract the provided archive
- Make a symbolic link from the provided ffmpeg source code root directory to the provided apps/phaudioplayer/project/jni/ffmpeg directory:
ln -s « <pathto>/ffmpeg/ffmpeg-rev26068 » « <pathto>/apps/phaudioplayer/project/jni/ffmpeg/Sources » - Make a symbolic link from the provided apps/phaudioplayer directory to the apps directory of the Android NDK:
ln -s « <pathto>/apps/phaudioplayer » « <pathto Android NDK r3 rootdir>/apps/phaudioplayer » - Open & set the variable « ANDROID_NDK_ROOT_PATH » located in script « ffmpeg/configure.sh » according to the Android NDK r3 installation directory
- Run the provided script « ffmpeg/configure.sh » to configure FFmpeg for Android
- From the root directory of the android NDK, build the shared library « libphaplayer-jni.so »:
cd <pathto Android NDK r3 rootdir>
make APP=phaudioplayer