Posts

Post not yet marked as solved
1 Replies
I have also tried AVAssetReaderOutput to use copyNextSampleBuffer to get frame by frame. However in some frames I got this errorError Domain=AVFoundationErrorDomain Code=-11829 "Cannot Open" UserInfo={NSLocalizedFailureReason=This media may be damaged., NSLocalizedDescription=Cannot Open, NSUnderlyingError=0x2809589f0 {Error Domain=NSOSStatusErrorDomain Code=-12137 "(null)"}}This error will only happen in iPad Pro. I think this problem is most likely in the hardware decoder of iPad Pro. I have verified in many places (iPad, Macbook, Windows and Linux, with both software and hardware decoder) the video (not only one but many) works while only in iPad Pro it fails.