- 10 best video player apps for Android
- AllCast
- Archos Video Player
- BSPlayer
- LocalCast
- MX Player
- Plex and Plex VR
- 7 лучших видеоплееров для Android: от всеядного VLC до красивых альтернатив
- MX Player
- FX Player
- Nova Video Player
- Playing video by ExoPlayer
- Introduction
- What’s ExoPlayer?
- Recap from Google I/O 2017
- exoplayer
- Download exoplayer from Bintray. Modern Software Distribution Service for Docker, Maven, Debian, RPM, npm, NuGet and…
- google/ExoPlayer
- ExoPlayer — An extensible media player for Android
- Which applications are using ExoPlayer?
- How to use?
- Configuration
- Sample use
- How to use ExoPlayer in Activity/Fragment?
- Playback States
- Supported formats
- Manage for orientation and no lock screen
- Custom controller of player
10 best video player apps for Android
Even if you do, you still have plenty of options to view it. Let’s check out the best video player apps for Android! Kodi is a good option that we do not include on this list because it operates as more of a media player. We have that list linked up toward the bottom of this article.
Read more:
AllCast
Price: Free / $4.99
AllCast is a video player that specializes in sending your locally stored content to your Chromecast, Roku, Apple TV, Xbox 360/One, and other DLNA compliant devices. Along with videos, it also supports other types of media. It has a bit of a rough start, but has quickly become one of the most stable casting apps out there. The free version has a five minute limit for content while the pro version has no limitations. You can also turn your Android device into an AllCast receiver (capable of being casted to) with the AllCast Receiver app.
Archos Video Player
Price: Free / $0.99
Archos is one of the more popular video player apps on Android. It supports most video file types, including MKV, MP4, AVI, WMV, FLV, etc along with various subtitle file types like SRT, SUB, ASS (yes, for real), SMI, and others. Of course, there are other features as well, like server and NAS support, external USB storage support, and more. The app also includes a relatively modern interface, simple controls, and information from sites like IMDb, themoviedb.org, and others. In practice, we didn’t find any real issues with it, although some Google Play reviewers have. In any case, it’s a solid option with a cheap pro version.
BSPlayer
Price: Free / $5.99
BSPlayer has been around for a longer than most video player apps and has continued to be one of the best in all that time. It features multi-core hardware decoding, hardware accelerated playback, and support for streaming from network (DLNA) devices. On top of that, there is subtitle support, the ability to play files from compressed formats, and you can even have a pop-up window if you want to. The free version is ad-supported, but has all of the features. There are also additional plugins for even better support. The full version runs for $5.99.
LocalCast
Price: Free with in-app purchases
LocalCast is a competitor to AllCast and they perform a lot of the same functions. That includes streaming media from your device to a Chromecast, Xbox 360/One, Roku, Fire Stick, or Apple TV. Along with AllCast, it allows for streaming from cloud storage (Google Drive, Dropbox), and it should work on most DLNA compliant devices. It does only have the codecs that the Chromecast supports. That should be most major codecs these days, though. Even so, it’s one of only a few respectable video player apps that perform this function.
MX Player
Price: Free / $5.99
MX Player has long been one of the most popular video player apps. It supported more formats long before other video player apps thought to do so and was also among the first to include things like hardware decoding, hardware accelerated playback, and other such features. It still has all of those things along with gesture controls (including pinch-to-zoom), subtitle support, a kids lock to keep your kids in the app watching their Disney movies, and it supports virtually every codec out there. Like MoboPlayer, it comes with additional plugins to add more functionality if you need them.
See more:
Plex and Plex VR
Price: Free / $4.99 / $4.99 per month
Plex is currently the best answer to the question of what to do if you have a lot of videos and only 32GB of storage on your phone. Plex allows you to set up a server on your computer and then it will stream content from your computer to your smartphone. It’s a bit unique from other video player apps, but it also doesn’t require you to keep your files on your device. That frees up valuable storage space for other stuff. The service is free to set up, the mobile app costs $4.99, and you can get an optional $4.99 per month subscription to unlock all of the Plex Pass features. Plex VR takes everything above and lets you use it on Google Daydream VR devices as well.
Источник
7 лучших видеоплееров для Android: от всеядного VLC до красивых альтернатив
Несмотря на то, что Android является лучшей платформой для потребления развлекательного контента, качественных видеоплееров на этой операционной системе предельно мало. Без шуток — их можно пересчитать по пальцам одной руки. Большая часть приложений, связанных с воспроизведением мультимедиа, нагружена рекламными баннерами, платными функциями, ужасным интерфейсом или просто не способна запустить MKV-формат. Но, к счастью для вас, я перерыл весь интернет, протестировав несколько десятков приложений, чтобы определить лучших из лучших. И, конечно, обошлось без удивительных открытий.
VLC на Android предоставляет те же возможности, что и на ПК — это абсолютно бесплатное приложение, которое способно воспроизводить практически любые современные форматы мультимедийного контента (с MKV, MP4, AVI и MOV точно проблем не возникнет). Есть гибкая настройка сканирования папок на предмет видео или музыки, в медиатеке отображается превью фильмов или сериалов, есть возможность настроить скорость воспроизведения, таймер отключения, а субтитры можно добавлять как из памяти смартфона, так и качать из интернета одним нажатием. А ещё есть функция стриминга на телевизор, тёмная тема и масса настроек при воспроизведении.
- полностью бесплатное приложение без рекламы;
- воспроизводит все популярные форматы видео;
- гибкая настройка воспроизведения контента;
- можно скачать субтитры из приложения;
- лаконичный интерфейс;
- есть функция стриминга на телевизор.
MX Player
Среди приложений, которые отлично справляются с запуском видео в любом формате и кодеке, стоит отметить MX Player — этот софт не просто так считается чуть ли не лидером на Android. Разработчики реализовали внушительный набор настроек воспроизведения, включая подбор субтитров в сети, ускорение или замедление видео, блокировку экрана или воспроизведение «Картинка в картинке». Все востребованные форматы запускаются без каких-либо проблем, есть поддержка многоядерного декодирования и даже встроенный редактор интерфейса — можно вынести на экран те кнопки, которые действительно необходимы.
- воспроизводит все популярные форматы видео;
- есть гибкая настройка интерфейса;
- поддержка загрузки субтитров из памяти или сети;
- встроенный эквалайзер;
- режим «Картинка в картинке».
- в бесплатной версии есть баннерная реклама, платная версия без рекламы стоит 350 рублей.
FX Player
Данное приложение тоже отлично справилось с запуском всех современных форматов видео, плюс есть полноценная поддержка субтитров, можно быстро переключаться между аудиодорожками, настраивать скорость воспроизведения, менять соотношение сторон. Ещё есть удобная кнопка для сохранения скриншота, при необходимости можно запустить режим «Картинка в картинке», отразить изображение или заблокировать экран, чтобы случайно не нажать что-либо в процессе просмотра фильма. Из недостатков можно отметить разве что наличие рекламы, но на самом деле она не так уж сильно мешает и появляется крайне редко.
- воспроизводит все популярные форматы видео;
- лаконичный интерфейс с множеством настроек;
- продвинутая работа с субтитрами;
- множество настроек для воспроизведения видео;
- режим «Картинка в картинке».
- в бесплатной версии есть баннерная реклама, платная версия без рекламы стоит 379 рублей.
Nova Video Player
У Nova Video Player достаточно простой проигрыватель без возможности кастомизации, да и функция автоповорота у меня лично так и не заработала. Но, с другой стороны, все необходимые функции здесь имеются, есть довольно продвинутое меню настроек, а звуковую дорожку можно выбрать не прекращая просмотр. А ещё софт умеет подтягивать информацию о контенте из сети. Например, к загруженной серии сериала добавляется постер (его можно заменить), описание и даже оценка из IMDb. Там же можно скачать субтитры под определённый язык, просмотреть трейлеры и изучить информацию о файле — вес, кодек, частота кадров, качество звуковых дорожек.
- воспроизводит все популярные форматы видео;
- полностью бесплатное приложение без рекламы;
- максимально простой интерфейс;
- софт сам загружает информацию о фильме или сериале;
- удобное меню для загрузки субтитров;
- детальные настройки воспроизведения.
- не работает автоповорот контента;
- интерфейс не самый современный.
На случай, если по каким-то необъяснимым причинам одно из вышеуказанных приложений вам не подходит, можно обратить своё внимание на приложения KMPlayer, PlayerXtreme, MoboPlayer и PLAYit. Они не всегда правильно воспроизводят MKV-файлы (иногда пропадает звук или не подходит кодек), в некоторых всплывает надоедливая реклама или не совсем удобный интерфейс. Но, с другой стороны, если эти недостатки не кажутся критическими, то обязательно стоит попробовать.
Источник
Playing video by ExoPlayer
Hello everybody, I write this blog for speak in Android Bangkok (or Droidcon) 2018 at 31 March 2018 and my topic is about ExoPlayer which we use this in Fungjai, music streaming application, and new product application on Android.
Do you know which playback library that YouTube use in Android?
I divide 3 main topic in this session; Introduction, How to use?, and Additional.
Are you ready to adventure this?
Introduction
Before you create the media application with ExoPlayer, you need familiarize it.
What’s ExoPlayer?
ExoPlayer is an open source media playback library for Android
by Google which write in JAVA and have more advantages than MediaPlayer such as minimal, flexible, and stable.
Exoplayer features are play video and audio, shuffle, repeat, subtitle, playlist, caching/downloading, playing ads, live streaming, album art, offline, cast extension and more.
Recap from Google I/O 2017
I recapped important informations from google I/O 17 at 17 May 2017 which speakers are Oliver Woodman and Andrew Lewis.
I check for important version of ExoPlayer from Google I/O 17 when in version 2.x to now.
- r1.2.3 (25 Mar. 15) : This is first version release to developer
- r2.0.0 (14 Sep. 16) : This is first version of Exoplayer 2.x which major iteration of the library
- 2.6.0 (23 Nov. 17) : This is first version which not have r in front of version number
- 2.7.0 (22 Feb. 18) : This release have new features and bugs fixed ex. Player Interface, UI Component, Buffering, Cast Extension, Caching, and more in release note.
- 2.7.2 (29 Mar. 18) : This is lasted ExoPlayer version and fixed for some minor bugs
for more information about release date
exoplayer
Download exoplayer from Bintray. Modern Software Distribution Service for Docker, Maven, Debian, RPM, npm, NuGet and…
and release note
google/ExoPlayer
ExoPlayer — An extensible media player for Android
This is overview for core feature and supporting file for streaming format, audio & video, subtitle, metadata, extension.
Compare MediaPlayer vs ExoPlayer
As you seen, the minimum android version in your current project is API level 16 which 99.2% of active android devices.
This is diagram for compare about where player actually lives when using MediaPlayer and ExoPlayer. The MediaPlayer implementation is actually in the Android operating system and above in your application and in contrast you use ExoPlayer in your application for custom something to you use.
Which applications are using ExoPlayer?
Google developeded ExoPlayer for use in YouTube which huge video streaming service, Google Play Movie, Google Photos, Youtube gaming, Google Play Newsstand before release it to developer.
Over 140,000 applications in Google Play Store are using ExoPlayer for play media in these application such as Vevo, Twitter, BBC iPlayer, Netflix, Spotify, Facebook, Whatsapp, Twitch, and more applications include Fungjai.
How to use?
ExoPlayer is required Android 4.1 (API level 16). But some features are required higher version.
Configuration
First, add the ExoPlayer dependency in build.gradle in your module which current version is 2.7.2
Then add internet permission in your manifest file to get video url, read/write storage are optional for caching, play media in devices or something like that.
Sample use
You can add ExoPlayer in your layout file. That sound easy!
Add function for initialize player and release player.
- Add initializePlayer() function to create new Exoplayer in player view. I set my player to play when it ready and seek to current windows. If player already created, prepare media source from url.
- Add releasePlayer() function to get playback position, current window value, play or pause state, release player and set the player to null.
How to use ExoPlayer in Activity/Fragment?
- use initializePlayer() at onStart() and onResume() for init player
- use releasePlayer() at onPause() and onStop() for release player before destroy activity or fragment
Playback States
For about playback states, have 4 states in player
If you handle about this, you get playback state at onPlayerStateChanged() when implementation by Player.EventListener .
Sample output for this code is application for streaming audio or video and has playback in player.
but you forgot something, try think again for initialize and release player, what’s missing?
Supported formats
In initializePlayer() , your player must have MediaSource for prepare media from url and for supported formats have difference MediaSource.Factory
- The format of regular media such as mp3 and mp4 :
- Playlist format in internet radio or music streaming such as m3u8 :
- Adaptive streaming technologies such as DASH, SmoothStreaming and HLS
Bonus : You can play audio/video in Exoplayer from file in your device.
Manage for orientation and no lock screen
You can watch video in full screen by rotate screen to landscape but have problem about play video again at begin.
What’s solution to solve this problem?
First solution in my thinking is Android Architecture Component but this is so difficult for this.
But I found best solution for me is no complex and original solution to solve this. This solution is add config change for player activity at manifest file.
BONUS : If you want play video fullscreen with landscape only, you add this for check configuration change with rotate device.
The result for add config change is manifest file is continuous playing video when user rotate screen.
and you can add android:keepScreenOn=“true” in parent layout in activity_player.xml to avoid screen locking while video playing.
Custom controller of player
You can custom user interface for player controller and custom some function in your player.
For custom some function in player : You can add behaviour attribute of your playback. I think every developer don’t use all for set your playback behaviour, or not?
Then I show you a sample custom playback for useful to used in you project.
- app:use_controller : “true” for show controller and “false” for hide it.
- app:show_timeout : The time of control is hidden after the user used it. This sample hide controller playback after 10000 ms (10 seconds)
- app:repeat_toggle_modes : “none” for no repeat, “one” for play repeat 1 audio or video, “all” for repeat playlist
- app:fastforward_incerment : The time of fast forward after you click fast forward button. The sample is fast forward 30000 ms (30 seconds)
- app:rewind_increment : The time of rewind after you click rewind button. The sample is rewind 30000 ms (30 seconds)
- app:resize_modes : set for content in player size, default is fit with native aspect ratio and you can resize to fill for fit player into layout
Источник