ffmpeg -i rick_and_morty_s03e01.mkv -c:v libx265 -crf 20 -preset slow -pix_fmt yuv420p10le -c:a copy output_s03e01.mp4 Use code with caution.

for f in *.mkv; do ffmpeg -i "$f" -c:v libx264 -crf 18 -c:a aac -b:a 192k "$f%.mkv.mp4"; done Use code with caution.

Manually encoding 10 episodes is tedious. Use a simple bash loop to process every file in your folder automatically:

If you want to archive Season 3 while saving disk space, H.265 is the best choice. This script targets a balance between file size and "source-transparent" quality.