Video Composition Layer Instruction setCropRectangle with ROTATED rectangle not working as expected

For any Core Graphics experts out there, as stated in more detail here: ios - AVMutableVideoCompositionLayerInstruction setCropRectangle with ROTATED rectangle not working as expected - Stack Overflow

I want to rotate a crop rectangle before I set it on an AVMutableVideoCompositionlayerInstruction (video editing), but the result I get is not rotated at all. Whatever I do, the crop is on the same aspect ratio.

Do you guys have any idea on how I can achieve this?

This topic was automatically closed after 166 days. New replies are no longer allowed.