Taggin’ with Louis C.K.

17 December 2011
Louis C.K. Live at the Beacon Theater

Louis C.K. Live at the Beacon Theater. Click to enlarge.

I just got on this bandwagon. Louis C.K. is doing something pretty special with this special. I bought it, expecting to download an SD 640 x 360 video file, probably in H.264. I was pleasantly surprised to find that there were two sizes available, 720p and a just-under-NTSC 800 x 448 SD version, both in an iTunes-friendly H.264/AAC format. I downloaded both. They were not prepared for iTunes, so I figured this was a perfect opportunity to create a tutorial on the subject.

The two files will become what I call a “HD•SD” package, which is an iTunes Store standard that includes a 720 HD file and an SD file. They appear as one item in iTunes with a HD•SD badge:

Appearance in iTunes

Appearance in iTunes

Mr C.K. was canny enough to provide an actual DVD label on his site, so I didn’t have to cobble together art. I downloaded the PDF, cropped it, resized it, added a little black at the bottom to get my 1000 x 1500 pixel ratio, and saved it as a new file. You can download it from here.

We then open both files in Subler. Edit one, then copy the tags to the other. I’ll start with the HD version. Click the Other Settings tab:

Editing, Stage 1

Editing, Stage 1

Change the Media Kind to Movie. Because this is the HD version, check the HD Video checkbox.

Click the Artwork tab and drag in your edited artwork file:

Editing, Stage 2

Editing, Stage 2.

Finally, we fill out the tags. Special notes:

  • All the data for the tags came from Louis’ site and the DVD label. You can download a PDF from here that contains all the data for the below tags.
  • The Artist, Album Artist and Studio are all the same: the name of the studio, in this case, Pig Newton, Inc.
  • I like to put the encoding tool in the Comments tag so that I can use playlists to find videos encoded with HandBrake 0.9.5 (you can’t use the separate Encoding Tool tag as a criterion). Interestingly enough, Encoding Tool was the only tag these files originally had, and the value was HandBrake 0.9.5, so Mr. C.K. uses the same tool that I do!
  • I’ve used the Australian rating that I guessed applied, which is MA15+. Choose the appropriate rating for your country.
  • The tag contentID is a unique code that the two files must share. iTunes sees this code and knows that it must bundle the two files together. I use the date, followed by a sequential number, so for the first set that I tag on 17 December 2011, it becomes 2011121701. The second set of two will become 2011121702, etc.
Editing, Stage 3

Editing, Stage 3. Click to enlarge.

Do the same process for the SD version, except you won’t check the HD Video checkbox. Select All of the tags in the Metadata tab, copy and paste into the other window. Save both and drag them into iTunes where they will be filed appropriately.

I tested the files, too. The HD version works on the old Apple TV, the Apple TV 2 and the iPad (and will also work on the iPhone). The SD version will not sync to a Classic, unfortunately, but given that I never watch movies on my Classic, it’s no great loss. You’ll use the SD version on your iPhone or iPad to save space.

I hope this is useful to all who buy the special and is my contribution (other than payment) to Mr. Louis C.K.’s grand experiment.


Roll Your Own Anamorphic iPod-Compatible Videos from Blu-ray

27 August 2011
HD and SD Versions

HD and SD Versions (click to enlarge)

My job has changed recently and now involves travel, so suddenly I have a use for SD versions of videos. Previously I would only rip a HD version of a Blu-ray.

The iPod Classic is the reference device for SD video in the iTunes ecosystem. It has an ostensible limit of 640 x 480 pixels. This can be stretched to 855 x 480 with the anamorphic flag switched on. This is possible to do with anamorphic DVDs in HandBrake.

However, Blu-ray is natively widescreen, 1920 x 1080, so there’s no such thing as anamorphic ratios. In order to produce an iPod-compatible anamorphic video, you have to tweak the dimensions. Here are the settings for this movie, which is in an aspect ratio of 2.40:1:

HandBrake Settings

HandBrake Settings (click to enlarge)

I used the Universal preset. The result:

Result in iTunes

Result in iTunes


TV Rotation Technique Redux: the “Blue Dot” Technique

17 February 2011
TV Show with Blue Dots

More obscure TV: The Micallef P(r)ogram(me), with unwatched episodes indicated by blue dots

