Coder Social home page Coder Social logo

asdlei99 / ffplayer-5 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from faywong/ffplayer

0.0 1.0 0.0 111.45 MB

MediaPlayer based on SDL & FFMPEG

License: GNU Lesser General Public License v2.1

Shell 0.19% C 39.94% C++ 47.55% Objective-C 0.88% Perl 1.52% Scala 0.01% JavaScript 0.07% Erlang 0.20% CSS 0.02% Assembly 0.94% Verilog 0.01% Python 8.58% Ruby 0.01% SAS 0.01% Smalltalk 0.01% Prolog 0.06% R 0.01% Visual Basic 0.01% PHP 0.02% Rebol 0.01%

ffplayer-5's Introduction

This a SDL & FFmpeg based MultimediaPlayer for Android platform

Installation

This project should be compiled with Android 4.2 SDK (API level 17) and NDK r8, r7c, r6 or r5c, google for them and install them as described in their docs. You'll need to install Java Ant too. The application will run on Android OS 1.6 and above, but will use features from Android 4.2 if available. Also it's compatible with NDK r4b and all versions of CrystaX NDK starting from r4b. CrystaX NDK adds support for wide chars, and required if you want to use Boost libraries. http://www.crystax.net/android/ndk.php The most supported environment for this port is Linux, MacOs should be okay too. If you're developing under Windows you'd better install Portable Ubuntu, to get proper Linux environment running inside Windows, then install Linux toolchain on it. https://sourceforge.net/projects/portableubuntu/ Cygwin is not supported by the NDK, starting from the NDK r6.

How to compile the application

build all from scratch

. build/envsetup.sh
build

if you want to harness the prebuilt libraries, you can import the "project" directory as a android project in Eclipse

Remind to add NDK dir to your PATH, then launch it. It will compile a bunch of libs under project/libs/armeabi, create Android package file project/bin/MainActivity-debug.apk, and install it to your device or emulator, if you specify option -i or -r to build.sh. Then you can test it by launching Ballfield icon from Android applications menu.

There are other applications inside project/jni/application directory, some of them are referenced using Git submodule mechanism, you may download them using command git submodule update --init Some of them may be outdated and won't compile, some contain only patch file and no sources, so you should check out Git logs before compiling a particular app, and checkout whole repo at that date: gitk project/jni/application/

License information

The SDL 1.2 port is licensed under LGPL, so you may use it for commercial purposes without releasing source code, however to fullfill LGPL requirements you'll have to publish the file AndroidAppSettings.cfg to allow linking other version of libsdl-1.2.so with the libraries in the binary package you're distributing - typically libapplication.so and other closed-source libraries in your .apk file.

The SDL 1.3 port and Java source files are licensed under zlib license, which means you may modify them as you like without releasing source code.

The libraries under project/jni have their own license, I've tried to compile all LGPL-ed libs as shared libs but you should anyway inspect the licenses of the libraries you're linking to. libmad and liblzo2 are licensed under GPL, so if you're planning to make commercial app you should avoid using them, otherwise you'll have to release your whole application sources under GPL too.

The "Ultimate Droid" on-screen keyboard theme by Sean Stieber is licensed under Creative Commons - Attribution license. The "Simple Theme" on-screen keyboard theme by Dmitry Matveev is licensed under zlib license. The "Sun" on-screen keyboard theme by Sirea (Martina Smejkalova) is licensed under Creative Commons - Attribution license.

Distribute

you can download the apk or Get it on Google Play

ffplayer-5's People

Contributors

faywong avatar sherlock99 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.