AVAssetImageGenerator creates incorrect image when used in conjunction with PhotoKit

Originator:jensen39
Number:rdar://18447712 Date Originated:9/24/2014
Status:Open Resolved:
Product:iOS SDK Product Version:8.0 GM (12A365)
Classification:Bug Reproducible:Always
 
Summary:
When using PhotoKit provided AVAssets, AVAssetImageGenerator generates  incorrect images.

Steps to Reproduce:
1. Run the provided demo app.
2. Take note of the correct image generated by using AVAssetImageGenerator  with AVURLAsset.
3. Switch to the other tab & allow photo access.
4. Note that the image generated using AVAssetImageGenerator with PhotoKit is incorrect.

Expected Results:
The image generated using the AVAsset provided by PhotoKit is correct.
See correct.jpg

Actual Results:
The image generated using the AVAsset provided by PhotoKit is incorrect.
See incorrect.jpg

Version:
iOS 8 GM

Notes:
The example video was taken on an iPhone 5s

Configuration:
iPhone 5s

Attachments:

https://www.dropbox.com/s/redvljkvwrg0zn3/AssetImageGeneratorDemo.zip

https://www.dropbox.com/s/1elnucnmtvszt8h/correct.jpg?dl=0

https://www.dropbox.com/s/ockqmw8mv510r9g/incorrect.jpg?dl=0

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!