A lot has changed in the Apple TV space since I first wrote my TV Rotation Technique. A friend of mine got the new Apple TV and started to manage his TV shows by “the blue dot”, the indicator that iTunes uses to indicate that an episode has not yet been played. On the new Apple TV, you see every single episode and he uses the blue dot to tell which episode is next to watch in sequence. Once he’s finished all episodes, he selects them in iTunes, right-clicks and selects “Mark as Unwatched”. Then he starts again.

I use the old Apple TV for watching TV shows, for 3 reasons:

  • I sync only the content I choose, which isolates only the next few episodes to watch. This way, they can either be watched or unwatched, and I only ever see the next few in sequence, as per my TV Rotation Technique.
  • The new Apple TV displays every season in the TV Shows menu, making it a mammoth list. The old Apple TV displays only the shows, then all the seasons within the show in a submenu. I prefer this as the menus aren’t as long, especially as it’s not showing every show, every season, every episode.
  • The new Apple TV randomly chooses one of the many different pieces of episode artwork that I apply to the individual episodes and uses that for every episode. Given the work I put into those, that’s annoying.

I’ve started to trial my friend’s Blue Dot technique. It has certain merits. It’s no more effort to maintain than is mine–less, in fact, considering it’s easier to find a TV show in the TV Shows library than it is to burrow down through my playlist folders to the specific playlist. It’s more obvious. It overcomes the problem of having cycled through seasons 1 and 2 two times, then you add season 3 and have to tweak the Plays is less then X criterion in my playlists. You don’t have to use playlists.

Not that I have a real use for it, but I’ve been obsessed with collecting and retaining what I call “audit data”, which is data relating to the playback of files, i.e., Date Last Played and Plays. This is not used in Blue Dot, although I do use it in my technique. I notice that marking episodes as new does not clear or otherwise modify the Date Last Played, so that’s given me a little more confidence to trial it.

The technique is very simple. For new Apple TVs, add content, which is unplayed, then play it. Once all episodes are played, select them in iTunes, right-click and select Mark as New. Begin watching again from the first blue-dotted episode. This also applies to old Apple TVs where you’re streaming everything from the computer.

For old Apple TVs, or even iDevices, where you are syncing only certain content, choose a number of episodes to sync based on how much storage you have. I’ve chosen 10 from all shows. Set the setting like so:

TV Shows Sync Setting

TV Shows Sync Setting (Click to enlarge)

Now you’ll get 10 unwatched episodes, from as early as possible in the season sequence, from every TV show. In my Micallef P(r)ogram(me) example above, episodes 4-7 of series 1 and 1-6 of series 2 currently reside on my Apple TV.

If you’ve watched a series and you don’t want it to reappear in the Unwatched Episodes view in the Apple TV or on the Apple TV at all, simply don’t blue-dot it until you’re ready to watch it again.

I’ll be trialling this, mostly because I’ve used my old technique for so long that I’m used to it, but I see it as inevitable that it will be an easier method. Sync options certainly have evolved since I started working on this problem.


Square TV Art Revisited

22 August 2010

Following up my earlier post on this, I’ve now made a complete move towards square art with a footer containing the name of the TV show. I don’t know why I didn’t do this earlier. It looks so much neater than just a screen shot, because it’s always a uniform size and the footer helps with identification.

With screen shots, you’re dealing with either 4:3 or 16:9 aspect ratios (Star Wars: The Clone Wars is a rare exception–it’s presented in 2.35:1). I settled on an 800 x 800 pixel size. This allows me to scale up or down a moderate amount so as not to introduce too many artifacts. I use a footer of 300 pixels high for 16:9 content (576p scales down a little) and 200 pixels high for 4:3 (576p scales up).

I usually use a solid colour for the footer and this is sampled from the artwork that I use for the whole season. Here’s an example:

Frisky Dingo, Season One

Frisky Dingo, Season One (Season Art)

Frisky Dingo, Season One, Episode 4, "XPO"

Frisky Dingo, Season One, Episode 4, "XPO" (Episode Art)

Using a sampled colour connects the season and the episode art visually. When the season art changes, so does the footer:

Frisky Dingo, Season Two

Frisky Dingo, Season Two (Season Art)

Frisky Dingo, Season Two, Episode 8, "The Debate, Part Two"

Frisky Dingo, Season Two, Episode 8, "The Debate, Part Two" (Episode Art)

It’s more work, of course, but once I’ve set up the image as a Photoshop file with the footer and the TV show title, I can then bring in my screen shots as separate layers and save out as JPEG files. That keeps all the working files together in one file, with separate output files.

