How do I convert movie selected in UIImagePickerController to type mp4?

When the user picks a movie from the UIImagePickerController in iOS, how do I convert the selected movie to an mp4 to save to the file system? I am using Swift, but I can understand Objective-C.


Is it better for me to save the movie to a different format? I want to save all the movies in the app to a uniform file type.