I need the unity video player to play a 2880 x 1440 resolution video encoded as a h.265 mp4. It plays fine on both mac and windows in vlc. In Unity on windows the playback is so choppy its unusable. I on mac I just get an error. Unity claims to support this codec but has anyone had any success with it in a project?
Thanks. - John
This is the error I get on mac.
Error ‘Cannot Decode’
Error details:
Error Domain=AVFoundationErrorDomain Code=-11833 “Cannot Decode” UserInfo={NSUnderlyingError=0x7fbedb45e6c0 {Error Domain=NSOSStatusErrorDomain Code=-12906 “(null)”}, NSLocalizedFailureReason=The decoder required for this media cannot be found., AVErrorMediaTypeKey=vide, NSLocalizedDescription=Cannot Decode}
Codec: hev1
Format:
{
BitsPerComponent = 8;
CVFieldCount = 1;
CVImageBufferChromaLocationBottomField = Left;
CVImageBufferChromaLocationTopField = Left;
CVPixelAspectRatio = {
HorizontalSpacing = 1;
VerticalSpacing = 1;
};
Depth = 24;
FormatName = “‘hev1’”;
FullRangeVideo = 0;
RevisionLevel = 0;
…