: For animated content with bright colors and strong edges, use tune=animation . It boosts the encoder’s psychovisual model for cartoons, preserving crisp lines without bloating the file.

If you’re on a low‑power machine (e.g., a NAS), replace -preset slow with -preset medium and bump -crf to 19 . You’ll still get a beautiful picture, and the encode will finish ~30 % faster.

10‑bit color preserves the HDR dynamic range while staying compatible with most H.264 players that support 10‑bit streams (e.g., VLC, Plex).

Expected output: