Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dmthomas/72dcce13649b598961325095488d17bc to your computer and use it in GitHub Desktop.
Save dmthomas/72dcce13649b598961325095488d17bc to your computer and use it in GitHub Desktop.
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"
#h265 1440p
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10859/1/F858CDD5-1DB7-47B3-A1F0-F54700EEC0CB/tech-talks-10859/hvc/1440p_8100/hvc_1440p_8100.m3u8 -c copy "Tailor your Metal apps for Apple M1 (1440p) temp.mp4"
ffmpeg -i "Tailor your Metal apps for Apple M1 (1440p) temp.mp4" -i "Tailor your Metal apps for Apple M1 temp.aac" -c copy "Tailor your Metal apps for Apple M1 (1440p).mp4"
#h265 2160p
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10859/1/F858CDD5-1DB7-47B3-A1F0-F54700EEC0CB/tech-talks-10859/hvc/2160p_16800/hvc_2160p_16800.m3u8 -c copy "Tailor your Metal apps for Apple M1 (2160p) temp.mp4"
ffmpeg -i "Tailor your Metal apps for Apple M1 (2160p) temp.mp4" -i "Tailor your Metal apps for Apple M1 temp.aac" -c copy "Tailor your Metal apps for Apple M1 (2160p).mp4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment