Archive for January, 2010

OPlayer Suggestions

January 15, 2010

Any suggestions about OPlayer is appreciated.

Advertisements

OPlayer License

January 15, 2010

OPlayer has used FFmpeg for video/audio decoding.

FFmpeg is licensed under the GNU Lesser General Public License (LGPL) version 2.1 or later. However, FFmpeg incorporates several optional parts and optimizations that are covered by the GNU General Public License (GPL) version 2 or later. If those parts get used the GPL applies to all of FFmpeg.

1.  Download and install the iPhone SDK 3.1.
2.  Get the latest gas-preprocessor and install it in /usr/local/bin
    or some other directory in your $PATH.
    http://github.com/yuvi/gas-preprocessor/
3.  Get the latest FFmpeg from SVN (I have used FFmpeg Revision SVN-r21163.).
4.  Configure FFmpeg with one of the following commands.  These give a
    clean build with a default installation of iPhone SDK 3.1 on OSX Leopard.
    Other versions may vary.
4a. For iPhone 3GS or iPod Touch 3G 32GB/64GB, use this command:
    ./configure --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc-4.2.1 --as='gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc-4.2.1' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.sdk --enable-cross-compile --target-os=darwin --arch=arm --cpu=cortex-a8 --enable-pic
4b. For other iPhone or iPod Touch models, use this command:
    ./configure --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc-4.2.1 --as='gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc-4.2.1' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.sdk --enable-cross-compile --target-os=darwin --arch=arm --cpu=arm1176jzf-s
5.  Run make.

OPlayer has used libsmbclient for SAMBA client feature.
1. download source code from http://www.samba.org/
2. use cross compile to compile it for iPhone.