Skip to content

Instantly share code, notes, and snippets.

@dmthomas
dmthomas / Apple Special Event March 2022 1080p, 1440p, 2160p
Last active April 6, 2023 01:39
Apple Special Event March 2022 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://events-delivery.apple.com/1402uekefjejgldkvaqrqxgjmtehwhez/vod_main_FmkzTaRUQHbdgFMjhhirKrarNznPoHEC/audio_main_en_2ch_aac_128/prog_index.m3u8 -c copy "Apple Special Event, March 2022 temp.aac"
#Dolby Atmos Audio... wut? Audio file must end in .mp4 for ffmpeg to download it correctly. If you want to use Dolby Atmos audio modify the second line of any video format section to use the .mp4 audio file in the merge command.
ffmpeg -i https://events-delivery.apple.com/1402uekefjejgldkvaqrqxgjmtehwhez/vod_main_FmkzTaRUQHbdgFMjhhirKrarNznPoHEC/audio_main_en_16ch_atmos_640/prog_index.m3u8 -c copy "Apple Special Event, March 2022 temp atmos.mp4"
#h264 1080p
ffmpeg -i https://events-delivery.apple.com/1402uekefjejgldkvaqrqxgjmtehwhez/vod_main_FmkzTaRUQHbdgFMjhhirKrarNznPoHEC/sdr_avc_1080p_8500/prog_index.m3u8 -c copy "Apple Special Event, March 2022 (1080p) temp.mp4"
@dmthomas
dmthomas / Apple Special Event Sept 2021 1080p, 1440p, 2160p
Created March 8, 2022 17:59
Apple Special Event Sept 2021 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/1608dybnfpdpxtjascmtuvqexvyggavm/vod_main_CYyqZkRYjozYdZTcgetjpHmMicFBPJrx/audio_main_en_2ch_aac_128/prog_index.m3u8 -c copy "Apple Special Event, September 2021 temp.aac"
#h264 1080p
ffmpeg -i https://p-events-delivery.akamaized.net/1608dybnfpdpxtjascmtuvqexvyggavm/vod_main_CYyqZkRYjozYdZTcgetjpHmMicFBPJrx/sdr_avc_1080p_8500/prog_index.m3u8 -c copy "Apple Special Event, September 2021 (1080p) temp.mp4"
ffmpeg -i "Apple Special Event, September 2021 (1080p) temp.mp4" -i "Apple Special Event, September 2021 temp.aac" -c copy "Apple Special Event, September 2021 (1080p).mp4"
#h265 1080p
ffmpeg -i https://p-events-delivery.akamaized.net/1608dybnfpdpxtjascmtuvqexvyggavm/vod_main_CYyqZkRYjozYdZTcgetjpHmMicFBPJrx/sdr_hvc_1080p_7000/prog_index.m3u8 -c copy "Apple Special Event, September 2021 (1080p) temp.mp4"
@dmthomas
dmthomas / Apple Special Event Oct 2021 1080p, 1440p, 2160p
Created March 8, 2022 17:42
Apple Special Event Oct 2021 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/1001azawzugclrwbvehhawhkerzwfetq/vod_main_QXfNLMWGxcNjjtymsofuJLttKvwNuuVE/audio_main_en_2ch_aac_128/prog_index.m3u8 -c copy "Apple Special Event, October 2021 temp.aac"
#h264 1080p
ffmpeg -i https://p-events-delivery.akamaized.net/1001azawzugclrwbvehhawhkerzwfetq/vod_main_QXfNLMWGxcNjjtymsofuJLttKvwNuuVE/sdr_avc_1080p_8500/prog_index.m3u8 -c copy "Apple Special Event, October 2021 (1080p) temp.mp4"
ffmpeg -i "Apple Special Event, October 2021 (1080p) temp.mp4" -i "Apple Special Event, October 2021 temp.aac" -c copy "Apple Special Event, October 2021 (1080p).mp4"
#h265 1080p
ffmpeg -i https://p-events-delivery.akamaized.net/1001azawzugclrwbvehhawhkerzwfetq/vod_main_QXfNLMWGxcNjjtymsofuJLttKvwNuuVE/sdr_hvc_1080p_7000/prog_index.m3u8 -c copy "Apple Special Event, October 2021 (1080p) temp.mp4"
@dmthomas
dmthomas / Apple Special Event Apr 2021 1080p, 1440p, 2160p
Created April 20, 2021 19:18
Apple Special Event Apr 2021 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/2503gakrdvgbtjurznurjjqymkcddibq/vod_7cmxCio8T7ZZkbTQAXsL24ej7cqN6z27/audio_english_128/prog_index.m3u8 -c copy "Apple Special Event, April 2021 temp.aac"
#h264 1080p
ffmpeg -i https://p-events-delivery.akamaized.net/2503gakrdvgbtjurznurjjqymkcddibq/vod_7cmxCio8T7ZZkbTQAXsL24ej7cqN6z27/SDR_avc_1080p_8500/prog_index.m3u8 -c copy "Apple Special Event, April 2021 (1080p) temp.mp4"
ffmpeg -i "Apple Special Event, April 2021 (1080p) temp.mp4" -i "Apple Special Event, April 2021 temp.aac" -c copy "Apple Special Event, April 2021 (1080p).mp4"
#h265 1080p
ffmpeg -i https://p-events-delivery.akamaized.net/2503gakrdvgbtjurznurjjqymkcddibq/vod_7cmxCio8T7ZZkbTQAXsL24ej7cqN6z27/SDR_hvc_1080p_7000/prog_index.m3u8 -c copy "Apple Special Event, April 2021 (1080p) temp.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"
@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 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 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 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 / 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