Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
no video formats found bbc iplayer #26432
Comments
|
It's most likely because you need to have authentication to access (at least) this particular requested item, meaning that you cannot watch it (neither download it) without signing in to bbc. |
|
unfortunately same for me (why i'm here) but this is with me signed in and i can watch it in a browser.
|
|
BTW other stuff is fine. but, i think, BBC uses a range of different techniques/providers/formats so it might be one particular setup thats the issue. |
|
Hi, youtube-dl/youtube_dl/extractor/bbc.py Lines 354 to 356 in 45f6362 self._MEDIASELECTOR_URLS contains multiple URLs, but this section of code only ever uses the first of the URLs, and never the second.
I can confirm that this has fixed the issue for both links in this issue ("Gravity", and "The Notebook"). |
|
Please check the URL https://www.bbc.co.uk/programmes/b00sbjzv to see which fix will resolve the 'No video formats found' problem there. |
@ProgrammerAKL The fix that I outlined above also fixes the issue for that URL. |
|
tried but not fixed here. |
|
Fixed by #26821. Thanks also to @ProgrammerAKL who diagnosed the problem separately. My patch tries to retrieve and merge formats and subtitles from any parseable playlist from the mediaselector URL list. Comments, tests welcome. |
Checklist
Verbose log
/home/steve# youtube-dl --verbose https://www.bbc.co.uk/iplayer/episode/m000m2hj/the-notebook
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.bbc.co.uk/iplayer/episode/m000m2hj/the-notebook']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.07.28
[debug] Python version 2.7.17 (CPython) - Linux-4.15.0-108-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: avconv 3.4.6, avprobe 3.4.6, ffmpeg 3.4.6, ffprobe 3.4.6, phantomjs 1000, rtmpdump 2.4
[debug] Proxy map: {}
[bbc.co.uk] m000m2hj: Downloading video page
[bbc.co.uk] m000m2hj: Downloading playlist JSON
[bbc.co.uk] m000m2hg: Downloading media selection XML
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/bbc.py", line 592, in _real_extract
self._sort_formats(formats)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1350, in _sort_formats
raise ExtractorError('No video formats found')
ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Description
WRITE DESCRIPTION HERE
Looks like downloading from iplayer's broke. I've tried youtube-dl -U , also uninstalling/re-installing youtube-dl. Same result. The version of Ubuntu it's running on is Ubuntu 18.04.4 LTS