views:

348

answers:

2

According to the MPMoviePlayerController reference:

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)

Does this mean that the highest video resolution that I can programatically play in an iPad is just 640x480? Or are the supported video formats for iPad specified somewhere else?

Thanks!

A: 

@hgpc use the m4v files which is of best one, dont bother about resolution MPMoviecontroller take care of that.

Dont use mov files even though they told it supports lot of time it wont supports.

jeeva
This is all very confusing. Shouldn't there be a definite spec somewhere?
hgpc
A: 

No. Although it does say "up to 640x480" this isn't true. I'm playing 1280x720 resolution videos in an app at the moment and they are working just fine.

For some reason the class reference doesn't give an exhaustive list of formats/extensions supported. As jeeva said above it's probably best to use mp4/m4v if you can.

ChrisJP