the inputfile needs a uint8 array, which i tried converting file to uint8 but that gives a file format error and doesnt process the ffmpeg command