Question

I have a customized Player using compositions and some AVAssets. Everything works fine. Now I would like to to some Subtitle on top of my video. I've read in the documentation, that a mediaType "AVMediaTypeSubtitle" exists. Is there any Asset or AVAssetTrack, which can generate a TextOverlay, which I could insert into my composition to do subtitles?

Was it helpful?

Solution

I think there is a better solution then mine, but you can use text overlay using CATextLayer in AVVideoCompositionCoreAnimationTool.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top