Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

vi2867

macrumors 6502a
Original poster
Oct 11, 2006
510
92
Eastvale, CA
Does any one know what are the best settings for the iPhone, since the space is limited. I want to have the best quality, but the movie sizes need to be under 700MB to 1GB.

I plan to load about 2 to 3 movies at a time.
 
I'd make sure to keep the original resolution if it's a widescreen movie though. iPod settings convert the movie to fullscreen.
 
According to iLounge:

Apple has also disclosed that iPhone will support video playback at rates identical to the iPod’s, with a maximum of 640x480 pixels in MPEG-4 or H.264-formats.​
 
According to iLounge:

Apple has also disclosed that iPhone will support video playback at rates identical to the iPod’s, with a maximum of 640x480 pixels in MPEG-4 or H.264-formats.​

I read that, too, but what about widescreen movies? In the commercial showing "Pirates", that sure don't look like 640X480...

You can find the whole specs at http://www.apple.com/iphone/specs.html... Video details in the bottom of center column...

480-by-320-pixel resolution at 160 dpi
 
QuickTime and iPhone

Apple has a QuickTime beta running. If you are an Apple Developer you can login into the developer site and you will find details on how to apply to join the beta.

The iPhone supports QuickTime reference movies. This is how you implement automatically feeding a low resolution tiny file size QT over EDGE and a nice looking one via WiFi.

The iPhone does not support any streaming video protocol. To feed QT's to an iPhone your web server must support byte ranges so the iPhone can skip around in the QT file as needed.
 
I've converted several DVDs in Handbrake...

720x320 and just did h.264 and set the size limit to 700 megs...

They play fine and look great on the screen size.
 
I'm setting flix to 480 pixels max width, at 400kbps. Audio is set to 128kbps. Looks fantastic, and a 2 1/2 hour mp4 comes out to about 550 megabytes. That's a lot of movies on an 8GB...
 
These are the settings I've been using:

For 1.33:1 - 480 x 352 or 432 x 320
For 1.78:1 - 480 x 272
For 1.85:1 - 480 x 256
For 2.35:1 - 480 x 204

I encode them all H.264 at 500kbps. Some of the movies such as The Big Lebowski that I originally did were at 700kbps and that only takes up around 700MB total and looks fantastic.
 
Well, the iPhone screen is 480 x 320 pixels, right?

I would encode the videos so that zoomed in, it has the native resolution of the screen. I assume that playing videos like this takes a little less CPU power, as no pixels have to be resized.

Put simply, make all your widescreen videos 320 pixels high. I say widscreen because a video with 4:3 ratio would be 427 pixels wide, i.e. less than the screen resolution. So for 4:3 movie, take the width as reference. Besides, it's so annoying to have the letterboxes on the sides :)

So: 4:3 -> 480 x 360

For other aspect ratios, just keep the height on 320 pixels and the width will adjust in handbrake. Don't use anamorphic encoding, we want square pixels.

H.264 at 500 kbps should be fine. Beware of the Quicktime Pro compressor, per default it tends to create not enough keyframes making fast cuts and stuff look really ugly.
 
How is Handbake compared to iSquint? I converted a 700mb video earlier using Quicktime's export from Movie to iPod and it raised the file size to 900mb. I then used iSquint and it converted it to mp4 H.264 (not sure what res it converts it to) and it lowered the size to 218mb and looks great.
 
How is Handbake compared to iSquint? I converted a 700mb video earlier using Quicktime's export from Movie to iPod and it raised the file size to 900mb. I then used iSquint and it converted it to mp4 H.264 (not sure what res it converts it to) and it lowered the size to 218mb and looks great.

"Movie to iPod" uses an MPEG4 codec. The iPod can play H.264, but has to work a lot more to do so. You just get a way better battery life playing a big MPEG4 movie than playing a comparable (quality wise) H.264 movie.

H.264 offers far better compression at least with higher resolution. On the downside it takes more processing power to decode on the fly and painfully long to encode into. But it saves you lots of space on the hard/flashdrive.

You have to play around to find a setting that's bearable. See my above post for optimal video resolution. I would encode a short sequence in various bandwidths and compare the results on the iPhone. Fast paced action movies will likely need a higher bandwidth than a documentary. Also play around with the keyframe settings if you're using the Quicktime encoder. On low bandwidths, the automatic keyframe-rates sucks.

The iPhone has (I think) a hardware decoder for H.264 so I wouldn't take anything else. Note: x264 is an open source version of that codec with more options for encoding. Using those additional options in x264 makes the videos not playable in Quicktime (hence on the iPhone). Handbrake will warn you if you try that.
 
what would be a good setting for Apple tv ?

thanks...

handbrake has a preset for apple tv which is like 2500kbps in H264.

You could also do it the same as iTunes sold movies which is like 1500-1600kbps, but it's lesser quality which also qualifies for ipod.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.