I have created a video composition. I could play this using AVPlayer.
I want to play this composition in a animated CALayer as follows and then render this as a video using AVVideoCompositionCoreAnimationTool without getting blackbars around the video.
Can anyone please suggest me to play and render video in a specified layer?