If you need to render alpha channel video over a background color, image, or video then have a look at this AVAnimator example AVRender on github. This is a demonstration of a lossless composition operation of a background video, a foreground alpha video, and text rendered with the CoreText Framework. One can easily playback this rendered video and sync it to an audio track on playback.
↧