Friday, April 1, 2011

This is a wild idea and I don't know if its possible, but I'm putting it up here mostly so I remember to try this if I ever get some free time.

The idea is to write an iPad app that can connect to a Canon camera directly through the Apple camera connection kit USB interface. You'd have to reverse engineer the Canon USB control protocol, but these guys seem to have already done so and reimplemented the protocol for use on Arduino microcontrollers:

Go to Vevo (or youtube or most any other tube site), and start watching your video in the resolution you want.

Click the arrow next to the rotating DownloadHelper icon at the top of the browserBe careful of downloading the advertisement that plays. It should be pretty obvious (i.e. if an ad plays, don't click on the top file in the list, wait for the video to load and check the list again. Same goes for changing resolutions.)

Choose the file you want. For high quality stuff on Vevo, you'll most often get the Apple-ish MP4 version (AAC+h264). For older or lower quality stuff, you'll have to get the flash format (FLV file). I'll assume MP4 video from here on out.

If it was 720p (or lower) MP4, this should immediately drop into iTunes and be syncable on AppleTV2/iPhone4/iPad. Enjoy your video!

If it was 1080p MP4 or FLV, use Handbrake to convert to iTunes friendly format.

Converting the Audio for iTunes

If you want just the audio ripped from such a file, you just have to remux the audio to the appropriate Apple container. I tried using Quicktime to make a MP4 movie with audio only in it; while that plays correctly in iTunes, its recognized as a video file, which annoys me. So use ffmpeg to remux just the audio to the right container.

Make a symlink to the ffmpeg that lives inside the remux application so you can call it from the command line. I called the link remux_ffmpeg to avoid potential naming conflicts with other tools on my system:

Tuesday, January 25, 2011

There is this cool multiplatform program called MakeMKV that strips DRM off of your Blu-ray collection, and it works natively for Mac. Its currently in beta, so you can use the following beta key (though I'm not sure how this is really different from the 30 day trial, since the beta seems to be running out soon):

T-1kXI22tN1leidXUU8rW81qqCvCyckQQgOJ4W7XB6n6eEfXwRK6K5UEOIVNNflFq87K

It takes whatever is present on the disk and muxes it all into an MKV container without changing codecs. By default, it will copy the video, multiple audio tracks, and subtitles. There are a few problems with this kind of rip though:

The file size is HUGE, barely smaller than the original Blu-ray.

Only PCs or certain dedicated media streamers can play 1080p, MKV, or recognize multiple/multichannel audio and subtitles.

Re-encoding the video to 720p h264 and the audio to 2 channel AAC in an MP4 container simultaneously fixes all issues; this format is about 1/4 the file-size of the original video, and is supported on AppleTV2/iPad/iPhone4, and pretty much everything else. Here is my workflow for this process.

Use MakeMKV on a Blu-ray.

Use Handbrake on the resulting files.

Start with the high profile.

1280 x 720 resolution.

Turn off decomb and deinterlace

RF of 20

Check large file size

Remove extra audio passthrough

Drop into iTunes and sync with devices.

Of course, if you have terabytes upon terabytes of storage, forget the Handbrake re-encode, and just watch on your streaming/media box. Enjoy!

Wednesday, January 5, 2011

Update 1: Bluetooth doesn't work as of this release, and neither does Skype. New redsn0w should fix it when it leaves beta status.

Update 2: Betas 5 and 6 have been released since I wrote this, which fix bluetooth and skype, respectively. The link to redsn0w has been updated. The Dev team also says on twitter that they are working on porting the untether to work with a 4.1 IPSW, instead of the 4.2b3 beta firmware only available to developers.