Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dmthomas/fa135fc680ee6b2ed76d9b48265fa456 to your computer and use it in GitHub Desktop.
Save dmthomas/fa135fc680ee6b2ed76d9b48265fa456 to your computer and use it in GitHub Desktop.
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"
#h265 1440p
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10023/1/E38B1207-85C1-480D-9EA5-CA79797E842A/tech-talks-10023/hvc/1440p_8100/hvc_1440p_8100.m3u8 -c copy "Support Apple Pro Display XDR in your apps (1440p) temp.mp4"
ffmpeg -i "Support Apple Pro Display XDR in your apps (1440p) temp.mp4" -i "Support Apple Pro Display XDR in your apps temp.aac" -c copy "Support Apple Pro Display XDR in your apps (1440p).mp4"
#h265 2160p
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10023/1/E38B1207-85C1-480D-9EA5-CA79797E842A/tech-talks-10023/hvc/2160p_16800/hvc_2160p_16800.m3u8 -c copy "Support Apple Pro Display XDR in your apps (2160p) temp.mp4"
ffmpeg -i "Support Apple Pro Display XDR in your apps (2160p) temp.mp4" -i "Support Apple Pro Display XDR in your apps temp.aac" -c copy "Support Apple Pro Display XDR in your apps (2160p).mp4"
#Uniform Type Identifiers — a reintroduction
#audio for all
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10696/1/E0DCEE93-5697-4594-B8F3-2708B3F002D7/tech-talks-10696/aac/lc_192/aac_lc_192.m3u8 -c copy "Uniform Type Identifiers — a reintroduction temp.aac"
#h265 1080p
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10696/1/E0DCEE93-5697-4594-B8F3-2708B3F002D7/tech-talks-10696/hvc/1080p_5800/hvc_1080p_5800.m3u8 -c copy "Uniform Type Identifiers — a reintroduction (1080p) temp.mp4"
ffmpeg -i "Uniform Type Identifiers — a reintroduction (1080p) temp.mp4" -i "Uniform Type Identifiers — a reintroduction temp.aac" -c copy "Uniform Type Identifiers — a reintroduction (1080p).mp4"
#h265 1440p
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10696/1/E0DCEE93-5697-4594-B8F3-2708B3F002D7/tech-talks-10696/hvc/1440p_8100/hvc_1440p_8100.m3u8 -c copy "Uniform Type Identifiers — a reintroduction (1440p) temp.mp4"
ffmpeg -i "Uniform Type Identifiers — a reintroduction (1440p) temp.mp4" -i "Uniform Type Identifiers — a reintroduction temp.aac" -c copy "Uniform Type Identifiers — a reintroduction (1440p).mp4"
#h265 2160p
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10696/1/E0DCEE93-5697-4594-B8F3-2708B3F002D7/tech-talks-10696/hvc/2160p_16800/hvc_2160p_16800.m3u8 -c copy "Uniform Type Identifiers — a reintroduction (2160p) temp.mp4"
ffmpeg -i "Uniform Type Identifiers — a reintroduction (2160p) temp.mp4" -i "Uniform Type Identifiers — a reintroduction temp.aac" -c copy "Uniform Type Identifiers — a reintroduction (2160p).mp4"
#Explore UI Animation Hitches and the Render Loop
#audio for all
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10855/1/DC8ED133-3146-44E6-9B01-9C7636EEB0E4/tech-talks-10855/aac/lc_192/aac_lc_192.m3u8 -c copy "Explore UI Animation Hitches and the Render Loop temp.aac"
#h265 1080p
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10855/1/DC8ED133-3146-44E6-9B01-9C7636EEB0E4/tech-talks-10855/hvc/1080p_5800/hvc_1080p_5800.m3u8 -c copy "Explore UI Animation Hitches and the Render Loop (1080p) temp.mp4"
ffmpeg -i "Explore UI Animation Hitches and the Render Loop (1080p) temp.mp4" -i "Explore UI Animation Hitches and the Render Loop temp.aac" -c copy "Explore UI Animation Hitches and the Render Loop (1080p).mp4"
#h265 1440p
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10855/1/DC8ED133-3146-44E6-9B01-9C7636EEB0E4/tech-talks-10855/hvc/1440p_8100/hvc_1440p_8100.m3u8 -c copy "Explore UI Animation Hitches and the Render Loop (1440p) temp.mp4"
ffmpeg -i "Explore UI Animation Hitches and the Render Loop (1440p) temp.mp4" -i "Explore UI Animation Hitches and the Render Loop temp.aac" -c copy "Explore UI Animation Hitches and the Render Loop (1440p).mp4"
#h265 2160p
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10855/1/DC8ED133-3146-44E6-9B01-9C7636EEB0E4/tech-talks-10855/hvc/2160p_16800/hvc_2160p_16800.m3u8 -c copy "Explore UI Animation Hitches and the Render Loop (2160p) temp.mp4"
ffmpeg -i "Explore UI Animation Hitches and the Render Loop (2160p) temp.mp4" -i "Explore UI Animation Hitches and the Render Loop temp.aac" -c copy "Explore UI Animation Hitches and the Render Loop (2160p).mp4"
#Find and Fix Hitches in the Commit Phase
#audio for all
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10856/1/A64686FE-E409-4607-AB1F-E7EFEC009FC5/tech-talks-10856/aac/lc_192/aac_lc_192.m3u8 -c copy "Find and Fix Hitches in the Commit Phase temp.aac"
#h265 1080p
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10856/1/A64686FE-E409-4607-AB1F-E7EFEC009FC5/tech-talks-10856/hvc/1080p_5800/hvc_1080p_5800.m3u8 -c copy "Find and Fix Hitches in the Commit Phase (1080p) temp.mp4"
ffmpeg -i "Find and Fix Hitches in the Commit Phase (1080p) temp.mp4" -i "Find and Fix Hitches in the Commit Phase temp.aac" -c copy "Find and Fix Hitches in the Commit Phase (1080p).mp4"
#h265 1440p
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10856/1/A64686FE-E409-4607-AB1F-E7EFEC009FC5/tech-talks-10856/hvc/1440p_8100/hvc_1440p_8100.m3u8 -c copy "Find and Fix Hitches in the Commit Phase (1440p) temp.mp4"
ffmpeg -i "Find and Fix Hitches in the Commit Phase (1440p) temp.mp4" -i "Find and Fix Hitches in the Commit Phase temp.aac" -c copy "Find and Fix Hitches in the Commit Phase (1440p).mp4"
#h265 2160p
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10856/1/A64686FE-E409-4607-AB1F-E7EFEC009FC5/tech-talks-10856/hvc/2160p_16800/hvc_2160p_16800.m3u8 -c copy "Find and Fix Hitches in the Commit Phase (2160p) temp.mp4"
ffmpeg -i "Find and Fix Hitches in the Commit Phase (2160p) temp.mp4" -i "Find and Fix Hitches in the Commit Phase temp.aac" -c copy "Find and Fix Hitches in the Commit Phase (2160p).mp4"
#Demystify and Eliminate Hitches in the Render Phase
#audio for all
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10857/1/B9C4775A-FD59-4AF0-921B-EE8E177A04B7/tech-talks-10857/aac/lc_192/aac_lc_192.m3u8 -c copy "Demystify and Eliminate Hitches in the Render Phase temp.aac"
#h265 1080p
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10857/1/B9C4775A-FD59-4AF0-921B-EE8E177A04B7/tech-talks-10857/hvc/1080p_5800/hvc_1080p_5800.m3u8 -c copy "Demystify and Eliminate Hitches in the Render Phase (1080p) temp.mp4"
ffmpeg -i "Demystify and Eliminate Hitches in the Render Phase (1080p) temp.mp4" -i "Demystify and Eliminate Hitches in the Render Phase temp.aac" -c copy "Demystify and Eliminate Hitches in the Render Phase (1080p).mp4"
#h265 1440p
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10857/1/B9C4775A-FD59-4AF0-921B-EE8E177A04B7/tech-talks-10857/hvc/1440p_8100/hvc_1440p_8100.m3u8 -c copy "Demystify and Eliminate Hitches in the Render Phase (1440p) temp.mp4"
ffmpeg -i "Demystify and Eliminate Hitches in the Render Phase (1440p) temp.mp4" -i "Demystify and Eliminate Hitches in the Render Phase temp.aac" -c copy "Demystify and Eliminate Hitches in the Render Phase (1440p).mp4"
#h265 2160p
ffmpeg -i https://devstreaming-cdn.apple.com/videos/tech-talks/10857/1/B9C4775A-FD59-4AF0-921B-EE8E177A04B7/tech-talks-10857/hvc/2160p_16800/hvc_2160p_16800.m3u8 -c copy "Demystify and Eliminate Hitches in the Render Phase (2160p) temp.mp4"
ffmpeg -i "Demystify and Eliminate Hitches in the Render Phase (2160p) temp.mp4" -i "Demystify and Eliminate Hitches in the Render Phase temp.aac" -c copy "Demystify and Eliminate Hitches in the Render Phase (2160p).mp4"
@ema07cqc
Copy link

Thanks. CPU is at 10% or 15%. And I can even play 8K videos with no issues. Tried on QuickTime and VLC.

Oh sorry! I just remembered what's causing your problem. Update FFmpeg to the latest version and redownload the video you're trying. I had this issue when I first started because I was on an older version of FFmpeg.

okay! That could be the reason, because Ive just tried to convert it to lower resolution (720p) using Handbrake, and the output video freezes too.

@ema07cqc
Copy link

Finally, I was able to download MP4 + AAC and merge them successfully.
Followed this tutorial on installing latest FFMPEG 4.3.2 on Debian https://www.osradar.com/install-the-latest-version-ffmpeg-ubuntu-debian/

Thanks.

@dmthomas
Copy link
Author

Cool! 👍🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment