Optimum Handbrake settings?

Daniel97

macrumors 6502a
Original poster
Mar 6, 2011
719
2
What are the optimum settings for Handbrake to watch videos on the iPad 3?

I have blu ray MKV rips I want to convert to try :)

Thanks!
 

ninethirty

macrumors 6502a
Mar 1, 2006
800
265
If you have MKV rips, they're more than likely H.264 video already, in which case, using Handbrake would be a complete waste of time.

Use Ffmpeg (command line preferably) and pass through video, change audio to two channel (unless the iPad can all of a sudden play ac3 5.1), remove metadata/chapters if any, and save as m4v. Good to go.

Most of my conversions (5-6 GB files) take 1-2 minutes each.

What are the optimum settings for Handbrake to watch videos on the iPad 3?

I have blu ray MKV rips I want to convert to try :)

Thanks!
 

JustLikeMe

macrumors newbie
Oct 21, 2011
10
0
I've managed to get 1080p mkv files playing perfectly as mp4 on the new iPad by using a free piece of software called Subler:

http://code.google.com/p/subler/

It transcodes the audio to AAC while leaving the video pretty much untouched and repackages the mkv as an mp4. As the iPad uses hardware acceleration for playing video, 1080p looks stunning and plays without stuttering. Oh and you can add artwork and file information too, so the files look great in the Videos app.

For comparisons sake I converted one file using both Subler and Handbrake with the Apple TV 2 Settings. Handbrake took longer, and output a 720p file, whereas Subler was impressively quick and put out a 1080p file. The trade off is that the Handbrake file was 2.3gb, the Subler file 6.8gb. Both played perfectly on the new iPad.
 

iohass

macrumors regular
Mar 11, 2012
164
0
Canada
If you have MKV rips, they're more than likely H.264 video already, in which case, using Handbrake would be a complete waste of time.

Use Ffmpeg (command line preferably) and pass through video, change audio to two channel (unless the iPad can all of a sudden play ac3 5.1), remove metadata/chapters if any, and save as m4v. Good to go.

Most of my conversions (5-6 GB files) take 1-2 minutes each.
what would be the command line for that? and what's wrong with getting gui for this?
 

richpjr

macrumors 68040
May 9, 2006
3,155
1,387
I just use the ATV2 setting - my sources are DVD and you can't create extra resolution that just isn't there.
 

nconnella

macrumors regular
Nov 1, 2008
184
24
It didn't take me long to customize handbrake to output a 1920x811 (native aspect ratio) mp4. Converted a 8gb mkv by setting max file size to 3.5gb. Can't see the difference on the retina display and its half the size. Output does take about an hour and a half.
 

ninethirty

macrumors 6502a
Mar 1, 2006
800
265
You'd be looking at something like this.

Code:
ffmpeg -i filename.mkv -vcodec copy -acodec libfaac -ac 2 -ab 160k -map_meta_data -1:0 -map_chapters -1:0 filename.mp4
As far as GUI vs command line, I never had much luck with the GUI ffmpeg. I got errors all the time and couldn't figure out why. Everything I've ever wanted to do with video files, I can easily do with command line ffmpeg.

what would be the command line for that? and what's wrong with getting gui for this?
 

winterny

macrumors 6502
Jul 5, 2010
385
200
Using handbrake on MKV may not be entirely pointless ... You may have a "blu-ray quality" MKV that's taking up 16GB, and you may want to re-encode the video to be 3GB for use on your iPad. Even with the screen quality what it is -- it is small, and I personally can't tell the difference between a 3GB 1080P file and a 16GB 1080p file.
 

henrikrox

macrumors 65816
Feb 3, 2010
1,218
2
stop using handbrake, its over complicated and slow.

use mp4tools.

i did convert my bluray disc UP to a mkv file, then i use that in mp4 tools, select h264 1 pass, stereo acc track (since it will only be used on the ipad)

did nothing to the bitrate. and the result got way better then the one handbrake did.

if you want lower files, you can adjust the bitrate as well.
 

macbook123

macrumors 68000
Feb 11, 2006
1,856
80
You'd be looking at something like this.

Code:
ffmpeg -i filename.mkv -vcodec copy -acodec libfaac -ac 2 -ab 160k -map_meta_data -1:0 -map_chapters -1:0 filename.mp4
As far as GUI vs command line, I never had much luck with the GUI ffmpeg. I got errors all the time and couldn't figure out why. Everything I've ever wanted to do with video files, I can easily do with command line ffmpeg.
How did you install ffmpeg?
 

ninethirty

macrumors 6502a
Mar 1, 2006
800
265
I followed this guide:

http://www.martinlos.com/?p=41

Keep in mind that since that was written, newer versions of a lot of the software you need to install has come out, so you'll need to appropriately change the file names when installing.

Seems daunting, I know, but I get perfect conversions (remuxes) every time with no audio lag issues like I used to get with MKVTools (or Mp4Tools).

Cheers!

How did you install ffmpeg?