Skip to content

Releases: MerlinVR/USharpVideo

Bug fixes

02 Oct 04:42
Compare
Choose a tag to compare

Bug fixes

Hey, it has been a while. This release fixes a bunch of small bugs with the video player

  • Fix comparison mistake by @jacklul in #45
  • Playlist shuffling fix by @ShingenPizza in #60
  • Fixes crash when used on completely custom UI with TMPro Input Fields by @jacklul in #43
  • b5e2d0d Fix audio spatialization on Unity video player to not use ONSP because it's not great
  • 677d7ed Fix shim to use yt-dlp so it works in editor again
  • 9bfda3c Fix IsValid issues #32
  • 77f2a39 Fix RenderTextureOutput on Android
  • 9ea5bbe Fix AVPro color space on Android
  • 2b7ae2e Fix flipped Y UV on Android with AVPro
  • 37e1d17 Fix URLButton UI breaking and clearing data due to odd implementation detail of VRCUrls
  • 6ee185a Prevent stream player from seeking on streams #55
  • 05efc49 Fixes typo in an error message

V1 Release

12 Jun 23:09
5722263
Compare
Choose a tag to compare

USharpVideo 1.0

image

This release is largely a rewrite of many parts of the video player to be more extendable, more clean, and more robust. 1.0 makes use of the new manual sync that VRC recently added which in this context allows for more robust and efficient syncing. Additionally there are many improvements to make the video player more robust and to cover many of the use cases that people have requested.

Upgrading from <1.0

  1. Delete the old USharpVideo folder in your project and remove the prefab from your scene
  2. Install the new USharpVideo from the package and pull the new prefab into your scene

Changelist:

  • Video player now uses manual sync which allows for much longer URLs and more robust syncing
  • Fix and improve retry logic to handle failed video loads automatically
  • Improve pause to work more seamlessly
  • Change video sync to be more accurate and robust
  • Add a reload button to the video player
  • Add a loop button for looping the current video
  • Add support for looping and shuffling the default playlist
  • Update UI to use the Feather icon library
  • Update video screen handling and rate limit handling to better handle multiple video players in the same world
  • Separate video sync from video backend (Unity vs AVPro) so the stream player can now sync video times if it is playing a video
  • Separate UI from the core video player and handle multiple copies of UI controlling the same video player
  • Optimize Update logic a little
  • Integrate audio source volume handling with the core video player
  • Handle video aspect ratio correction in shader now, this means AVPro streams can get the correct aspect ratio now
  • Add UI styling utilities to make recoloring the default UI easier and less tedious
  • Workaround bug with video callbacks that was breaking RTSP stream sync in some situations
  • Allow defaulting to the AVPro video player
  • Move Unity and AVPro video components off the main game object to avoid confusion
  • Provide RenderTextureOutput component for use cases where people want one render texture that does not need special handling from shaders to work properly
  • Add some examples for common use cases that people have asked for
  • Add editor handling for resolving YouTube and other video site URLs using YouTubeDL to allow easier testing in editor and to fix a bug with Unity's video player that prevents the editor from closing properly
  • And more that I am probably missing in the notes

Bug fixes and add default lock state toggle

25 Sep 22:18
Compare
Choose a tag to compare

This release requires the latest version of U# and the VRCSDK

  • 8170a22: Add support for setting the default locked state on the video player to choose if master has the player locked by default or not
  • e77f69f: Change default video player fit mode to fit inside from fit horizontal to keep videos in the frame
  • 34f18ad: Add a trigger collider to the canvas to keep VRC from adding its own collider
  • faca3f7: Add handling for new OnVideoError enum and add error messages for each mode of failure
  • 848a2a9: Change the default format for the video render texture to sRGB to fix issues with loss of color precision on dark areas of video
  • faca3f7: Fix null ref exception on video player proxy in editor

Improve volume slider

18 Sep 19:23
Compare
Choose a tag to compare
  • Make the volume curve more perceptually linear

Stream player support

18 Sep 08:49
Compare
Choose a tag to compare
  • Add support for stream player
  • Add support for timestamped YouTube URLs

Initial release

16 Sep 11:18
6cbcc63
Compare
Choose a tag to compare

Basic video player initial release

  • Allows master only/everyone lock toggle for video playing
  • Video seeking and duration info
  • Pause/Play
  • Shows master and the last person to play a video