Detailed MP4 Specification

I'm encoding some videos for the iPhone. Have done this very successfully before but there are a few exceptions. iTunes complains that it can't sync some videos because they "cannot be played on this iPhone".

From jigging about on google it seems only a restricted H.264 profile is supported.

It is frustrating that I can't find any official documentation on what iTunes requires/expects in terms of video profile.

I have one particular video that will sync successfully if I cancel the encode halfway and leave the file incomplete, but will not sync if the encode is completed. More specifically, I'm using ffmpeg to perform the encode.

It would be great if somebody could outline what encoding options need to be used for H.264, with regards to the supported profile(s), i.e. CABAC on/off, partition sizes, etc.

Hearing it from "the horses mouth" so to speak, would restore some faith in the (so far) abysmal experience I've had with Apple support.

-, Other OS

Posted on Mar 30, 2009 2:34 PM

Reply
4 replies

Mar 30, 2009 2:47 PM in response to parallaxed

The one on http://www.apple.com/iphone/specs.html is not enougn?

Video formats supported: H.264 video, up to 1.5 Mbps, 640 by 480 pixels, 30 frames per second, Low-Complexity version of the H.264 Baseline Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; H.264 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Baseline Profile up to Level 3.0 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats.

Apr 4, 2009 6:29 AM in response to Community User

Not really, those options are more related to the overall format - not the H.264 codec specifically, which is what I'm after.

Some of this specification is clearly horsecrap, there are many differing views on what is supported within the apple implementation of the codec, and after all, a profile only amounts to the options supplied to that codec. There is a lot of contention about which options are fully supported and which aren't

I will try some of the tools mentioned, but I suspect that most use ffmpeg under the hood, so the same problems may surface.

It'd be good to hear from apple (or anyone else whos had this problem) what the story is, many thanks for all your comments so far.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Detailed MP4 Specification

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.