ffmpeg -i "Young.Sheldon.S04E17.mkv" -vf cropdetect -f null - 2>&1 | grep crop Then re-encode with detected crop:
Better method – delay audio stream directly: young sheldon s04e17 ffmpeg
ffmpeg -i "Young.Sheldon.S04E17.mkv" -vf "crop=1920:800:0:140" -c:v libx264 -crf 18 -preset fast -c:a copy output.mkv If audio drifts after ~10 minutes: ffmpeg -i "Young
ffmpeg -i "input.mkv" -itsoffset 0.2 -i "input.mkv" -map 1:v -map 0:a -c copy sync_fixed.mkv (Adjust 0.2 seconds – try -0.2 if audio is ahead) young sheldon s04e17 ffmpeg