0

I am basically using AVAssetExportSession and AVMutableVideoComposition to add my text overlay on top of the video and then compress the video. At the moment, when I compressed the video to AVAssetExportPresetMediumQuality, it also ruined the quality of the text overlay... I dont want this to happen. I just want to lower the quality on the video ONLY and keep the text overlay on top of the video sharp and not pixelated.

Thank You

Adp
  • 253
  • 3
  • 11

1 Answers1

1

Compress the video, then add the text overlay.

DDPWNAGE
  • 1,423
  • 10
  • 37
  • how do i do that though, is my question. – Adp Apr 25 '15 at 01:14
  • 1
    @Adp the same way you are doing it now, just move the compression code before the code to add text. – Doug Watkins Apr 25 '15 at 04:53
  • but..i am using AVAssetExportSession for compression AND exporting...so I dont understand how to do it with that. How do I compress the video AND THEN add the text on top and THEN save the video? – Adp Apr 26 '15 at 05:13