Skip to content

Instantly share code, notes, and snippets.

# Script to download all the WWDC 2020 session videos in the highest 4K video and audio
# You may have to update ffmpeg before using this script. I needed version 4.3 or higher to successfully download the videos.
#
# If you want the lower bitrate audio, do a find/replace of "audio_english_192" with "audio_english_64"
# If you want lower bitrate or lower resolution video, do a find/replace of "hvc_2160p_16800" with any of the following:
# "hvc_2160p_11600"
# "hvc_1440p_8100"
# "hvc_1080p_5800"
# "hvc_1080p_4500"
# "hvc_720p_3400"
@dmthomas
dmthomas / WWDC 2020 Session Title List.txt
Last active October 13, 2020 17:00
WWDC 2020 Session Title List
[Session 101] : Keynote
[Session 102] : Platforms State of the Union
[Session 10004] : Expanding automation with the App Store Connect API
[Session 10005] : What's new in assessment
[Session 10006] : Introducing Car Keys
@dmthomas
dmthomas / Apple Special Event Sept 2020 1080p, 1440p, 2160p
Last active January 19, 2021 01:28
Apple Special Event Sept 2020 1080p, 1440p, 2160p
#h264 1080p
ffmpeg -i https://p-events-delivery.akamaized.net/1108byjxmnoakagswdphbwatymztxxew/vod/avc_1080p_8500/prog_index.m3u8 -c copy "Apple Special Event, September 2020 (1080p) temp.mp4"
ffmpeg -i https://p-events-delivery.akamaized.net/1108byjxmnoakagswdphbwatymztxxew/vod/audio_english_128/prog_index.m3u8 -c copy "Apple Special Event, September 2020 (1080p) temp.aac"
ffmpeg -i "Apple Special Event, September 2020 (1080p) temp.mp4" -i "Apple Special Event, September 2020 (1080p) temp.aac" -c copy "Apple Special Event, September 2020 (1080p).mp4"
#h265 1080p
ffmpeg -i https://p-events-delivery.akamaized.net/1108byjxmnoakagswdphbwatymztxxew/vod/hvc_1080p_7000/prog_index.m3u8 -c copy "Apple Special Event, September 2020 (1080p) temp.mp4"
ffmpeg -i https://p-events-delivery.akamaized.net/1108byjxmnoakagswdphbwatymztxxew/vod/audio_english_128/prog_index.m3u8 -c copy "Apple Special Event, September 2020 (1080p) temp.aac"
ffmpeg -i "Apple Special Event, September 2020 (1080p) temp.mp4" -i "Apple Special Event,
@dmthomas
dmthomas / Apple Special Event Oct 2020 1080p, 1440p, 2160p
Last active October 21, 2020 21:41
Apple Special Event Oct 2020 1080p, 1440p, 2160p
#h264 1080p
ffmpeg -i https://p-events-delivery.akamaized.net/2109isftrwvmiekgrjkbbhxhfbkxjkoj/vod/avc_1080p_8500/prog_index.m3u8 -c copy "Apple Special Event, October 2020 (1080p) temp.mp4"
ffmpeg -i https://p-events-delivery.akamaized.net/2109isftrwvmiekgrjkbbhxhfbkxjkoj/vod/audio_english_128/prog_index.m3u8 -c copy "Apple Special Event, October 2020 (1080p) temp.aac"
ffmpeg -i "Apple Special Event, October 2020 (1080p) temp.mp4" -i "Apple Special Event, October 2020 (1080p) temp.aac" -c copy "Apple Special Event, October 2020 (1080p).mp4"
#h265 1080p
ffmpeg -i https://p-events-delivery.akamaized.net/2109isftrwvmiekgrjkbbhxhfbkxjkoj/vod/hvc_1080p_7000/prog_index.m3u8 -c copy "Apple Special Event, October 2020 (1080p) temp.mp4"
ffmpeg -i https://p-events-delivery.akamaized.net/2109isftrwvmiekgrjkbbhxhfbkxjkoj/vod/audio_english_128/prog_index.m3u8 -c copy "Apple Special Event, October 2020 (1080p) temp.aac"
ffmpeg -i "Apple Special Event, October 2020 (1080p) temp.mp4" -i "Apple Special Event, October 2020 (1
@dmthomas
dmthomas / WWDC Keynote 2020 1080p, 1440p, 2160p
Created October 13, 2020 19:15
WWDC Keynote 2020 1080p, 1440p, 2160p
#h264 1080p
ffmpeg -i https://p-events-delivery.akamaized.net/2605bdtgclbnfypwzfkzdsupvcyzhhbx/vod5/master/8500/1080p_8500.m3u8 -c copy "Apple WWDC 2020 Keynote Address (1080p) temp.mp4"
ffmpeg -i https://p-events-delivery.akamaized.net/2605bdtgclbnfypwzfkzdsupvcyzhhbx/vod5/master/audio/en_128/en_128.m3u8 -c copy "Apple WWDC 2020 Keynote Address (1080p) temp.aac"
ffmpeg -i "Apple WWDC 2020 Keynote Address (1080p) temp.mp4" -i "Apple WWDC 2020 Keynote Address (1080p) temp.aac" -c copy "Apple WWDC 2020 Keynote Address (1080p).mp4"
#h264 1440p
ffmpeg -i https://p-events-delivery.akamaized.net/2605bdtgclbnfypwzfkzdsupvcyzhhbx/vod5/master/10900/1440p_10900.m3u8 -c copy "Apple WWDC 2020 Keynote Address (1440p) temp.mp4"
ffmpeg -i https://p-events-delivery.akamaized.net/2605bdtgclbnfypwzfkzdsupvcyzhhbx/vod5/master/audio/en_128/en_128.m3u8 -c copy "Apple WWDC 2020 Keynote Address (1440p) temp.aac"
ffmpeg -i "Apple WWDC 2020 Keynote Address (1440p) temp.mp4" -i "Apple WWDC 2020 Keynote Address (1440p) temp.aac" -c cop
@dmthomas
dmthomas / Apple October 2020 Tech Talks 1080p, 1440p, 2160p
Created October 23, 2020 20:40
Apple October 2020 Tech Talks 1080p, 1440p, 2160p
#I broke the audio out separately because it's the same stream regardless of which video resolution you choose.
#Integrate SiriKit Media Intents with HomePod
#audio for all
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10854/1/55EB61AC-6A57-452A-924C-75AA0D8B0201/tech-talks-10854/aac/lc_192/aac_lc_192.m3u8 -c copy "Integrate SiriKit Media Intents with HomePod temp.aac"
#h265 1080p
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10854/1/55EB61AC-6A57-452A-924C-75AA0D8B0201/tech-talks-10854/hvc/1080p_5800/hvc_1080p_5800.m3u8 -c copy "Integrate SiriKit Media Intents with HomePod (1080p) temp.mp4"
ffmpeg -i "Integrate SiriKit Media Intents with HomePod (1080p) temp.mp4" -i "Integrate SiriKit Media Intents with HomePod temp.aac" -c copy "Integrate SiriKit Media Intents with HomePod (1080p).mp4"
@dmthomas
dmthomas / Apple Special Event Nov 2020 1080p, 1440p, 2160p
Created November 10, 2020 19:45
Apple Special Event Nov 2020 1080p, 1440p, 2160p
#I broke the audio out separately because it's the same stream regardless of which video resolution you choose.
#Audio for all
ffmpeg -i https://p-events-delivery.akamaized.net/2010ayctcrodak763xivpxn4htcuhco9/vod_yNERgMqbdpzDszTARXB7y674TmVQ4Yvu/audio_english_128/prog_index.m3u8 -c copy "Apple Special Event, November 2020 temp.aac"
#h264 1080p
ffmpeg -i https://p-events-delivery.akamaized.net/2010ayctcrodak763xivpxn4htcuhco9/vod_yNERgMqbdpzDszTARXB7y674TmVQ4Yvu/avc_1080p_8500/prog_index.m3u8 -c copy "Apple Special Event, November 2020 (1080p) temp.mp4"
ffmpeg -i "Apple Special Event, November 2020 (1080p) temp.mp4" -i "Apple Special Event, November 2020 temp.aac" -c copy "Apple Special Event, November 2020 (1080p).mp4"
#h265 1080p
ffmpeg -i https://p-events-delivery.akamaized.net/2010ayctcrodak763xivpxn4htcuhco9/vod_yNERgMqbdpzDszTARXB7y674TmVQ4Yvu/hvc_1080p_7000/prog_index.m3u8 -c copy "Apple Special Event, November 2020 (1080p) temp.mp4"
@dmthomas
dmthomas / Apple November 2020 Tech Talk 1080p, 1440p, 2160p
Created November 10, 2020 21:10
Apple November 2020 Tech Talk 1080p, 1440p, 2160p
#I broke the audio out separately because it's the same stream regardless of which video resolution you choose.
#Tailor your Metal apps for Apple M1
#audio for all
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10859/1/F858CDD5-1DB7-47B3-A1F0-F54700EEC0CB/tech-talks-10859/aac/lc_192/aac_lc_192.m3u8 -c copy "Tailor your Metal apps for Apple M1 temp.aac"
#h265 1080p
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10859/1/F858CDD5-1DB7-47B3-A1F0-F54700EEC0CB/tech-talks-10859/hvc/1080p_5800/hvc_1080p_5800.m3u8 -c copy "Tailor your Metal apps for Apple M1 (1080p) temp.mp4"
ffmpeg -i "Tailor your Metal apps for Apple M1 (1080p) temp.mp4" -i "Tailor your Metal apps for Apple M1 temp.aac" -c copy "Tailor your Metal apps for Apple M1 (1080p).mp4"
@dmthomas
dmthomas / Apple December 2020 Tech Talks 1080p, 1440p, 2160p
Last active March 28, 2021 17:11
Apple December 2020 Tech Talks 1080p, 1440p, 2160p
#I broke the audio out separately because it's the same stream regardless of which video resolution you choose.
#Support Apple Pro Display XDR in your apps
#audio for all
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10023/1/E38B1207-85C1-480D-9EA5-CA79797E842A/tech-talks-10023/aac/lc_192/aac_lc_192.m3u8 -c copy "Support Apple Pro Display XDR in your apps temp.aac"
#h265 1080p
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10023/1/E38B1207-85C1-480D-9EA5-CA79797E842A/tech-talks-10023/hvc/1080p_5800/hvc_1080p_5800.m3u8 -c copy "Support Apple Pro Display XDR in your apps (1080p) temp.mp4"
ffmpeg -i "Support Apple Pro Display XDR in your apps (1080p) temp.mp4" -i "Support Apple Pro Display XDR in your apps temp.aac" -c copy "Support Apple Pro Display XDR in your apps (1080p).mp4"
@dmthomas
dmthomas / Apple February 2021 Tech Talks 1080p, 1440p, 2160p
Created February 26, 2021 04:43
Apple February 2021 Tech Talks 1080p, 1440p, 2160p
#I broke the audio out separately because it's the same stream regardless of which video resolution you choose.
#Convert PyTorch models to Core ML
#audio for all
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10154/1/98B3FF7B-F39A-43C3-BF80-D8C112A8B393/tech-talks-10154/aac/lc_192/aac_lc_192.m3u8 -c copy "Convert PyTorch models to Core ML temp.aac"
#h265 1080p Your mileage may vary, this video stream (1080p) seems to have an error on part 181 and the video freezes there
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10154/1/98B3FF7B-F39A-43C3-BF80-D8C112A8B393/tech-talks-10154/hvc/1080p_5800/hvc_1080p_5800.m3u8 -c copy "Convert PyTorch models to Core ML (1080p) temp.mp4"
ffmpeg -i "Convert PyTorch models to Core ML (1080p) temp.mp4" -i "Convert PyTorch models to Core ML temp.aac" -c copy "Convert PyTorch models to Core ML (1080p).mp4"