使用Unity播放视频的时候输出以下警告,建议避免这种情况,因为它可能会导致跳帧。
Unexpected timestamp values detected. This can occur in H.264 videos not encoded with the baseline profile. Timestamps will be skewed to correct the playback for D:/xx.mp4
重点:This can occur in H.264 videos not encoded with the baseline profile.
解决方案:
1.按照要求使用Baseline Profile.
2.在Unity的Inspector中启用Transcode,Apply进行转码。
评论已关闭