I want to select an video file located in my iPhone and have to upload it to the server.
As UIImagePicker is used to select pictures available in our photo library or so
Use Assets library. Refer this question: Accessing Videos in library using AssetsLibrary framework iPhone?
And on searching, I found this method to access videos using image picker controller.