Home

Awesome

<h3 align="center"> <a href="https://videolabs.io/store/unity"><img src="/images/Social_Media_Image_1200x630.png"/></a> </h3>

VLC for Unity

Join the chat at https://discord.gg/3h3K3JF

This repository contains the native Unity plugin that bridges LibVLCSharp with LibVLC for performance oriented video rendering in Unity3D applications and games. Available on the Videolabs Store.

LibVLC Features

Given that this plugin is using LibVLCSharp (which uses LibVLC), it exposes more or less the same feature set and same codecs support than VLC, such as:

And more.

Supported platforms

Installation

The recommended way to install the VLC for Unity plugin is through the Videolabs Store. This also ensures you get commercial support with your build.

PlatformVideolabs Store Asset
WindowsVLCUnityBadge
UWPVLCUnityBadge
AndroidVLCUnityBadge
iOSVLCUnityBadge
macOSVLCUnityBadge

Download the Free Trial Version.

Getting started

There is a quick documentation.txt file included in the package. It gives some context and high level overview of how things work and how to get started.

Since this Unity plugin largely shares the same API than LibVLCSharp, most LibVLCSharp samples and documentation apply, do check those out!

Documentation

See the LibVLCSharp documentation.

It includes best practices, Q&A guide, libvlc specific information and tutorials.

Support

If you encounter a problem with VLC for Unity, please open an issue using the issue template. The template provides a structure that you can fill in to give us all the necessary information for us to troubleshoot your issue.

Support is done on a volunteer base, professional support is only available for paying customers.

StackOverflow

We regularly monitor the stackoverflow-libvlcsharp and stackoverflow-vlc-unity tags on StackOverflow.

Sample scenes

Several Unity sample scenes are available to help you get started quickly!

<img src="images/3d-scene.png" width="425"/> <img src="images/media-element.png" width="425"/>

More LibVLCSharp samples can be found here.

Roadmap

Future platforms support

Future graphics APIs

Other improvements

Release Notes

Check out the NEWS file for details about each release.

Debugging

Editor crash location: C:\Users\YourUserName\AppData\Local\Temp\Unity\Editor\Crashes

Code of Conduct

Please read and follow the VideoLAN CoC.

Commercial services

The VLC for Unity integration makes use of several software components to provide a full featured and easy to use VLC player in your Unity apps and games. It goes without saying that this represents significant work. This work is handled by both the OSS community and opensource consulting partners. The frontiers and rules of commercial and open-source cohabitation can sometimes be blurry and confusing. The following information aims to clarify that.

Distribution

Distribution can be defined as the way in which you acquire a piece of software, in this case, a VLC for Unity asset.

Distribution$$$ Cost
Build from sourceFree
Download from the Unity Asset Store100$ per target platform

The whole of the VLC for Unity asset is open-source. Which means that you can definitely build it yourself and use it, for free. Depending on your experience building native and managed code, it can be a challenging (yet rewarding) endeavor.

For convenience, Videolabs provides the already built binaries through the Videolabs Store. Building and publishing these assets properly takes time and skill, this is the reason for the financial cost.

Support

VLC for Unity combines wide and powerful bricks of software. Bugs happen and feature requests, too. That is an expected part of software development. If you encounter an issue on VLC for Unity, depending on which component is at play, you have a few options to choose from at your disposal:

Support$$$ Cost
Debug and fix the code by yourselfFree
Limited supportFree
Bug in the Unity integrationFree (+ paid if urgent)
Feature request for the Unity integrationPaid
Bug in VLCPaid
Feature request for VLCPaid
Performance optimization for VLC or UnityPaid

If you encounter a problem with VLC for Unity, please open an issue using the issue template. The template provides a structure that you can fill in to give us all the necessary information for us to troubleshoot your issue.

Important note

VLC is a large ecosystem run by the VideoLAN non-profit and a community of volunteers. Videolabs is an independent company providing development services around VLC open source technologies. While Videolabs does ship and sell the Unity integration, Videolabs declines all responsibility for issues specific to VLC.

However, Videolabs being the main contributors to VLC improvements, feel free to reach out in case of related commercial projects.

More services

If you would like VLC developers to provide you with:

Feel free to contact us.

License

Licensed under the LGPL 2.1 and proprietary license via Videolabs.

<br/> <div align="center"> <a href="https://videolabs.io/store/unity"><img src="images/Icon_Image_160x160.png"/></a> </div>