Unity video player cannot play youtube videos. Only avpro can load it.
complete
N0CH
Today 7/24/2024 youtube update the format of videos. When the resolver give the video, the unity player cannot load the new format, only avpro can load the new format. This is not related to stream videos, it happen to all regular videos from youtube.
Log In
R
RuneTheHorse
ytp is broke again lol
BluWizard
It's broken again as of 7/31/2024. Sure, Video plays. But there's NO audio whatsoever. https://feedback.vrchat.com/bug-reports/p/unity-video-player-no-longer-plays-audio-only-video
StormRel
Merged in a post:
iwaSync3 player broken after last VRChat update
A
Andron827
- Open VRChat
- Go to any world which uses iwaSync3 player to play videos
- Videos give a loading error
- LIVE content plays normally, VIDEO content does not.
- Attempting to load same video URL (e.g., YouTube, Vimeo, etc.) on ProTV3 beta appears to function without issue.
- Workaround: flagging VIDEO as type LIVE (even if not a live stream) will play the video correctly.
I believe something changed with the most recent VRChat update which broke the very popular and widely used iwaSync3 player from Hoshino Labs. Their most recent build of the player iwaSync3_v3.6.5 was released recently. The developer, Hoshino Labs, (ikuko
@magi_ikuko on X/twitter) is aware of the issue.
Quote:
現在VRChatの不具合でVideoのほうが正常に動作しなくなっています。
Liveのほうを選んでURLを頂ければ再生できる可能性がありますのでそちらでお試しいただければ幸いです。
If you select “Live” and input the URL, you may be able to play it!
I was able to reproduce this bug on both PCVR and Quest.
Meta PC app v.2024.2.3p2:1472-cd3e635c6e
Steam PC app v.2024.2.3 build 1470 (June21)
Meta Quest app (current public release, did not try beta)
_
_tau_
complete
We have updated yt-dlp, but we expect there may be issues coming up again in the future. For now this has been resolved at least in our testing.
Sotalo
_tau_ Shall we put our video players (like uSharpVideo) back on the standard Video mode? I noticed when making Stream mode as default, AV1 streams incurred a half-second hitch in performance every time the video changes. These performance issues are noticable and annoying, especially with more than one player on looped playlists. And this is on an RTX 4070 with dedicated AV1 decoding.
_
_tau_
Sotalo We always recommend using AVPro as the video player backend, if you are experiencing different issues there please open a new canny.
Gureumi
Vimeo, niconico, etc all sites are not working
A
ARMAgeddit
VRChat requires an update to the new
yt-dlp.exe version:
with this version it will work!
If you download the exe and send the link manually with CMD, you will get a link in response that will work in VRChat:
You can do this manually as a workaround for all links...
load the EXE in C:\Downloads
open CMD
cd C:\Downloads
yt-dlp.exe --no-check-certificate --no-cache-dir --rm-cache-dir -f "(mp4/best)[height<=?1080][height>=?64][width>=?64][protocol^=http]" --get-url "https://www.youtube.com/watch?v=O4Yk5hYWpYA"
the response can be entered in VRChat in the player
Enverex
ARMAgeddit "protocol^=http" will break the new 1080p support which doesn't run over http.
A
ARMAgeddit
Enverex this ist the standard Unity video player request
WACOMalt
Same behavior here for USharpVideo. Switching it to stream mode by default fixed it for now.
Sotalo
WACOMalt Do you have a recommended solution for this? The change needed in USharp? Some way to expose whether the default is video or stream in the editor?
Econeiric
Sotalo bottom of the component in the unity editor: https://github.com/MerlinVR/USharpVideo/issues/87#issuecomment-2251557410
D
Docteh
A lot of these video players use unity for regular videos and avpro for live video. More generalized bug report:
StormRel
tracked
n
noritama3
I have been using iwaSync3 in multiple worlds, and I started looking into this issue this morning.
This issue occurs in my iwaSync3 worlds on both PC and Quest.
Fortunately, iwaSync3 can play videos normally in Live mode, so the following measures restored normal functionality (no need replacing video player so far):
- If an initial video is set, change the Default Mode from Video to Live.
- When manually pasting a URL, play it in Live mode.
- The issue where the Live screen is flipped upside down on Quest has been resolved in version 3.6.5, so replace it with this latest version.
Please let me know if there are any other good workarounds.
Shadowriver
noritama3 There technicly only two players in VRC, Unity Video Player and AVPro, all udon video players are just controllers for those two, in case of iwaSync3 "Video" is Unity player and "Stream" is AVPro, its called that way because AVPro is only one supporting streams. Unity has build in fixed codecs, while AVPro uses Windows codec system and whatever you got installed on your OS, thats why AVPro deals with this better.
n
noritama3
Shadowriver Great guidance! Thanks for helping my understanding for it.
Load More
→