-
-
Save floriankugler/5760217 to your computer and use it in GitHub Desktop.
In order for this to work you need ffmpeg. I tried with version 1.2.1. | |
1) Play the video you want to download in the browser | |
2) Inspect the video element on the page | |
3) Copy the video url from the page source (something like http://devstreaming.apple.com/videos/wwdc/2013/.../101/ref.mov) | |
4) In this url replace "ref.mov" with "iphone_c.m3u8" (for 960x540 resolution) or "atp.m3u8" if you want more (probably 720p?) | |
5) Execute `ffmpeg -y -i http://devstreaming.apple.com/videos/wwdc/2013/.../101/iphone_c.m3u8 output.mp4` | |
6) There is your video :) |
my ffmpeg ask for -strict -2 parameters
./ffmpeg -y -i http://devstreaming.....atv.m3u8 -strict -2 output.mov
ipad_w.m3u8 is the iPad link (720p)
Nice! I wrapped this up into a shell script: https://github.com/timd/dubdubDownloader
@timd would be great if you will also add a wrapper to parse urls from videos.json
and provide easy way to specify what videos to download ;)
videos.json
- is url loaded for example on ipad. I've found it via mitmproxy. But looks like it has some sensitive data, so I can't share it :(
But I'm working on a simple ruby script right now ;)
For those who is interested here is the script for auto download of all the videos. And it also can be rerun later from the same directory to downloaded newly released videos.
@dkduck thanks for good starting point! ;)
I don't think this is the best solution for downloading, because ffmpeg seems to reencode the video...
Better than nothing :)
You could try:
ffmpeg -i http://*** -vcodec copy -acodec copy output.mp4
Thanks, I'll try.
Can help spread youtube or network disk do?
I think that should say
atv.m3u8