GithubHelp home page GithubHelp logo

isabella232 / vlc-android Goto Github PK

View Code? Open in Web Editor NEW

This project forked from videolan/vlc-android

0.0 0.0 0.0 51.61 MB

VLC for Android, Android TV and ChromeOS

License: GNU General Public License v2.0

Shell 0.53% Ruby 0.18% C++ 5.07% Python 0.13% Java 7.91% Kotlin 85.62% Makefile 0.02% AIDL 0.54%

vlc-android's Introduction

VLC for Android

This is the official Android port of VLC.

VLC on Android plays all the same files as the classical version of VLC, and features a media database for Audio and Video files and stream.

Project Structure

Here are the current folders of vlc-android project:

  • extension-api : Application extensions SDK (not released yet)
  • application : Android application source code, organized by modules.
  • buildsystem : Build scripts, CI and maven publication configuration
  • libvlc : LibVLC gradle module, VLC source code will be cloned in vlc/ at root level.
  • medialibrary : Medialibrary gradle module

LibVLC

LibVLC is the Android library embedding VLC engine, which provides a lot of multimedia features, like:

  • Play every media file formats, every codec and every streaming protocols
  • Hardware and efficient decoding on every platform, up to 8K
  • Network browsing for distant filesystems (SMB, FTP, SFTP, NFS...) and servers (UPnP, DLNA)
  • Playback of Audio CD, DVD and Bluray with menu navigation
  • Support for HDR, including tonemapping for SDR streams
  • Audio passthrough with SPDIF and HDMI, including for Audio HD codecs, like DD+, TrueHD or DTS-HD
  • Support for video and audio filters
  • Support for 360 video and 3D audio playback, including Ambisonics
  • Ability to cast and stream to distant renderers, like Chromecast and UPnP renderers.

And more.

LibVLC stack

You can use our LibVLC module to power your own Android media player. Download the .aar directly from Maven or build from source.

Have a look at our sample codes.

License

VLC for Android is licensed under GPLv2 (or later). Android libraries make this, de facto, a GPLv3 application.

VLC engine (LibVLC) for Android is licensed under LGPLv2.

Build

Native libraries are published on bintray. So you can:

  • Build the application and get libraries via gradle dependencies (JVM build only)
  • Build the whole app (LibVLC + Medialibrary + Application)
  • Build LibVLC only, and get an .aar package

Build Application

VLC-Android build relies on gradle build modes :

  • Release & Debug will get LibVLC and Medialibrary from Bintray, and build application source code only.
  • SignedRelease also, but it will allow you to sign application apk with a local keystore.
  • Dev will build build LibVLC, Medialibrary, and then build the application with these binaries. (via build scripts only)

Build LibVLC

You will need a recent Linux distribution to build VLC. It should work with Windows 10, and macOS, but there is no official support for this.

Setup

Check our AndroidCompile wiki page, especially for build dependencies.

Here are the essential points:

On Debian/Ubuntu, install the required dependencies:

sudo apt install automake ant autopoint cmake build-essential libtool-bin \
    patch pkg-config protobuf-compiler ragel subversion unzip git \
    openjdk-8-jre openjdk-8-jdk flex python wget

Setup the build environment: Set $ANDROID_SDK to point to your Android SDK directory export ANDROID_SDK=/path/to/android-sdk

Set $ANDROID_NDK to point to your Android NDK directory export ANDROID_NDK=/path/to/android-ndk

Then, you are ready to build!

Build

buildsystem/compile.sh -l -a <ABI>

ABI can be arm, arm64, x86, x86_64 or all for a multi-abis build

You can do a library release build with -r argument

Medialibrary

Build Medialibrary with -ml instead of -l

Contribute

VLC is a libre and open source project, we welcome all contributions.

Just respect our Code of Conduct.

Pull requests

Pull requests must be proposed on our gitlab server.

So you must create an account, fork vlc-android project, and propose your merge requests from it.

Except for translations, see the section below.

Translations

You can help improving translations too by joining the transifex vlc project

Translations merge requests are then generated from transifex work.

Issues and feature requests

VLC for Android bugtracker is hosted on VideoLAN gitlab
Please look for existing issues and provide as much useful details as you can (e.g. vlc app version, device and Android version).

A template is provided, please use it!

Issues without relevant information will be ignored, we cannot help in this case.

Support

vlc-android's People

Contributors

alexanderlaw avatar andriykopanytsia avatar chouquette avatar edwardcwang avatar etix avatar flx42 avatar fu-nakayama avatar funman avatar geoffreymetais avatar ivoire avatar jbkempf avatar kayazeren avatar kazemihabib avatar magwyz avatar michaelmerg avatar mstorsjo avatar mtrz avatar picodotdev avatar regnander avatar rhstone avatar rockytdr avatar s8321414 avatar scarabeusiv avatar siggi0904 avatar skantes avatar tguillem avatar xabroc avatar xilasz avatar xslidian avatar yarons 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.