For web developers and iPhone users
- XRAY web developer’s suite
- Fab, free bookmarklet for web designers and developers analyzes any element on a web page with a click. Must be used to be appreciated. Part of a forthcoming suite of free, cross-browser web development tools from Westciv. Suggested improvements and bug reports welcome. Currently works in Webkit (Safari) and Mozilla (Firefox, Camino, etc.) browsers; an IE version is coming. Don’t miss the “Acknowledgements, Thanks, and Inspiration” credits, which link to great JavaScript and visual resources.
- How to Rip DVD Movies To Your iPod Using Free Software
- Great, straightforward how-to by brilliant author/developer Mark Pilgrim walks you through the process of setting up HandBrake, a free, open source app, to rip DVDs to your iPod. Last updated in 2005, several versions of HandBrake (not to mention several generations of iPod) ago, so screen shots will not always match current versions. But the settings advice is still accurate, and even applies to the iPhone, with its giant wide screen.
- Ripping even a short movie you own takes a long, long time. I tested Pilgrim’s advice on a flick our toddler loves, so my iPhone could double as a parental aid during family trips. It took over five hours to burn an 86 minute film, but the results were beautiful.
- For more video conversion advice, see the 12 December 2005 Macworld Secrets column, Convert video for the iPod. Summary: Upgrade to QuickTime Pro and export for iPod. Works great and works fast. One’s iPhone now sports Charlie the Unicorn and will soon host short home movies shot on a point and shoot digital camera and formatted by that camera as AVIs.
Tags: web development, bookmarklets, developer tools, rip, DVDs, iPod, iPhone, Apple
Filed under: Design, Standards, Tools, development, iphone, links














