I have YUV files with me. I need to project the contents of this file onto a mesh. It’s kind of like I have a YUV file that is like a sample of a video stream. For now, I need to get that to play on the mesh.
I tried converting it using FFMPEG and adding them as video, but there is a lot of data that is lost in the process.
It was previously done in GLSL and OpenGL was able to access YUV files as 2Dtexture (image array) (But then again, I didn’t do it and I’m not able to get ahold of people who worked on it).
So I was wondering if there was a way for me use the YUV file as such, like an image array and write a shader to access them and all the color corrections necessary and apply on to the mesh.
Or can anyone suggest any other work around or solution for this?
Thanks in advance!