for i in *.mkv; do ffmpeg -i "$i" -c:v libx265 -crf 28 "${i%.*}_compressed.mp4"; done Use this only on media you own. FFmpeg is free, open-source, and runs on Windows/Mac/Linux. Now go enjoy Sheldon’s hilarious social disaster at the frat party—with perfectly synced audio.
ffmpeg -i input.mkv -itsoffset 0.5 -i input.mkv -map 0:v -map 1:a -c copy fixed_audio.mkv The episode is ~1.5GB. To shrink it to 300MB with minimal quality loss: young sheldon s05e13 ffmpeg
Here’s how to use it like a pro. Before doing anything, run this to see what you’re working with: for i in *