Hi, I would like to use VLC to stream YouTube videos on rare occasions - for example, there are sometimes livestream radios that are only available on YouTube, and there are YouTube players like Freetube that have an option to open in an external media player such as VLC.
Unfortunately, it seems that VLC has trouble streaming YouTube videos at high quality (I just attempted to play this video and it plays at 1280x640 despite me picking 1080p as my preferred resolution in preferences). It also struggles to buffer during playtime and when skipping - it will only buffer a small portion of the video, play it, then load the next chunk. I'm not the only one with this issue - there is a recent report of this, and there are reports of this dating back to four years ago with a workaround suggesting to just use youtube-dl (which I'd rather not use if I can help it, since it would complicate the way I use VLC).
I've seen suggestions to change the YouTube lua script in various topics on the forum, but it then seems those suggestions stop working sometime later, looking at the replies. Is there a more current fix/workaround to this problem?
I run Arch Linux on Xorg, with VLC 3.0.20. I use Nvidia drivers with a 1050 Ti.