All Projects → masterwok → Simple Vlc Player

masterwok / Simple Vlc Player

Licence: lgpl-2.1
An Android media player library powered by LibVLC and Open Subtitles.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Simple Vlc Player

Legalstream
An m3u8 playlist featuring many LEGALLY FREE IPTV streams. For use with VLC.
Stars: ✭ 299 (+190.29%)
Mutual labels:  vlc
Vlc Ios
VLC for iOS and tvOS official mirror
Stars: ✭ 602 (+484.47%)
Mutual labels:  vlc
Py Vlcclient
A simple python library to control VLC
Stars: ✭ 32 (-68.93%)
Mutual labels:  vlc
Mrvlcplayer
一款基于VLC的播放器,支持常用的各大手势功能,支持几乎所有主流格式。
Stars: ✭ 359 (+248.54%)
Mutual labels:  vlc
Nginx Rtmp Docker
Docker image with Nginx using the nginx-rtmp-module module for live multimedia (video) streaming.
Stars: ✭ 506 (+391.26%)
Mutual labels:  vlc
Streamlink
Streamlink is a CLI utility which pipes video streams from various services into a video player
Stars: ✭ 6,883 (+6582.52%)
Mutual labels:  vlc
Gcc termux
Gcc for termux with fortran scipy etc... Use apt for newest updates instructions in README.txt
Stars: ✭ 276 (+167.96%)
Mutual labels:  vlc
Playerctl
🎧 mpris media player command-line controller for vlc, mpv, RhythmBox, web browsers, cmus, mpd, spotify and others.
Stars: ✭ 1,365 (+1225.24%)
Mutual labels:  vlc
Ffsubsync
Automagically synchronize subtitles with video.
Stars: ✭ 5,167 (+4916.5%)
Mutual labels:  vlc
Cordova Plugin Rtsp Vlc
PhoneGap/Cordova VLC RTSP Player Plugin
Stars: ✭ 21 (-79.61%)
Mutual labels:  vlc
Acelink
Play Ace Streams in VLC on macOS.
Stars: ✭ 411 (+299.03%)
Mutual labels:  vlc
Vlc Pause Click Plugin
Plugin for VLC that pauses/plays video on mouse click
Stars: ✭ 467 (+353.4%)
Mutual labels:  vlc
Libvlcsharp
Cross-platform .NET/Mono bindings for LibVLC
Stars: ✭ 752 (+630.1%)
Mutual labels:  vlc
Movie Monad
📺 A free and simple to use video player made with Haskell.
Stars: ✭ 347 (+236.89%)
Mutual labels:  vlc
Vlc Android
VLC for Android, Android TV and ChromeOS
Stars: ✭ 1,045 (+914.56%)
Mutual labels:  vlc
Traktforvlc
Automatically trakt.tv what you're watching on VLC
Stars: ✭ 292 (+183.5%)
Mutual labels:  vlc
Countries
Free legally receivable IPTV channels as .m3u for Kodi. :-)
Stars: ✭ 657 (+537.86%)
Mutual labels:  vlc
Simple Video Cutter
Windows-based tool for efficient browsing and cutting video footage
Stars: ✭ 102 (-0.97%)
Mutual labels:  vlc
Docker Acestream Server
Ace Stream server Docker image and playback CLI for media players.
Stars: ✭ 88 (-14.56%)
Mutual labels:  vlc
Vlc.dotnet
.NET control that hosts the audio/video capabilities of the VLC libraries
Stars: ✭ 826 (+701.94%)
Mutual labels:  vlc

Release

[deprecated] simple-vlc-player

I'm not longer maintaining this project due to time constraints.

An Android media player library powered by LibVLC and Open Subtitles.

Notice

I'm currently unable to maintain this project. There are a few open issues that need to be resolved. Pull requests are welcome.

Usage

Options can be provided for the initialization of LibVLC by using the VlcOptionsProvider singleton. This optional configuration should only be provided once during app initialization, or at some point before starting the MediaPlayerActivity. If no options are provided, then a default configuration is provided when initializing LibVLC. To make life easier, the VlcOptionsProvider.Builder class is available to help build a list of common options. If an option is not provided to the builder, then the default value for that option is used. For example, the following enables LibVLC verbose logging, sets the subtitle background opactiy, and sets the subtitle encoding:

VlcOptionsProvider
        .getInstance()
        .setOptions(
                new VlcOptionsProvider.Builder(this)
                        .withSubtitleBackgroundOpacity(255)
                        // See R.array.subtitles_encoding_values
                        .withSubtitleEncoding("KOI8-R")
                        .setVerbose(true)
                        .build()
        );

The MediaPlayerActivity can be started by providing a required media Uri and an optional subtitle Uri. The subtitle Uri must be a local file. Consumers of this library should also supply an opensubtitles.org User-Agent and preferred subtitle language via the intent. As stated in the Open Subtitles documentation, the temporary User-Agent should only be used during development and testing as it periodically changes.

Intent intent = new Intent(this, MediaPlayerActivity.class);

intent.putExtra(MediaPlayerActivity.MediaUri, videoUri);
intent.putExtra(MediaPlayerActivity.SubtitleUri, subtitleUri);
intent.putExtra(MediaPlayerActivity.OpenSubtitlesUserAgent, "TemporaryUserAgent")
// See R.array.language_values
intent.putExtra(MediaPlayerActivity.SubtitleLanguageCode, "rus")

startActivity(intent);

Configuration

Add this in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        maven { url "https://jitpack.io" }
    }
}

and add the following in the dependent module:

dependencies {
    implementation 'com.github.masterwok:simple-vlc-player:1.1.16'
}

Projects using simple-vlc-player

Licensing

Please refer to the VLC FAQ.

Screenshots

Local Playback Renderer Item Selection Casting Subtitles

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].