Handle transcoding if the input format is incompatible with the model.
Handle transcoding if the input format is incompatible with the model.