# libvlcjni-x **Repository Path**: fastdroid/libvlcjni-x ## Basic Information - **Project Name**: libvlcjni-x - **Description**: This is the official LibVLC bindings for Android. - **Primary Language**: Unknown - **License**: LGPL-2.1 - **Default Branch**: master-x - **Homepage**: https://code.videolan.org/videolan/libvlcjni - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-02-27 - **Last Updated**: 2024-02-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # libvlcjni [![Join the chat at https://discord.gg/3h3K3JF](https://img.shields.io/discord/716939396464508958?label=discord)](https://discord.gg/3h3K3JF) This is the official **LibVLC** bindings for Android. - [Project Structure](#project-structure) - [LibVLC](#libvlc) - [License](#license) - [Build](#build) - [Build LibVLC](#build-libvlc) - [Contribute](#contribute) - [Pull requests](#pull-requests) - [Issues and feature requests](#issues-and-feature-requests) - [Support](#support) ## Project Structure Here are the current folders of vlc-android project: - buildsystem : Build scripts, CI and maven publication configuration - libvlc : LibVLC gradle module, VLC source code will be cloned in `vlc/` at root level. ## 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](https://images.videolan.org/images/libvlc_stack.png) You can use our LibVLC module to power your own Android media player. Download the `.aar` directly from [Maven](https://search.maven.org/artifact/org.videolan.android/libvlc-all) or build from source. Have a look at our [sample codes](https://code.videolan.org/videolan/libvlc-android-samples). ## License libvlcjni is licensed under [LGPLv2](libvlc/COPYING.LIB). ## Build ### 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](https://wiki.videolan.org/AndroidCompile/), especially for build dependencies. Here are the essential points: On Debian/Ubuntu, install the required dependencies: ```bash 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 can be `arm`, `arm64`, `x86`, `x86_64` or `all` for a multi-abis build You can do a library release build with `-r` argument ## Contribute libvlcjni is a libre and open source project, we welcome all contributions. Just respect our [Code of Conduct](https://wiki.videolan.org/CoC/). ### Pull requests Pull requests must be proposed on our [gitlab server](https://code.videolan.org/videolan/libvlcjni/). So you must create an account, fork libvlcjni project, and open your merge requests from it. ## Issues and feature requests The libvlcjni bugtracker is hosted on [VideoLAN gitlab](https://code.videolan.org/videolan/libvlcjni/issues) 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 - bugtracker: https://code.videolan.org/videolan/libvlcjni/issues - IRC: *#videolan* channel on [freenode](http://freenode.net/) - VideoLAN forum: https://forum.videolan.org