Support PHImageManager requests for slo-mo video

Originator:segiddins
Number:rdar://17642916 Date Originated:2014-07-11
Status:Resolved Resolved:2014-08-07
Product:iOS SDK Product Version:8.8
Classification:Enhancement Reproducible:Always
 
Summary:
Right now, the three PHImageManager methods for requesting video do not yield anything for slo-mo videos (videos where there is a PHAdjustmentData with identifier com.apple.video.slomo).

Steps to Reproduce:
Obtain a PHAsset of type PHAssetMediaTypeVideo that has been shot with the camera app’s Slo-Mo mode. Call any of:

1) - (PHImageRequestID)requestPlayerItemForVideo:(PHAsset *)asset options:(PHVideoRequestOptions *)options resultHandler:(void (^)(AVPlayerItem *playerItem, NSDictionary *info))resultHandler;

2) - (PHImageRequestID)requestExportSessionForVideo:(PHAsset *)asset options:(PHVideoRequestOptions *)options exportPreset:(NSString *)exportPreset resultHandler:(void (^)(AVAssetExportSession *exportSession, NSDictionary *info))resultHandler;

3) - (PHImageRequestID)requestAVAssetForVideo:(PHAsset *)asset options:(PHVideoRequestOptions *)options resultHandler:(void (^)(AVAsset *asset, AVAudioMix *audioMix, NSDictionary *info))resultHandler;

Expected Results:
The first argument yielded to the resultHandler should not be nil, and should enable the developer to use the video.

Actual Results:
The first argument yielded to the resultHandler is nil.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!