You can see all the Frisky Dingo artwork on my artwork site, Album-Art.net.


iTunes 9.1’s Down-Convert Feature is a Game Changer

31 March 2010

I use a 160Gb iPod Classic at work. It has all my music on it. I decided a while ago to “go lossless” and have ripped every new disc as Apple Lossless ever since. I’ve also upgraded a number of previously ripped discs. The result is that I’ve had to drop all music videos from the sync as they wouldn’t fit and I’m down to 10Gb free.

Enter iTunes 9.1 with the “convert-to-128-Kbps-for-any-iPod” feature. This simple feature, long missing from iTunes, has completely changed my iPod plans this year. I was considering buying a second Classic but didn’t like the idea of splitting the library. The whole charm of the big Classic is to take your whole library with you, one of the key tenets of the original iPod. Now I don’t have to buy another Classic. If Apple releases a bigger Classic this year, it won’t be as compelling as it once was.

That leads me to my next point: this simple feature could have an impact on the iPod line-up this year. This may be the year that the Classic iPod is discontinued. Apple’s got the perfect excuse. You’ve got this compression feature now, so you can squeeze everything onto a smaller device. For the minority like myself who deal in lossless files, we can get everything onto a Classic. Why should Apple continue the Classic in the face of this?

I should mention that I’m probably not a conventional user. I can play music at work. While I appreciate quality, I wouldn’t know the difference at work because the music is played at a low volume through average speakers. Therefore, this feature is perfect for me. I can pick and choose which devices should have down-converted files. For instance, I wouldn’t down-convert on my Nano because that’s something I listen to exclusively through headphones.


iTunes Backup Feature

19 February 2010

iTunes has a great feature: iTunes Backup. You can select a playlist or the whole library and can back it up to multiple DVDs. The problem is with the restoration. I’ve had this happen twice. In one case, I had the discs and a Mac and one disc would keep failing. I dumped the contents to a hard drive and copied them into iTunes that way. The other situation was with a Windows machine. I’m wondering if in this situation it was a filename-length issue. The files were created on Mac-formatted drive and he was restoring to FAT32. I overcame that with the hard-drive method. iTunes won’t tell you which file failed, either, so a whole disc is suspect when it fails.

The files themselves aren’t faulty. When you insert an iTunes Backup disc, it will appear in iTunes and you’ll be asked if you want to restore. If you ignore this, you’ll see that it’s a standard disc in the Finder or Windows Explorer. iTunes adds a little magic somehow to identify it as an iTunes Backup disc. To do the hard-drive trick mentioned above, I simply copied to a hard drive, then copied from the hard drive to iTunes. This will definitely bypass the disk-format issue if you use the same drive for both the copy and iTunes. If a file fails, your OS should give you some sort of explicit error for a specific file that you can correct, like “filename too long”.

The other annoying thing about this feature is that it mixes up all the content, so you may have the tracks of a single album strewn over more than one disc. My only theory as to why is that iTunes is trying to maximise how much it can get on a single disc and sticking to a strictly sequential order may leave unused space. This doesn’t matter if you intend to restore the lot and the feature works!

So Apple has a very good feature for the initial part of the operation, but the critical part, restoration, is sadly lacking. Use with care.


An overlooked iTunes 9 Feature

23 September 2009

I’m surprised that I still haven’t read someone mention this. In iTunes 9, if you create a new library, the title in the title bar changes to that library’s name. Here’s the default library:

iTunes Default Title

iTunes Default Title

Here’s a new library:

iTunes Alternate Title

iTunes Alternate Title

It’s a nice detail. I’m ripping someone else’s library at the moment and it’s how I keep our music apart.


iTunes LP for Apple TV

11 September 2009

Norah Jones: Come Away with Me: iTunes LP

I like the new LP format. It consists of a new file type (.itlp) that contains everything but the songs and some of the videos. I bought the Norah Jones. In iTunes, the album appears as a number of items. The first is the iTunes LP file, running at 175Mb. This contains the interface and it links to the songs and two of the videos. The rest are the songs of the album, plus, in this case, two videos. You can play the songs and videos in iTunes, independent of the LP interface. These are what are synced to your iPod or Apple TV. To view it in LP mode, you double-click the LP item.

