Closed Lucaedr closed 4 months ago
Just to add context... I just noticed ID 18 is the highesr one with audio+video and the rest are split into the separate codecs of audio only and video only.
Unfortunately this isn't really a bug - it's just that 360p is the highest offered video that includes an audio stream.
This is a bit tricky situation - right now I don't know of a way for the Unity Native player or UMP (wrapper libVLC) player to accept video & audio tracks from two separate URL's for playback. I don't know if it supports it at all.
One solution for cases like this is have the yt-dlp download and mux the video & audio streams and then essentially import the video asset - but this will cause a delay before the video is loaded for everyone.
Alternatively if there's a solution with ffmpeg which would let it mux them on the fly and just feed that into the video player, it could work to..
Unfortunately this isn't really a bug - it's just that 360p is the highest offered video that includes an audio stream.
Wait so they decreased it from 720P?!?!?!? Youtube is really annoying that sucks
It looks like they might've removed that quality setting unfortunately. At least for some videos.
YouTube is actively attempting to break third party YouTube players / methods that circumvent display of their advertisements. Other players such as NewPipe / FreeTube have also had issues due to things YouTube is changing in their API.
This is probably related to / a consequence of that.
I wasn't exactly sure which to label this one as originally. Didn't know if there was any way as a fix but I agree as an enhancement going forward.
I don't really know how to properly categorize this right now really, because the path forward isn't clear to me at the moment.
Recently an issue on the yt-dlp github got resolved related to the format 22 videos, you should be able to pass --extractor-args "youtube:player_client=mediaconnect"
to yt-dlp to get pre-merged audio and video but I don't know if this will work for Resonite or not.
Can you link documentation on this?
Yes, sorry. Forgot to provide links to begin with- From the known issues/faq issue on the yt-dlp github, the following is listed under external issues:
--extractor-args "youtube:player_client=mediaconnect"
for pre-merged video+audio HLS formats insteadThis is in relation to issue #10206 on the yt-dlp github
Thank you! I'll have a look when I can if it could be used.
I've applied this workaround in 2024.7.25.1115, it seems to work for a few videos that I tested, so hopefully this holds for a bit. THanks!
Describe the bug?
Current version of yt-dlp fixed to downloading ID 18. 360p videos from youtube. Unreadable when it comes to subtitled content. Previous behavior was 720p videos which has changed over the last few weeks.
Unable to override within resonite however outside of resonite using yt-dlp can override with some command line arguments. The following are the available versions available via yt-dlp for this example video, showing there are additional versions available for: https://youtu.be/BdOtR2A5agc
To Reproduce
Copy youtube video into Resonite and watch. Can inspect the video and see it displays at 640x360.
Expected behavior
About 3 weeks ago this changed where it used to download/display in 720p
Screenshots
Resonite Version Number
Beta 2024.7.12.1147
What Platforms does this occur on?
Windows
What headset if any do you use?
Valve Index / Desktop
Log Files
LUCAEDRPC - 2024.7.12.1147 - 2024-07-15 03_36_54.log
Additional Context
This appears to be a yt-dlp issue however can be adjusted via arguments locally. The following on yt-dlp github mention this apparent change. https://github.com/yt-dlp/yt-dlp/issues/10267 https://github.com/oleksis/youtube-dl-gui/issues/182
Let me know if any additional details are needed.
Reporters
Raidrar rodgerdodger