UMP is universal Media Framework plugin for Unity that based on different libraries that gives you more flexible possibilities to play your video data.
Support E-mail: unitydirectionkit@gmail.com
Try demo build:
Demo(libVLC) apk
Important:
- Please read user manual before start use UMP;
- For video playback in Unity Editor you should install the regular VLC player (Unity 64-bit Editor == VLC player 64-bit);
- Doesn't support PC, Mac & Linux Standalone builds without UMP Pro (Win, Mac, Linux);
- For correct work with UMP Pro (Win, Mac, Linux) package at first import UMP Pro (Android, iOS) package and after it import UMP Pro (Win, Mac, Linux) package in your project;
- Requires minimum API level 15 (Android 4.0.3);
- For video streams correct work switch in Player Settings - Internet Access: Require.
Main features:
+ Included full C# source code;
+ Full compability with UMP Pro (Win, Mac, Linux);
+ Supported: * Android (armeabi-v7a, arm64-v8a (experimental), x86-bit friendly);* iOS (both arm64 and armv7-bit friendly);
+ Supported possibility to play video in Unity Editor;
+ Supported possibility to use one of this players on Android platform:
* Native Android’s MediaPlayer API;
* LibVLC (v.3.0.9);
* ExoPlayer (v.2.8.2).
+ Supported possibility to use one of this players on iOS platform:
* Native media player (AVPlayer);
* FFmpeg (v.3.4 - k0.8.8).
+ Supported possibility to get pixels of current video frame;
+ Supported video hosting services:
* Youtube (don't support: everything private (private videos, bought movies, ...), don't support "Youtube Live Streams");
+ Supported local video file playback, main formats:
3GPP (.3gp), AVI (.avi), FLV (.flv), SWF (.swf), M4V (.m4v), Matroska (.mkv), Ogg Video (.ogg), QuickTime File Format (.mov, .qt), WebM (.webm), Windows Media Video (.wmv).
+ Supported main streaming media protocols:
HTTPS,
HTTP,
HLS, RTSP, RTMP.
+ Supported main video player events:
Opening, Buffering, Playing,
Paused,
Stopped,
Ended, Error.
+ Supported main video player features, like:
play, pause, mute, playback rate, rewind and ect...
Before update to the new version of UMP plugin, please delete the old one and don't forget to save your custom scripts and plugins files.
Version 1.7.3:
* Added special settings asset in "Resource" folder that will be replace previous json file settings;
* Added special settings window - "Window/UMPSettings";
* Added ARM64 libraries for Android platform;
* Updated youtube parsing functionality (fixed problem with last youtube api update);
* Fixed problem with 'Registry' could not be found in Unity 2018.3.0f2+ versions;
* Fixed problem with undeclared identifier 'CreateTextureFromCVTextureCache' in Unity 2018.3.0f2+ versions.
Version 1.7.2.1:
* Updated custom shader that gives possibility to setup video aspect-ratio (added border offsets);
* Updated youtube parsing functionality (fixed problem with updated Youtube cipher algorithm);
* Fixed problem when adding callbacks to end reached playback event;
* Fixed problem with Unity Editor crash when playback some video streams.
Version 1.7.2:
* Added ExoPlayer support;
* Added possibility to use all players type in one instance;
* Added possibility to get current media player stats on Android platform;
* Updated iOS native player support;
* Updated media player events;
* Updated default Android libVLC libraries from 2.0.6 to 3.0.9 version;
* Fixed problem when try to start video playback in "OnEnable" function on Android platform;
* Fixed problem with GearVR (Oculus) support when use "Multithreaded Rendering" option and unmount headset.
Version 1.7.1:
* Fixed crash when try to playback videos with Cardboard asset;
* Fixed problem with playback youtube videos when use newest Unity Editor (2017);
* Fixed volume change delay when use libVLC libraries on Android platform;
* Fixed problem with simple audio playback without video track on Android platform;
* Fixed problem on Android platform when try to play videos from sdcard with path that contains some unsupported symbols;
* Updated user manual.
Version 1.7:
* Added iOS native player (AVPlayer) support (in current stage is experimental);
* Added possibility to setup special video playback options for different platforms;
* Added possibility to use UMP in VS (or other IDE) debug mode;
* Added possibility to enable/disable background video playback;
* Updated UMP Unity Preferences;
* Updated youtube parsing functionality (fixed problem with videos that has unsupported symbols in title);
* Updated youtube parsing functionality (fixed problem with parsing some youtube videos that has unsupported symbols in video title);
* Updated frames counter implementation;
* Updated user manual;
* Fixed Unity Editor freezing when close application.
Version 1.6.2:
* Added new smooth loop feature;
* Added special UMP "Debug mode" that give possibility to use IDE process debugging (experimantal);
* Added error handler for video hosting parser manager;
* Updated playback event system implementation;
* Updated feature to handle correct aspect ratio of current playing video;
* Updated prepare logic (ingone additional texture update if media player don't have video output);
* Updated youtube parsing functionality (fixed problem with last youtube api update);
* Updated implementation of possibility to get video frame count and fps values;
* Updated user manual;
* Fixed problem with playback rate and volume values when you create new UMP instance programmatically;
* Fixed problem with possibility of get frame buffer on Android platform;
* Fixed problem with .apk file installation when use native Android player;
* Fixed prolem with UMP UnityEvent;
* Fixed problem with Facebook SDK support on Android platform;
* Fixed problem with GoogleVR support on iOS platform.
Version 1.6.1:
* Added possibility to use IL2CPP scripting backend with Universal architecture;
* Added possibility to change playback volume for each player instances on iOS platform (don't use system volume anymore);
* Added "Multithreaded Rendering" support for Android platform;
* Updated play/load video implamentation;
* Updated iOS rendering methods, optimazed texture rendering;
* Updated iOS native library;* Updated native Android player implementation;* Fixed problem with long time playback freeze on Android platform;* Fixed problem with save playback properties (like volume, mute ect.) in loop mode;* Fixed problem with caching video file (add auto clear cache functionality) when you use libVLC for playback streaming assets video files;* Fixed problem with Unity Input Field component and freeze video playback on Android platform;* Fixed problem with native android player when use newer version of Unity Editor.
Version 1.6:
* Fixed problem with il2cpp and release mode build for iOS platform;
* Added possibility to rewind in pause mode;
* Updated NewUIExample scene;
* Updated all source code;
* Updated user manual;
*Fixed mute problem for Android platform.
Version 1.5.2:
* Updated preload setting system;
* Updated AR shader to add possibility to use negative material tilling (flip texture);
* Updated youtube video parsing system;
* Updated native plugin for iOS platform;
* Updated NewUIExample scene;
* Fixed problem with play/pause features;
* Fixed problem with RTMP streams;
* Fixed problem on build stage when using native player without libVLC libs.
Version 1.5.1:
* Added possibility to use Android native media player;
* Fixed problem with playback of some youtube videos;
* Fixed problem with hardware acceleration on Android platform (for smooth playback of very hight resolution video - 4k);
* Fixed problem with playback local video files that has length of file name less then 3 characters;
* Updated native plugin for Android platform;
* Updated user manual to new version.
Version 1.5:
* Added possibility to play video in Unity Editor;
* Fixed problem with volume system on iOS platform;
* Fixed problem with video output of some rtmp streams;
* Fixed problem with memory leak on iOS platform;
* Updated user manual to new version.
Version 1.4.1:
* Added working buffering callback for iOS platform;
* Added possibility to get buffering percentage for iOS platform;
* Added possibility to change buffering time for iOS platform;
* Fixed some issues with many media player instances for iOS platform;
* Fixed problem with Enable/Disable GameObject with media player instance;
* Updated native plugin for iOS platform;
* Updated user manual to new version.
Version 1.4:
* Added possibility to change buffering time (only Android);
* Added possibility to get buffering percentage (only Android);
* Added possibility to get average color of current frame;
* Added possibility to get pixels of current frame (only Android);
* Added "Split Application Binary" support for Android platform;
* Added possibility to play video from Unity "StreamingAssets" folder;* Updated native library for Android platform;* Updated user manual to new version;* Fixed problem when try play video in Editor without UMP (Win, Mac, Linux);* Fixed problem with loop playback of some videos;* Fixed problem with some RTMP streams;* Fixed problem with fixed resolution;* Changed color of path property to default (for Professional Editor Skin).
Version 1.3:
* Added more video streams support (iOS);
* Added possibility to get/set audio track for current video (Android);
* Added possibility to get/set spu track for current video (Android);
* Added frame counter;
* Added fps counter;
* Updated iOS native library;
* Updated user manual;
Version 1.2.1:
* Added logic to create video texture with video stream resolution by default;
* Added new callback (OnTextureCreated), so you can make some additional stuff with texture that will be used to display video;
* Optimazed memory usage;
* Fixed problem with old versions of Unity Editor.