Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Videos on Iphone 3G and 3GS

Hello all,

I've got several .mov videos encoded into H.264, 640 by 480 pixels, 30 frames per second into my website.

These videos are visibles with Iphone 3GS but not in Iphone 3G.

I tested in embed/html5 mode.

Anybody know where is the problem ?

Thank in advance.

iOS 4

Posted on Dec 22, 2010 3:08 AM

Reply
7 replies

Dec 22, 2010 8:41 PM in response to jpallanore

Try posting the MediaInfo report for the files: http://mediainfo.massanti.com/

Edit:

iPhone 3G - Technical Specifications

*_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


iPhone 3GS - Technical Specifications

*_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 per channel, 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


Official limitations. The 3GS often accepts to play files that exceed said limitations, whereas the 3G doesn't.

Dec 23, 2010 1:12 AM in response to jpallanore

General / Container Stream #1
Total Video Streams for this File.................1
Total Audio Streams for this File.................1
Video Codecs Used.................................AVC
Audio Codecs Used.................................AAC LC
File Format.......................................MPEG-4
Play Time.........................................5mn 19s
Total File Size...................................18.0 MiB
Total Stream BitRate..............................471 Kbps
Encoding Library..................................Apple QuickTime
Video Stream #1
Codec (Human Name)................................AVC
Codec (FourCC)....................................avc1
Codec Profile.....................................Main@L2.1
Frame Width.......................................480 pixels
Frame Height......................................271 pixels
Frame Rate........................................24.000 fps
Total Frames......................................7671
Display Aspect Ratio..............................16:9
Scan Type.........................................Progressive
Color Space.......................................YUV
Codec Settings (Summary)..........................2 Ref Frames
QF (like Gordian Knot)............................0.117
Codec Settings (CABAC)............................No
Codec Settings (Reference Frames).................2
Video Stream Length...............................5mn 19s 625ms
Video Stream BitRate..............................367 Kbps
Video Stream BitRate Mode.........................VBR
Bit Depth.........................................8 bits
Video Stream Size.................................14.0 MiB (78%)
Video Stream Language.............................English
Date of Original Encoding.........................UTC 2010-12-08 13:15:08
Color Primaries...................................BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Transfer Characteristics..........................BT.709-5, BT.1361
Matrix Coefficients...............................BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Audio Stream #1
Codec.............................................AAC
Codec (FourCC)....................................40
Audio Stream Length...............................5mn 19s 637ms
Audio Stream BitRate..............................56.1 Kbps
Audio Stream BitRate (Nominal)....................64.0 Kbps
Audio Stream BitRate Mode.........................CBR
Number of Audio Channels..........................2
Audio Channel's Positions.........................Front: L R
Sampling Rate.....................................48.0 KHz
Audio Stream Size.................................2.14 MiB (12%)
Audio Stream Language.............................English
Date of Original Encoding.........................UTC 2010-12-08 13:15:08

What's the fields important ?

Dec 23, 2010 1:38 AM in response to jpallanore

The above MediaInfo doesn't work with Iphone 3G but does with Iphone 3GS.

I've also an another .mov video encoded into H.264, 640 by 480 pixels, 30 frames per second which not work on both IPhone 3G and IPhone 3GS.

Here is the MediaInfo report :

General / Container Stream #1
Total Video Streams for this File.................1
Total Audio Streams for this File.................1
Video Codecs Used.................................AVC
Audio Codecs Used.................................AAC LC
File Format.......................................MPEG-4
Play Time.........................................2mn 59s
Total File Size...................................8.53 MiB
Total Stream BitRate..............................399 Kbps
Encoding Library..................................Apple QuickTime
Video Stream #1
Codec (Human Name)................................AVC
Codec (FourCC)....................................avc1
Codec Profile.....................................Main@L2.1
Frame Width.......................................480 pixels
Frame Height......................................271 pixels
Frame Rate........................................14.970 fps
Total Frames......................................2684
Display Aspect Ratio..............................16:9
Scan Type.........................................Progressive
Color Space.......................................YUV
Codec Settings (Summary)..........................2 Ref Frames
QF (like Gordian Knot)............................0.065
Codec Settings (CABAC)............................No
Codec Settings (Reference Frames).................2
Video Stream Length...............................2mn 59s 291ms
Video Stream BitRate..............................127 Kbps
Video Stream BitRate Mode.........................VBR
Bit Depth.........................................8 bits
Video Stream Size.................................2.72 MiB (32%)
Video Stream Language.............................English
Date of Original Encoding.........................UTC 2010-12-01 12:12:58
Color Primaries...................................BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Transfer Characteristics..........................BT.709-5, BT.1361
Matrix Coefficients...............................BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Audio Stream #1
Codec.............................................AAC
Codec (FourCC)....................................40
Audio Stream Length...............................2mn 59s 285ms
Audio Stream BitRate..............................64.0 Kbps
Audio Stream BitRate Mode.........................CBR
Number of Audio Channels..........................2
Audio Channel's Positions.........................Front: L R
Sampling Rate.....................................48.0 KHz
Audio Stream Size.................................1.37 MiB (16%)
Audio Stream Language.............................English
Date of Original Encoding.........................UTC 2010-12-01 12:12:58

Dec 30, 2010 11:00 AM in response to jpallanore

Both videos are Main Profile, which will not work on the 3G. The 3GS, despite officially supporting only Baseline Profile, often supports Main and even High profile (since iOS 3), via iTunes sync (it's been a while since I tested streaming).

In any case, if you make the video iPhone 3G-compatible it'll also play on later iPhones (and should also work on the original iPhone).

What software are you using to encode the videos to H.264?

Jan 8, 2011 11:09 AM in response to jpallanore

jpallanore wrote:
+The 3GS, despite officially supporting only Baseline Profile, often supports Main and even High profile+

And with which conditions (Frms, Frames/s, ...) ?


720x576 up to 25 fps, 720x480 up to 30 fps
H.264 Level must not exceed 3.0
Note: I only tested iTunes syncing, not streaming

I am not familiar with Final Cut Pro. Does it use QuickTime's H.264 encoder? Can you post screenshots of or describe the configuration options available for its H.264 encoder?

You might get more useful answers in one of these two forums (i.e. how you should configure the H.264 encoder to achieve iPhone 3G or 3GS compatibility):

Apple.com > Support > Discussions > Final Cut Studio > Final Cut Pro
Apple.com > Support > Discussions > Final Cut Studio > Compressor

Videos on Iphone 3G and 3GS

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