1

How is it possible to render CALayer that has lots of animations to a mov file?

I know how to render it with AVVideoCompositionCoreAnimationTool videoCompositionCoreAnimationToolWithPostProcessingAsVideoLayer but therefore i need a dummy video (i have one 1x1px) but i am wondering how this can be done without having a mp3/mov, so simply rendering a CALayer to a video without any other resources.

Any ideas? Maybe even code examples?

Martin Mlostek
  • 2,755
  • 1
  • 28
  • 57

1 Answers1

0

This RenderCoreAnimationToVideo will help you. Check it.

The above example is for Mac OS, but it easy to convert for iOS.

Mohamed Jaleel Nazir
  • 5,776
  • 3
  • 34
  • 48