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.
Advertisement
January 22, 2010 at 7:32 am |
this player can play avi’s ..etc.. but how do we get the avi files on the iphone if it will only sync formats that the iphone can play?(mp4 .. or whatever it is) .. i tried syncing a small avi file to the phone and it doesn’t get copied over
January 22, 2010 at 2:22 pm |
You can get media files from your PC by FTP Protocol.
About how to setup FTP server on your PC, you can refer to the Help Page.
June 12, 2010 at 11:09 am |
One questions , if i buy a iphone version for my ipad does the licence be valid for IPAD version ?
Best regards
June 12, 2010 at 11:56 am |
Hi Because USB sync feature only exist from sdk 3.2 so the ipad version will be a different one.
Don’t hesitate to contact us with any questions you may have.
June 18, 2010 at 1:33 am |
hi snoopnico2:
I am glad to announce that OPlayer HD for iPad has been approved by apple finally.
You can get it from http://itunes.apple.com/us/app/oplayer-hd/id373236724?mt=8
Best Regards Jonathan
June 16, 2010 at 7:50 am |
Hello.
Will it comes out a native version for iPad?
June 16, 2010 at 8:30 am |
Hi Connor: Yes it will We have submitted oplayer HD to apple three weeks ago, and it is still in reviewing.
Don’t hesitate to contact us with any questions you may have.
June 17, 2010 at 8:52 am |
oh, thanks. Thats good news!!
And one more question.Actually two.
is there a possibillity apple dont approve the app for the ipad?
And second, oplayer, plays any video for avi container at any resolution?
(Ex if i have a video in avi container with divX, or xVid, or h264 @ 800×600, will oplayer be able to play this video?
Thank you very much for your time, and sorry for my English. Im from Greece.
June 17, 2010 at 9:32 am
Hi Connor: I am not sure whether it will be approved by apple, they decide it:(
If the resolution less than800*600 I think you can try it.
Don’t hesitate to contact us with any questions you may have.
June 18, 2010 at 1:28 am
Hi Connor:
I am glad to announce that OPlayer HD for iPad has been approved by apple finally.
You can get it from http://itunes.apple.com/us/app/oplayer-hd/id373236724?mt=8
Best Regards Jonathan
October 29, 2010 at 11:58 am |
Hi,
in Appstore I see a free and a normal verison of Oplayer for Ipad.
Seems I am blind I can’t find a hint what is the difference between the two versions ?
Regards
Ingo
October 30, 2010 at 5:28 am |
the lite version will have ads in the application.
October 30, 2010 at 8:53 am |
I have oplayer lite and when i try play a file it just stays blue(selected the file by touching it) help!!!!!!!!!
November 1, 2010 at 2:11 am |
Have you switched on the quicktime plugin in the settings page? it is only for mp4s file format.
November 17, 2010 at 11:04 pm |
Hi, how to get your source of FFmpeg and object file of your app?
January 2, 2011 at 6:30 am |
AVplayer (yet another player for iphone using ffmpeg library in static forms) opened it’s source code
http://www.eplayworks.com/p/lgplinformation.html
how to get your source of FFmpeg and object file of your app?
March 30, 2011 at 5:07 am |
I am trying to cross-compile samba but to no avail.
This is the script I am running:
#!/bin/bash
export CC=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1
export CFLAGS=”-isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk”
export LDFLAGS=”-isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -Wl,-syslibroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk”
export CPP=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cpp
./configure –host=arm-apple-darwin10 samba_cv_CC_NEGATIVE_ENUM_VALUES=yes
make
#### end of script ####
I tried many different settings but they all crash at some point, be it during make or after during lib linking in my project.
Can you help me write a script that will cross-compile Samba?
Thanks in advance!
March 30, 2011 at 1:20 pm |
I know it may be too much, but if possible could you please post your libsmclient.a (armv6 or armv7 version) online or somehow send it to me? I’ve been trying non-stop since way before my last post with no success.
Thanks in advance.
May 5, 2011 at 3:04 pm |
Hi, Artur, did You get that static libsmbclient, I’m looking for this also.
January 8, 2012 at 9:30 pm |
I read that OPlayer can access Apple’s Time Capsule – is that correct? At least when I try samba configuration it won’t move from the oplayer default port to the Apple set port 455, so I can say if it would work. Thanks for any help.
January 9, 2012 at 10:00 am |
As i know, Apple’s Time Capsule uses 139.
January 10, 2012 at 8:12 am
Mine came configured to port 445 – 2008 1TB Time Capsule from US. (Yep, 445 – “455″ was my typo error).
Because Airport and report both contain the string “port”, googling for config help on this is seeminly futile. At least this article explains what and why both ports 139 and 445 are in common use for samba over TCP…
http://www.petri.co.il/whats_port_445_in_w2k_xp_2003.htm
For me, it would be great if the OPlayer smb port number were manually configurable – I’d fix my problem and be totally happy.
In the longer term, since the easiest way is using the .local name (._smb._tcp.local), why not just discover the time capsule by Bonjour and get the port number that way? For the less address:port-savvy user this would be helpful – especially if Bonjour were used to just catch the SMB: services on the LAN and user selection from this discovered list/enumeration were allowed. (The ancient and excellent “Bonjour Browser” for Mac – not iOS – is a sweet and simple example of doing this kind of thing if you’re interested).
Meanwhile, I’m using the “File Browser” app for TC access, and “Open in…” “OPlayer” as my (hopefully) temporary solution.
Apart from this TC frustration, OPlayer is working very nicely! (Haven’t had any problems with any of the videos I’ve tried so far). Thanks!
January 11, 2012 at 4:33 am
Thanks for your suggestion. we may make it configure-able in the future update.
January 18, 2012 at 10:31 pm |
Hi,
Any full documentation about compiling ffmpeg lib for iPhones?
Thanks.