BBC iPlayer 1080p video=12000000.m3u8
See original GitHub issueChecklist
- I’m reporting a site feature request
- I’ve verified that I’m running youtube-dl version 2021.06.06
- I’ve searched the bugtracker for similar site feature requests including closed ones
Description
WRITE DESCRIPTION HERE
I’ve discovered that modifying the playlist download URL for BBC iPlayer from
…-video=5070000.m3u8…
to
-video=12000000.m3u8
will give you access to BBC iPlayer content in 1080p50! I discovered this through this post:
Not sure how the poster discovered this and not sure whether this is hidden from known media selectors etc. But please consider how this can be incorporated into youtube-dl or please help describing how I can experiment with customizing the Python code myself.
Example BBC iPlayer URL that works:
https://www.bbc.co.uk/iplayer/episode/m0010s0w/panorama-online-abuse-why-do-you-hate-me
get-iplayer finds the following playlist URL:
The standard 720p content in .mp4 downloaded with get-iplayer is 1.01GB, ffprobe shows:
Duration: 00:28:59.69, start: 0.000000, bitrate: 5037 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 4895 kb/s, 50 fps, 50 tbr, 90k tbn, 100 tbc (default) Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 125 kb/s (default)
The modified playlist URL for 1080p is:
The 1080p version in .mp4 downloaded with youtube-dl using the modified playlist URL is 1.79GB, ffprobe shows:
Duration: 00:28:59.69, start: 0.000000, bitrate: 8882 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 8742 kb/s, 50 fps, 50 tbr, 90k tbn, 100 tbc (default) Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 125 kb/s (default)
Issue Analytics
- State:
- Created 2 years ago
- Comments:27 (10 by maintainers)
Top Related StackOverflow Question
A slightly improved version of the patch listed above that clones the
fmtdict and just overrides/updates the differing attributes:This makes the entry show up in
--list-formatscorrectly and writes directly to a.mp4file etc.Sorry, I was being obtuse. You’re right: somehow I managed to paste
, fmt)into the diff. If you try the updated patch above it should be more useful.