OPlayer License

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.
Advertisements

34 Responses to “OPlayer License”

  1. Ron Says:

    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

    • olimsoft Says:

      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.

  2. Snoopnico2 Says:

    One questions , if i buy a iphone version for my ipad does the licence be valid for IPAD version ?

    Best regards

  3. Connor Says:

    Hello.
    Will it comes out a native version for iPad?

    • olimsoft Says:

      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.

    • Connor Says:

      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.

  4. Ingo Says:

    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

  5. Jake Says:

    I have oplayer lite and when i try play a file it just stays blue(selected the file by touching it) help!!!!!!!!!

  6. Joy Says:

    Hi, how to get your source of FFmpeg and object file of your app?

  7. myung woon Says:

    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?

  8. Artur Sampaio Says:

    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!

  9. Artur Sampaio Says:

    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.

  10. Rod Says:

    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.

    • olimsoft Says:

      As i know, Apple’s Time Capsule uses 139.

      • Rod Says:

        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!

      • olimsoft Says:

        Thanks for your suggestion. we may make it configure-able in the future update.

  11. Nesim TUNÇ (@nesimtunc) Says:

    Hi,
    Any full documentation about compiling ffmpeg lib for iPhones?

    Thanks.

  12. Jay Byrd (@Jbyrd1952) Says:

    I second the configurable port it would enable boxee shares too

  13. Stephen Gallagher Says:

    I get the feeling that after over a year this is probably a fool’s request, but I too would like to see port 445 added to the options for samba shares.

  14. kentsterling.com Says:

    Hi there! This is kind of off topic but I need some guidance from an established blog.
    Is it tough to set up your own blog? I’m not very techincal but I can figure things out pretty quick. I’m
    thinking about creating my own but I’m not sure where to begin. Do you have any ideas or suggestions? Thanks

  15. umass medical human resources Says:

    It is actually perfect a chance to generate a handful of blueprints money which is time for you to be happy. We have study this specific put up of course, if I may I actually would like to propose a person a number of exciting elements and also guidelines. You could may create subsequent reports with this document. I must continue reading areas of the idea!

  16. Carmelia Stenerson Says:

    Pretty! This was an incredibly wonderful article. Many thanks for providing this info.|

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: