``` Kalturadl ========= Download and compress lecture videos from Kaltura on Canvas Right-click the video and select "Inspect" or press Ctrl + Shift + I. Go to the "Network" tab. Play the video for 1-2 seconds, then pause it. Copy the "index.m3u8" URL from the Network tab. Download the video: `bash dlm3u8.sh ` Compress the video to 480p: `ffmpeg -i -vf "scale=-1:480" -c:v libvpx-vp9 -crf 30 -b:v 0 -cpu-used 4 -c:a aac -b:a 128k ` Archive all videos and course materials into a single file: `tar -cvpf - / | zstd -3 -o "_$(date +'%Y%m%d_%H%M%S').tar. zst"` ```