What are the video formats supported by MPMoviePlayerController on iPad?

When you use iTunes to sync your videos with iPhone, videos are always saved with a width of no more than 640 pixels, if I'm not mistaken.

How about an iPad? What size iTunes video syncs with iPad? 1024x768? and what if the video has a size below 1024x768? Will it expand? or will it save video with low resolution and scale during playback?

The question is that I am using MPMoviePlayerController and I need to know what permissions to expect, so I can configure the interface.

thanks.

+4
source share
1 answer

From the MPMoviePlayerController docs:

Supported Formats
This class supports any movie or audio file that already plays correctly on your iPod or iPhone. This includes both streaming content and fixed-length files. For movie files, this usually means files with the extensions .mov, .mp4, .mpv and .3gp and using one of the following compression standards:
1. H.264 Baseline Profile Level 3.0 video, up to 640 x 480 at 30 frames per second. (The base profile does not support B-frames.)
2. MPEG-4 Part 2 video (Simple profile)
If you use this class to play audio files, it displays a white screen with the QuickTime logo during audio playback. For audio files, this class supports AAC-LC audio at frequencies up to 48 kHz and MP3 (MPEG-1 Audio Layer 3) up to 48 kHz, stereo audio.

And yes, you can scale to fit your presentation or go in full screen, like on the iPhone.

+12
source

Source: https://habr.com/ru/post/1308109/


All Articles