create new function to check video conversion error