Credit Andrew for termux patches and Andrew for prores_ks format