Posts

Post not yet marked as solved
1 Replies
840 Views
Hi Apple,We are having issues playing our custom encoded h264 video on iPad Pro. The issue we refer is video playback is choppy. Attached one such sample which exhibit such behaviour. This video plays perfectly fine on iPad and iPad Air 2, but with any iPad Pro model the playback is choppy. Let me know if you cannot open this video. Please find the zipped video file in the Link.Additionally, I also tried to do extra processing, but got "Cannot Decode" error from AVAssetExportSession on iPad Pro. However, on the other normal iPad or iPad Air I don't see any problem.The sample code for playing video is very simple:AVPlayer *videoPlayer = [AVPlayer playerWithURL:[NSURL fileURLWithPath:filePath]];AVPlayerViewController *playerViewController = [[AVPlayerViewController alloc] init];playerViewController.player = videoPlayer;playerViewController.showsPlaybackControls = YES;playerViewController.videoGravity = AVLayerVideoGravityResizeAspect;playerViewController.view.frame = CGRectMake(0, 0, CGRectGetWidth(self.view.bounds), CGRectGetHeight(self.view.bounds));Thank you.
Posted
by zzrapsodo.
Last updated
.