Use directstorage api, this could have a real impact on performance while reducing ram usage
it could also mean we could use hardware accelerators for video decoding directly in the gpu, maybe encoding but i would not push for that since video encoders on gpu’s are not that good
But it would be great to use a gpu hardware encoder for h264 lossless