Asset Files
The AVPro Video asset package contains files organised into 5 major folders:
- Runtime Folder
- Extensions Folder
- Demos Folder
- Editor Folder
- StreamingAssets Folder
Runtime Folder
This folder contains the primary elements of AVPro Video. It builds to the AVProVideo.Runtime assembly.
Plugins/
Contains all native plugin files
Scripts/
AssetTypes/
ScriptableObject for defining media
Components/
Monobehaviour Components
Internal/
Internal code that is not usually modified by users
Resources/Textures
Textures used by the NullMediaPlayer and always included in builds
Shaders/
This base folder contains all the optional shaders which will be stripped out if they are not used. It also contains the important .cginc file shared by all shaders
Resources/
Internal shaders that are always included in builds
Extensions Folder
This folder contains files for supporting other packages, Unity extensions or other assets.
Timeline/
Adds support for the Playables Timeline feature
UnityUI/
Adds support for displaying video to Unity's UI system
VisualEffectGraph/
Adds support for sending video to Unity's VFX graph
Demos Folder
This folder contains several examples scenes showing how to use some of the components included with AVPro Video. This folder builds to its own assembly and is optional.
MediaPlayerUI/
Complete scripts and shaders for a fully functional advanced UI for media playback.
SampleMedia/
MediaReference asset files for the sample media (local files and streaming URLs)
Scenes/Demo_MediaPlayer.unity
A comprehensive example scene playing back media with AVPro Video and using the MediaPlayerUI to help demonstrate features like subtitles, seeking, Unity audio, streaming etc.
Scenes/Demo_DisplayComponents.unity
An example scene showing all of the different components used to display and manipulate videos.
Scenes/Demo_360Stereo.unity
An example scene showing 360 equirectangular stereo video applied to a sphere.
Editor Folder
This folder contains editor-only scripts which are not usually modified by users. It builds to the AVProVideo.Editor assembly.
StreamingAssets Folder
This folder contains sample media files included for demonstration purposes that the demo scenes rely on. The contained AVProVideoSamples subfolder is optional and only used for our demo scenes.