So the repo version of youtube-dl is already broken & the package needs updating.. This is why this recommend is a poor idea. Ex. with current vivid youtube-dl package -
$ mpv https://www.youtube.com/watch?v=C-dW7z0QBNg Playing: https://www.youtube.com/watch?v=C-dW7z0QBNg [ytdl_hook] WARNING: video doesn't have subtitles [ytdl_hook] ERROR: Signature extraction failed: Traceback (most recent call last): [ytdl_hook] File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 554, in _decrypt_signature [ytdl_hook] video_id, player_url, s [ytdl_hook] File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 468, in _extract_signature_function [ytdl_hook] res = self._parse_sig_js(code) [ytdl_hook] File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 529, in _parse_sig_js [ytdl_hook] 'Initial JS player signature function name') [ytdl_hook] File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 481, in _search_regex [ytdl_hook] raise RegexNotFoundError('Unable to extract %s' % _name) [ytdl_hook] RegexNotFoundError: Unable to extract Initial JS player signature function name; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. [ytdl_hook] (caused by RegexNotFoundError(u'Unable to extract Initial JS player signature function name; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. [ytdl_hook] youtube-dl failed, trying to play URL directly ... Failed to recognize file format. Exiting... (Errors when loading file) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1400445 Title: Recommend of youtube-dl is questionable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mpv/+bug/1400445/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs