WWDC 2006 2007 2008 2009 2010 2011 2012 2013 2014
#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" |
#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 |
#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 |
#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, |
// Run any SwiftUI view as a Mac app. | |
import Cocoa | |
import SwiftUI | |
NSApplication.shared.run { | |
VStack { | |
Text("Hello, World") | |
.padding() | |
.background(Capsule().fill(Color.blue)) |
The libdispatch is one of the most misused API due to the way it was presented to us when it was introduced and for many years after that, and due to the confusing documentation and API. This page is a compilation of important things to know if you're going to use this library. Many references are available at the end of this document pointing to comments from Apple's very own libdispatch maintainer (Pierre Habouzit).
My take-aways are:
-
You should create very few, long-lived, well-defined queues. These queues should be seen as execution contexts in your program (gui, background work, ...) that benefit from executing in parallel. An important thing to note is that if these queues are all active at once, you will get as many threads running. In most apps, you probably do not need to create more than 3 or 4 queues.
-
Go serial first, and as you find performance bottle necks, measure why, and if concurrency helps, apply with care, always validating under system pressure. Reuse