Use AVVideoCompositionCoreAnimationTool without video track?

Hi,


I'm familiar with AVVideoCompositionCoreAnimationTool and have used it to overlay animations and still images on top of video tracks.


I'd also like to do this without their being an underlying video track. In other words, I want to generate a movie that consists solely of the animated frames without the regular video.


I can't figure out how to do this. AVMutableVideoCompositionLayerInstruction appears to require a video track. I tried initializing it with either nil or an audio track, and in both cases my render failed.


What's the best solution to this problem?

Replies

I tried creating a video track and adding an empty time range to it. This doesn't work; the error message "This media format is not supported" is returned when I try to export the video.


Frank