Search code examples
iosmpmovieplayercontrollergifmp4

Convert GIF to MP4 on device


Is it possible to take a remote (but I can download it first if needed) GIF sequence and make a MPMoviePlayerViewController playable mp4 on the device?

I have tried using http://api.online-convert.com/, but the API doesn't suit and the free version is too restricted for our needs.

Imagemagick for iOS also doesn't seem to include GIF support.


Solution

  • This wasn't so easy. There is a gist snippet here with the solution.