YouTube-DL Does Not Appear to be Restricted to Passing MP4 Links
complete
owlboy
To fix the long standing issue of video panels trying to play back formats they can not, please update the YouTube-DL calls to use the
-f mp4
option.youtube-dl -f mp4 -g [URL]
If this is indeed missing, adding it will help prevent ear piercing audio (literally) from being produced when Unity tries to decode audio of the wrong format.
Log In
Aev
complete
The arguments for youtube-dl were set to specify MP4 format in VRChat 2018.1.1.
Aev
Merged in a post:
VRCvideosync plays extremely loud static with certain videos.
Trap-Chan
The video player plays the video, but instead of the proper audio it plays an extremely loud static noise instead with certain videos from youtube.
Aev
Merged in a post:
Video player has loud distorted sounds
Bombzyz
The videos that play on the Videosync only have loud distorted sounds, it blasts weird crackling noises on some videos but others it doesn't for some reason.
K
Kenzie
In my experience there's a chance for it happening on every single video. For now, I just use dropbox links, but since dropbox has a bandwidth limit that's kinda bad for larger worlds.
owlboy
Kenzie: Interesting. I have not actually run into it on any video I have tried personally yet. And never had it happen on a video that previously played fine.
If you just mean there is no rhyme or reason. Then I can agree. But what it is is some videos have incompatible formats that youtubedl by default prioritizes as higher quality (because technically they are, and if you are using YouTubeDL it assumes you are wanting to rip the best copy possible). For many reasons every YouTube video can have slightly different copies of stuff ready in the background for playback. This can be due to the age of the video, it's resolution, or sometimes source format.
K
Kenzie
owlboy: I've actually had cases where I play a video in a room, get the bug, leave, then come back and it's fixed. I've also had it happen to friends when it played fine for me. If I recall correctly, this was the video that did it for me: https://www.youtube.com/watch?v=BBHBu5AsmK4
It also randomly happened to Nex here https://youtu.be/2zDXoZtYFTk (Or the Knuckles avatar is to blame, and if so... I'm wondering how they had a youtube video play within their avatar.)
owlboy
Kenzie: they couldn’t have a video on their avatar. But a malformed audio file might do it.
owlboy
And to collate the previous requests:
Web panel based video had a similar issue (but for _very_ different reasons):
owlboy
If it is not exactly this command, I apologize. But restricting to just MP4 is very important.
Printer 🐦
This video shows one of the many YouTube links that will cause this issue. https://youtu.be/1UZQAYGAkMk
owlboy
The current video player is Unity's so this applies:
Not all YouTube videos provide the correct combinations of audio/video in the right container. So if you are using YouTube links sometimes YouTubeDL will give you the best it can for that video and it won't be compatible with Unity's built-in video playback.
vrpill
This has happened to me too. The reason is certain audio codecs that are used with those videos are not currently compatible with the video player.
PK
vrpill: can we have a list of acceptable codecs? it would be extremely useful.
vrpill
PK: I couldn't get this info when I tried a few months back. It's a trial & error sort of thing at the moment.
Trap-Chan
vrpill: Here's a video I know will cause the issue. https://www.youtube.com/watch?v=FVrZPuJzCCA
So far the only "common" thing I can see on the videos that I have tried this on are generally older videos, with a quality locked to 480p or lower.
I put common in quotes there because this video https://www.youtube.com/watch?v=dlFA0Zq1k2A , which is a fairly recent upload and does have the higher quality options available aswell.
The codecs that I have found after digging a little that is in use at Youtube seems to be flv, mp4, 3gpp and VP8.
vrpill
Trap-Chan: Thanks! I'll pass this on.
owlboy
Please share a example room name / video.
Load More
→