The LP interface is much like a DVD, with clickable links. All the text is large, like it is with a DVD, intended to be read from across a room on a large display. It seems a no-brainer for Apple TV to support this in LP mode, but as of last night, there was no software update. This would also apply to movies with extras. It’s a virtual DVD. I’m hoping we see this on Apple TV soon.


iPhone Supports Better-than-iPod Video Quality

10 September 2009

In versions of iTunes prior to 9, videos that are compatible with a device have been displayed with black text, incompatible with grey. In iTunes 9, I was looking at the TV settings for the iPhone and noticed that all of my TV shows appeared in black. I’ve ripped all my DVDs as 768 x 576 (4:3) or 1024 x 576 anamorphic (16:9), 2500Kbps H.264, 160Kbps AAC. Up to this point, I was never able to sync a file greater than iPod resolution.

To my delight and surprise, these PAL-derived monsters synced across and played. Here’s one from Arrested Development, ripped from a Region 4 PAL DVD:

iPhone Settings Panel, Showing Compatible TV Show<br>Click to enlarge

iPhone Settings Panel, Showing Compatible TV Show

This is the only 720 HD TV show I have, Dollhouse. It’s a rip from a TV broadcast. The iPhone wouldn’t accept it:

iPhone Settings Panel, Showing Incompatible HD TV Show

iPhone Settings Panel, Showing Incompatible HD TV Show

Next I tested an iPod Classic, the true standard. Despite the apparent compatibility (black text), it wouldn’t sync anything above iPod standard:

iPod Settings Panel, Showing Incompatible TV Show

iPod Settings Panel, Showing Incompatible TV Show

What does it mean? It means less work when preparing DVD content. I can now rip one version of movies, TV shows and music videos, as long as I sync to an iPhone (and presumably, an iPod Touch). This is a pretty major step forward. Perhaps next year we’ll be able to sync 720 HD.


Losin’ Myself in Lossless

9 September 2009

Predictably, I’ve decided that, in contrary to what I said in my last post, I’m going fully lossless. That means that all CDs will be reripped as Apple Lossless. The journey will end.

I’m going to start with those CDs that have hidden tracks. As I’ve ripped my collection, I’ve been alert to unusually long final tracks, which often denote a hidden track. I don’t rip these in iTunes. I open the CD in the Finder and drag the final track to the desktop. I then open it in QuickTime Player, find and chop out the hidden track, save that as an AIFF and save the shortened original as an AIFF. I then drag these into iTunes and rip as Apple Lossless. I used to then rip those to 256Kbps AAC and store the Lossless originals in a folder archive, out of iTunes.

So that’s the starting point. Rip the CD minus the two last tracks, drag in the Lossless tracks, done.

Well, almost. They need to be “double-tagged“. I’ve started trialling Meta X. It’s not perfect. For a start, it wants to classify a Lossless track as a movie, a TV show or a music video. It thinks it’s video. I run the tracks through Lostify first, specifying a kind of  Normal (Audio). Meta X then respects this. Meta X allows me to write two tags that Lostify can’t: audio Content Rating and Purchase Date. This latter is a little flaky. If I enter 2005-05-29, it’s converted to Zulu notation and given a time as well. The date is always a day later, so the above example will appear something like 30 May 2005 6:00PM in the Summary tab of the Get Info dialog for a single track. I need to understand how Zulu time works.

I’ve got a database listing every single CD I’ve bought, with the date, supplier and cost, so I have the purchase data. I’m hoping a later revision will also present the Purchased By tag so I can finish the job with my name.

What about the other end of the equation, the real bottleneck, the iPod? I had an inspiration. My two-year-old 160Gb Classic would not be worth too much now, especially after tomorrow’s iPod event, so I’m better off keeping it. The solution is simple: buy an additional Classic and run two Classics to hold the library. I would have put off getting an additional Classic until next year but the free space is being consumed at an alarming rate and I’ll run out in about a month. Two Classics, especially if the new one tomorrow is 160Gb or greater, is the solution until that fabled 500Gb iPod Touch becomes reality.

I tried to work out how much space to expect Lossless files to take up, but the math is difficult. I believe Lossless compresses at different rates depending on the audio pattern. For example, the last track of Massive Attack’s 100th Window, Antistar, is bigger than the hidden track, LP4, even though LP4 is much longer. LP4 is little more than 11:23 of static, which is super-efficient to compress. It will take months, probably a year, given all my projects, before I could rerip everything, so space will not be an immediate concern.

So that’s my journey. Light at the end of the tunnel at last. Enjoyable all the way.