How to create an AVAsset from an image

I am trying to edit videos and images together using AVFoundation. However, it seems that AVAsset cannot be created from an image file? Anyone give me any suggestions?

+4
source share
1 answer

Well, I'm absolutely sure that AVAsset is prepared for Media over time, so AVAsset cannot be created from an image.

+1
source

Source: https://habr.com/ru/post/1402624/


All Articles