You know, I normally encourage people to ask whatever questions they feel are important to them on these forums, and, if I'm able, I tend to answer "the easy ones" around here.
In the spirit of not making "worthless posts" I am going to point you to _the documents you need to read and definitely should have looked up_ prior to posting such a
basic question. And _I specifically encourage
you_ to use the forums for answers you
can't find so bloody easily.... You're lucky I'm not one of those one-line response, "read the docs" people, because I doubt many people here have the patience to answer this type of question.
From,
http://developer.apple.com/library/ios/documentation/MediaPlayer/Reference/MPMov iePlayerController_Class/
"This class plays any movie or audio file supported in iOS. This includes both streamed content and fixed-length files. For movie files, this typically means files with the extensions .mov, .mp4, .mpv, and .3gp and using one of the following compression standards:
H.264 Baseline Profile Level 3.0 video, up to 640 x 480 at 30 fps. (The Baseline profile does not support B frames.)
MPEG-4 Part 2 video (Simple Profile)"
http://developer.apple.com/library/ios/codinghowtos/AudioAndVideo/#VIDEO-PLAYVIDEO_ONIPHONE
http://developer.apple.com/library/ios/#documentation/AudioVideo/Conceptual/Mult imediaPG/UsingVideo/UsingVideo.html
http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/LoadingRe sources/ImageSoundResources/ImageSoundResources.html