Understanding Video Color Spaces, Gamut, Transfer Functions, and YUV Conversion for Editing
To edit video correctly you must read its color metadata with ffprobe, understand the YUV model, limited versus full range, BT.601/BT.709 gamuts and transfer functions, apply the appropriate YUV‑to‑RGB matrices, convert gamuts to BT.709, and re‑encode with matching color parameters.