Have you noticed YouTube heavily throttling unofficial clients lately?
Maybe we really need a video delivery service that doesn't break every other day to please beancounters at Google.
Maybe we really need a video delivery service that doesn't break every other day to please beancounters at Google.
It's a game of whack-a-mole right now.
The common way to deal with this seems to be to "emulate" the function calls on the input data, which seem to be randomized.
In ~/.config/mpv/mpv.conf, add the following line, preferably near the top:
script-opts-add=ytdl_hook-ytdl_path=yt-dlp
That should hopefully solve your issue.