AVFoundation, AVVideoCompositionCoreAnimationTool color space issue

Number:rdar://FB7549206 Date Originated:01/24/2020
Status:Open Resolved:
Product:iOS Product Version:
Classification: Reproducible:yes
Exporting a video with a AVVideoCompositionCoreAnimationTool attached make the output video having colors (color space) issues (not matching source colors). You can see it on this demo project https://github.com/alak/avfoundation-demo-project .

Settings specific color space using the colorTransferFunction, colorYCbCrMatrix and colorPrimaries properties or letting this properties to nil (to let the system take the source video values) doesn't change anything.


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!