Open candypheonixIO opened 3 years ago
Which video did you try? Often times YouTube splits the higher resolution videos into separate video and audio streams, but Neos needs a version that has both for the playback. If there's no such version available for 4K then it won't load that one.
You can check in the log which versions were available.
Looks like YouTube offers video-only raw streams for the 4K and 8K versions. You'd have to download them and mux them into a single video file.
I can add an option to load those streams, but it will play without audio.
Note that 8K might be way too heavy though and cause severe framerate drop, 4K might be heavy-ish too, depending on whether Unity Native or libVLC is used (libVLC version we're using has unstable hardware decoding).
I've just tried two 4k livestreams from youtube and two 8k and 4k videos from youtube as well, neither provided anything higher than 1080p resolution when setting the Max Width and Height for the VideoTextureProvider.
Is this just a limitation to what ever youtube-dl variant we are using now?