Created
July 2, 2020 14:47
-
-
Save Kiran-B/1e8cd96ea8166144d3ed7e9c706a9a56 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script to download all the WWDC 2020 session videos in the 1080p resolution. | |
# You may have to update ffmpeg before using this script. I needed version 4.3 or higher to successfully download the videos. | |
# | |
# On a Mac, | |
# Install brew (https://brew.sh) | |
# brew install ffmpeg | |
# | |
# If you want the lower bitrate audio, do a find/replace of "audio_english_192" with "audio_english_64" | |
# If you want higher/lower bitrate/resolution video, do a find/replace of "hvc_1080p_5800" with any of the following: | |
# "hvc_2160p_11600" | |
# "hvc_1440p_8100" | |
# "hvc_1080p_5800" | |
# "hvc_1080p_4500" | |
# "hvc_720p_3400" | |
# "hvc_720p_2400" | |
# "hvc_540p_1600" | |
# "avc_1080p_6000" | |
# "avc_720p_4500" | |
# "avc_720p_3000" | |
# "avc_540p_2000" | |
# | |
# Test using the below five lines to get the Monday Wrap-up video because it's short before using all or any of the remaining script. | |
ffmpeg -i https://devstreaming-cdn.apple.com/videos/wwdc/2020/10691/2/A92788CB-81ED-4CCF-B6B1-4DD7A1F3E87D/hvc_1080p_5800/prog_index.m3u8 -c copy "Session - 10691 temp.mp4" | |
ffmpeg -i https://devstreaming-cdn.apple.com/videos/wwdc/2020/10691/2/A92788CB-81ED-4CCF-B6B1-4DD7A1F3E87D/audio_english_192/prog_index.m3u8 -c copy "Session - 10691 temp.aac" | |
ffmpeg -i "Session - 10691 temp.mp4" -i "Session - 10691 temp.aac" -c copy "Session 10691 - [email protected]" | |
rm "Session - 10691 temp.mp4" | |
rm "Session - 10691 temp.aac" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment