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.
Unable to download HEVC content from developer.apple.com #22020
Comments
|
|
@dstftw hmm, what OS are you running? I tried on Arch and get the exact same results as on macOS - even when using the same YouTube-dl flags as you. I'll compare our ffmpeg configurations just in case and try on both Windows and a newer MacBook later. Edit: Windows 10 has the same issue |
Checklist
Description
Hi!
Recently, Apple added hvc1 variants of their WWDC talks (plus 4K) for this year as seen from the output below:
Downloading the avc1 streams work perfectly - just the newer hvc1 ones don't.
Both youtube-dl and ffmpeg can't properly download these - unclear of the reasoning. Using
youtube-dl -f hls-1276 https://developer.apple.com/videos/play/wwdc2019/231/appears to use ffmpeg, which spits out a few hundred warnings over a few seconds, then appears to open the same URL for the duration of the "download". An output can be found here - https://pastebin.com/dbXaCebw (apologies, but it was waaaay to big to paste here).The final download is around a 10 second video, and not the full length of the session. Below is a
mediainfoin case it helps.Mediainfo
I read through the FAQ and found that we can choose to prefer native HLS over ffmpeg, which resulted in a file that appeared to have been downloaded correctly (as it was larger than a few mb), but no video players could open it. Again, here's the output of youtube-dl and the mediainfo of the file it downloaded.
youtube-dl
Mediainfo
Strangely enough, I was unable to play the playlist (m3u8) in any other browser than Safari on macOS (unable to test on Linux/Windows atm). VLC can also play these on any platform perfectly by giving it the m3u8 of a HEVC stream (i.e. https://devstreaming-cdn.apple.com/videos/wwdc/2019/231qbm6xl2bbd5t/231/0640c/prog_index.m3u8).