This just has to be integrated into Firebug. The two would complement each other perfectly.
Compressing movies is a lot like cooking: all you really need is a great recipe you can use again and again. As the result of days of testing, here’s a QuickTime-centric recipe for PAL users for 16×9 (widescreen) videos:
File format: .mp4
Video format: H.264
Data Rate: this is the key to the recipe – make the Date Rate equal to the width of the video size you set, ie. for a 512×288 video, the Data Rate is 512. For a 720×400 DVD-size video, the data rate would be 720.
Image size: for PAL users, testing reveals 512×288 (half resolution) is best for the internet as it provides the best image quality for the smallest file size. If you are compressing a DVD, try 720×400. (The actual 16×9 size is 720×404, but by getting rid of the 4 extra pixels, you’ll get better quality and a smaller file as 400 is divisible by 16, and 404 isn’t. The image will squish a bit, but it will be undetectable).
Key Frame: automatic, best quality
(Always use ‘Multi-pass’ or ‘Two Pass’ compression. In QT, “best quality” refers to ‘Multi-pass.’ In contrast, ’single pass’ is quicker, but doesn’t do as good a job.)
Audio: do it like you do your music: AAC, 128kb, best quality
If you have an “Enable Streaming” option, tick it.
Sorry, I’m not sure about NTSC dimensions, although a simple rule for setting the data rate could be extrapolated from above. In other words, we know that a data rate of 512Kbps works well for compressing 147,456 pixels (total area: 512 x 288 = 147,456)
XRAY looks neat, but doesn’t the Web Developer Firefox extension have something like this already?
Handbrake works great, easy to use… but expect to wait about 40 minutes (on a Mac Pro) for a movie to finish ripping onto your hard drive… Handbrake has already some preset profiles so you can pick between AppleTv and iPod for your movies… 110-minute features use about 1 Gb of hard drive.
I reduced the bitrate, and I have now watched streamed movies from my Mac Pro on to my MacBook Pro via iTunes Share, and no problems whatsoever… obviously it may look kind degraded if you plug it in a 50-inch LCD… but I don’t have such thing.
There is another Firefox extension called CSSViewer, it looks like xRay but it lets you move around while it is active. xRay is nice, but it locks your wheel scroll until you are done analyzing any given item.
@Christopher and Mau:
The thing about XRAY is that it’s cross-browser.
@Mau:
I chose an HB iPod preset, which had a bitrate of 15,000. Then I lowered the bitrate to 400, per Mark Pilgrim’s (and Macworld’s) advice. The 86 minute video started ripping at 5:00 in the afternoon and was still grinding away when I went to sleep.
Short of reviewing log files in Unix, I can’t tell you how long HandBrake actually took to rip the video, but it was way more than 40 minutes — closer to six hours or more.
Ripping at a higher bitrate might speed up the process, but a higher bitrate creates large files whose extra quality you can’t see on your iPod or iPhone.
Jeff… you gotta stop going to bed at 6pm! =)
So the lower the bitrate the slower the ripping?
I’ve been using VisualHub for iPhone video converting. It’s not free ($23.32 US) but it has everything preset and works nicely.
XRAY is fantastic! I know I should love Firefox, but I don’t. I much prefer the look of Safari. Sure Safari’s caching is pretty aggressive, but I work round that, and now with XRAY installed, I am a very happy bunny. Thank you!
Jeff, I’ve been using Handbrake with the iPod setting and taking pretty close to a 1-1 ratio on a MBP Core 2 Duo 2Ghz with 2GB RAM. I’ll have to try brad’s suggestion of lowering the data rate…
I just can’t wait for XRAY to get ported to Opera. Any idea how long it’ll be before that happens?
Not sure it’s going to happen. Talk to Westciv.
OK Zeldman, be honest,
rip DVDs to your iPod
Convert video for the iPod
those are not paid PR8 link bites?
Oh, Passenger 57, how cynical you’ve become.
I saw Mark’s write-up on this and downloaded HandBrake a week or two ago. You definitely have more patience than I do. I gave up after about three hours thinking that there was a problem. I didn’t think I was expecting a miracle for it to take less than three times the length of the movie with all of the touted processing power of a MacBook Pro. I guess maybe I was. :-)
As far as converting video for iPod goes, versions of iTunes produced after that article means you can just add a video to iTunes, right click and choose “Convert Selection for iPod”. No QT Pro needs to be acquired.
One thing with H.264 is that it can take longer than some other encoders (which is probably why it often gives a better image).
If encoding time is a real pain, you might want to try one of the other options in HandBrake, assuming the iPhone will support it — I don’t think it plays DivX, for one.
Of course, all this also depends on how much space you have to play with, too. So in the end, you might want to ignore all this and just use the handy queuing feature (or is that cuing?) and leave it overnight where the CPU hogging won’t bother you.
@Justin:
Encoding in H.264 in QuickTime Pro is but the work of a moment. The reason HandBrake takes ages to process DVD video files into H.264, it seems to me, is that HandBrake is *downsampling* at a high ratio — i.e. from 1500 fps to 400 fps.
As for CPU hogging, there isn’t any. This is Mac OS X. You can keep working on other stuff while HandBrake does its thing in the background. Doesn’t seem to make any difference to the conversion speed. Working with HandBrake in the background, or doing nothing and letting HandBrake work in the foreground — either way, the process is Maple-syrup-slow.
What kind of CPU are you ripping on? I have the Indiana Jones DVD collection, which we wanted to rip to watch on our AppleTV (since we don’t have a proper DVD player hooked up to the TV anymore).
On my dual G5 2.0, one disc took more than four hours, using the HandBrake AppleTV default setting, plus captions. On a new 20″ Intel iMac 2.0, the same disc took about an hour and a half, using the same settings.
MacBook.
Processor: 2 GHz Intel Core Duo
Memory: 2 GB 667 Mhz DDR2 SDRAM
Mac OS X Version 10.4.10
I got Handbrake to work with my iPhone. The ripping time wasn’t that bad, but I sized down the original to fit the screen dimensions of the iPhone. For a 1.5 hour movie, the ripping took roughly 30 minutes on a 2.33 GHz Core 2 Duo MacBook Pro with 2 GB RAM.
It is possible that the relative speediness of my experience was due to the fact that I was making a scaled down copy?
Regardless, I am very pleased with Handbrake. It’s easy to use and works.
Actually, if you ignore the instructions in the 2005 articles and simply choose HandBrake’s iPod setting, you can burn a one hour movie in about 30 minutes, with excellent quality and at a comparably small file size.
The 2005 instructions are great but outdated (as one might expect of technical posts). Just use the latest version of HandBrake and pick one of its default settings.