ffprobe -v error -select_streams v:0 -show_entries stream=width,height,bit_rate,codec_name,profile -of default=noprint_wrappers=1:nokey=1 Lilo_Stitch_2025_4K_HDR_x264.mkv

(optional) If you ripped from a disc, generate a SHA‑256 of the source video track and compare it to the encoded track’s hash (after decoding to raw YUV) to ensure no accidental truncation.

Released in U.S. theaters on , the film is a live-action/CGI hybrid directed by Dean Fleischer Camp ( Marcel the Shell with Shoes On ). It became a massive box office hit, grossing over $1.03 billion worldwide and setting a record as the highest-grossing hybrid film in history. Lilo & Stitch (2025)

#!/usr/bin/env bash # ------------------------------------------------------------ # Encode Lilo & Stitch (2025) – 4K HDR – x264 (CRF 18, animation) # ------------------------------------------------------------

mediainfo Lilo_Stitch_2025_4K_HDR_x264.mkv | grep -i "HDR"

MKV (x264/AVC) Source: Likely Disney+ Screener or Webrip Bitrate: Variable (approx. 4,500–8,000 kbps) Audio: 5.1 AAC / Opus (transcoded)

The encode at 1080p does its job without major complaints— if you manage expectations. Given this is likely a pre-retail source, the grain structure from the live-action/CG hybrid is surprisingly well-preserved. Stitch’s blue fur doesn’t macroblock during fast motion (e.g., the spaceship chase or the "Aloha ʻOe" red-eye sequence). However, shadow detail on Kauai’s night beaches crushes to near-black in scenes below 3,000 kbps. The x264 codec handles the tropical daylight scenes beautifully—bright reds (Nani’s surfboard) and ocean blues pop without bleeding.

# Copy HDR metadata from source ffmpeg -i source.mkv -map 0 -c copy -metadata:s:v:0 \ "color_primaries=bt2020" -metadata:s:v:0 \ "color_trc=arib-std-b67" -metadata:s:v:0 \ "colorspace=bt2020nc" \ -c:v libx264 -preset slow -tune animation -crf 18 \ -pix_fmt yuv420p10le -x264-params "hdr=1" \ Lilo_Stitch_2025_4K_HDR.mkv