Handbrake best settings for iPhone...

Discussion in 'Jailbreaks and iOS Hacks' started by vi2867, Jun 28, 2007.

  1. vi2867 macrumors 6502


    Oct 11, 2006
    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.
  2. Peace macrumors Core


    Apr 1, 2005
    Space--The ONLY Frontier
    I'm quit sure a movie to iPhone setting will show up in a new Quicktime update to come.
  3. ghall macrumors 68040


    Jun 27, 2006
    Rhode Island
    I would think the standard iPod resolution (640x480) would be fine.
  4. noahc93 macrumors newbie

    Jun 27, 2007
    I'd make sure to keep the original resolution if it's a widescreen movie though. iPod settings convert the movie to fullscreen.
  5. kainjow Moderator emeritus


    Jun 15, 2000
    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.​
  6. Billy Boo Bob macrumors 6502

    Billy Boo Bob

    Jun 6, 2005
    Dark Side Of The Moon
    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
  7. BLACK MAC macrumors 6502

    Feb 9, 2007
  8. Peace macrumors Core


    Apr 1, 2005
    Space--The ONLY Frontier
    I've found while converting a few of my :apple: TV HD wide-screen videos it's best just to use QT and export them in iPod format.Works great!
  9. scotty1024 macrumors newbie

    Jun 30, 2007
    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.
  10. technocoy macrumors 6502a


    Sep 4, 2002
    Raleigh, NC
    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.
  11. MrConspiracy macrumors newbie

    Jan 19, 2007
    Ohio, US
    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...
  12. note235 macrumors 6502a

    Jun 29, 2007
  13. PoitNarf macrumors 65816


    May 28, 2007
    Northern NJ
    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.
  14. MrCrowbar macrumors 68000


    Jan 12, 2006
    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.
  15. kwjohns macrumors 6502a


    Jul 4, 2007
    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.
  16. MrCrowbar macrumors 68000


    Jan 12, 2006
    "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.
  17. rwdebes macrumors 6502

    Jun 28, 2007
    what would be a good setting for Apple tv ?

  18. powerbook911 macrumors 68040


    Mar 15, 2005
    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.

Share This Page