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.
[BBC] no video formats found #23455
[BBC] no video formats found #23455
Comments
|
In this case and some others, YTDL downloads a media selection XML containing only captions. |
|
Bump. Missed this post and reported as new issue. Here's another URL with the issue... program ID workaround doesn't work either: https://www.bbc.com/news/av/health-51637561/coronavirus-watch-how-germs-spread Tried Jdownloader which also fails. Video Download Helper in Chrome only shows two small 640 byte mp4's. Video plays fine in Chrome browser. Verbose log
Using Program ID workaround:
|
|
Workaround (for now): I used Firefox 54 with Flash installed and the site used the Flash Player with Adobe HDS. There is a message that this player will be going away soon so this workaround will stop working soon (probably). I was able to use Video Download Helper 7.3.6 and the Companion App 1.3.0 to download the FLV. Alternatively, HDS Link Detector 0.7.2 also works, along with AdobeHDS.php. However, the resulting FLV file download has all kinds of corrupt and invalid timestamps; this seems to be fixed by running ffmpeg on it and converting it to mp4. For the non-flash, I even tried Replay Media Catcher which seems to be able to download just about anything and even this didn't work. Only way to get non Flash video on BBC now it seems is a screen capture. :( |
|
From the programme page https://www.bbc.co.uk/programmes/p084zgch, the playlist appeared to be loaded as https://open.live.bbc.co.uk/mediaselector/6/select/version/2.0/mediaset/pc/vpid/p084zgch/format/json/atk/c85a24e6703a7a5637970e73bd1a5c1383249c88/asn/1/jsfunc/JS_callbacks0. How this URL was created is a non-obvious exercise for the reader. Catchup programmes (ie that have been broadcast) aren't served in this way and yt-dl handles them fine. |
|
Here's the HDS php link/command:
|
|
From the playlist dirkf posted, I used the DASH link with youtube-dl:
It appears, you only need to put the program ID in to the following URL:
So for other programs, just change the program ID. |
|
OK, a winner! The "pc" path component appears to reflect the device that the BBC thinks you're using, and could be "iptv-all" as in the playlist path used by the yt-dl BBC site plugin. Dear BBC site plugin maintainer, please support this type of programme page with playlist path "/mediaselector/6/select/version/2.0/mediaset/iptv-all/vpid/" in addition to the traditional type with playlist path "/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/" |
|
This was fixed with #23415 (posted 3 months ago now! still not merged) |
|
Alternative resolution is PR #26821 (less than a year and had no memory of having posted in this bug :-() |
Checklist
Verbose log
Description
A download of a BBC video doesn't work. The video is actually part of this page, from which it cannot be downloaded as well. With both links (this one and the embedded one), video playback works flawlessly in a browser, outside of UK (in Germany). Looking at the network traffic, I can also extract the DASH manifest by hand and download it using
youtube-dl.