Saturday, March 29, 2008

Aperture and Time Machine: a joint bug

Apple suggests disabling Time Machine when Aperture is running  :

Time Machine may back up the entire Aperture Library on each run

As a workaround, turn Time Machine off (in Time Machine preferences, in System Preferences). When you want to manually back up, quit Aperture, then choose Back Up Now from Time Machine's menu bar icon (Mac OS X 10.5.2 or later), or by Control-clicking or right-clicking Time Machine in the Dock and choosing Back Up Now.

Translation: We have a nasty bug.

Aperture 2.1 is out -- and the installer is broken ...

I got hit by this bug:

Apple - Support - Discussions - Aperture 2.0.1 doesn't recognize that ...

Aperture 2.0 or later is required to install this update.

The Aperture 2.1 48MB updater doesn't recognize that Aperture 2.01 is installed. I tried various hacks that have worked for others: removing pref files, removing receipts from all prior Aperture installs, removing the Aperture ID file from Pro Apps, deleting Aperture, emptying trash, reinstalling from DVD using an Admin account, etc.

No joy.

Not coincidentally, when I run Software Update I'm not notified of the 2.1 update. On my G5 iMac running 10.4.11 and all security updates there's something broken in the Aperture registration department.

I was able to install the 184MB Aperture 2.1 trial version. It recognized my registration key and it includes the "dodge and burn plugin"

Even after successfully installing 2.1 trial however, the updater still does not work.

Very annoying.

BTW, the sample projects that are installed from the DVD occupy 3GB of disk space. They're stored in Library\Application Support\Aperture.

What Time Machine can and can't do

via DF, I came across a great review of OS X Time Machine backup software. For example:
X.5 Time Machine (Quarter Life Crisis)

...A point that is rather sore as well for me is the fact that Caches folders are completely excluded from backups. By Spotlight’s poor design the Caches folder contains a Metadata folder which applications have to store their data in if they want it to be found in the index. Those metadata files will not be in a backup. As a consequence restoring your system from a backup will leave you with an incomplete Spotlight index until you run all the applications which stored data in the Caches/Metadata folder and make sure they re-create them. Ultimately this is a Spotlight issue, I think, but with Time Machine being made by the same company, they should have had an eye on it...
Quarter Life has an extensive list of critiques: the UI is truly awful, there's no encryption of the backup (!), there's very limited control of what's backed up, etc.

Friday, March 28, 2008

Firewire, USB and SATA performance on Macs

I have an old 3G Firewire iPod and a several USB iPods. The old Firewire iPod is a joy to sync. Extremely fast, instant dismount. The modern USB devices are a pain. My Mac Firewire connected drive feels as fast as an internal drive, my PC USB drives are sluggish.

Gigabit ethernet connected drives, in my experience with my CPUs in heavy use, are much faster than local USB drives and even comparable to local Firewire 400 connections.

This, of course, contradicts the theoretical performance figures for USB drives. It makes me mourn the lost beauty of Firewire 400.

So I really enjoyed this discussion of Firewire, USB and SATA on Macs, with Windows specific footnotes.

AppleInsider | Exploring Time Capsule: theoretical speed vs practical throughput

USB has a faster theoretical maximum than Firewire 400 (400 Mbits/sec; 50 MB/sec), but Firewire 400 is actually much faster than USB because it uses smarter peer to peer interface hardware rather than pushing low level work onto the PC host's CPU as the simpler master to slave architecture of USB does.

On a Mac, Firewire is typically around twice as fast in real world transfer rates, with USB hitting around 18 MB/sec and Firewire reaching 35 MB/sec throughput. Windows' implementation of USB has historically been faster than Mac OS X's, with Windows' USB reaching throughput closer to 33MB/sec..

Firewire on a Mac is far faster than USB on an XP box, I suspect Firewire on XP is comparable to Firewire in OS X and also much faster than USB in real world use (ie. when the CPU is loaded down with other tasks, and so unable to respond to USB demands).

Given my experience I'd expect a USB drive on an gigabit wired Airport base station to be significantly slower than a SATA drive inside a wired Time Machine.  I hope that will be tested in a future post.

Thursday, March 27, 2008

The case of the vanishing Outlook Navigation Pane Shortcuts - and how to backup and restore.

On Friday March 21st my customized Outlook 2003 Navigation Pane Shortcuts were fine. On Monday March 24th I they'd vanished.

This has happened before. It's bad, because I really depend on these things.

I don't know why they vanished, though I suspect an update of some sort triggered an old bug. These things are known to be fragile in Outlook 2003. I resolved to come up with a way to restore and back these up, and with a bit of Usenet help I did manage that.

Here's what worked for me.

  1. Find out where Outlook stores this data: Microsoft kb: Outlook file locations [1] mostly answered that question. It says these customization are stored in: "drive:\Documents and Settings\<user>\Application Data\Microsoft\Outlook\Outlook.xml". There's an error in the kb though, the file is not named "outlook.xml". When Exchange Server is in the picture the file is named by the Exchange/Outlook profile. In my case that's "Default Outlook Profile.xml".
  2. I used our corporate backup software to find the most recent backup prior to when the truncation occurred.
  3. I saved the last 19KB file to a local folder and used a text editor to extract the portion with the tags: <userdefined> from the backup. Then I exited Outlook and copied it into the current version of this file.
  4. I then launched Outlook and added ONE new Shortcut to a store in my PST File. If you don't do this you get a "messaging error" when you try to use the old Shortcuts that point into local PST files. My guess is adding a new one forces Outlook to update some binary cache file it won't otherwise update.

I still don't know why my Navigation Pane Shortcuts vanished. They may have been a casualty of something that damaged another part of the "Default Outlook Profile.xml" file. I'll see if it happens again, but from now on I have a backup and an easy way to restore them when they get wiped out.

-- footnotes --

[1] It's astounding how long and complex this list is. Outlook is a very old and rickety piece of software. Slipstick also has a good reference list.

[2] Example:

<userdefined>
        <linkgroup name="PIM">
            <wdLnk>
                <ltype>shortcut</ltype>
                <reckey>2B1967ED1BF9A2489BE8AFD510569E6E</reckey>
                <eid>0000000038......000000000</eid>
                <rootfold>1</rootfold>
                <name>Outlook Today</name>
                <storeid>1</storeid>
                <urlhint></urlhint>
                <clsid>0078060000000000C000000000000046</clsid>
                <icondata></icondata>
            </wdLnk>
            <wdLnk>
                <ltype>shortcut</ltype>
                <reckey>000....E750000</reckey>
                <eid>000000002B1967ED1BF9A2489BE8AFD510569E6E0100BB4E71E8D95434469F02C78FF25B3D85000000981E750000</eid>
                <name>Calendar</name>
                <storeid>1</storeid>
                <clsid>0278060000000000C000000000000046</clsid>
                <icondata></icondata>
            </wdLnk>
....
</userdefined>

Sunday, March 23, 2008

FLIP Video Ultra camcorder: iMovie HD works, iMovie '08 might

[Update - Over the course of using and testing this device I became very negative about it for all OS X users and even for XP users. I don't believe the video files will be readable in five years. On the other hand, as per my 7/08 update, on one machine iMovie '08 now edits this video.]

I bought a Flip Video Ultra Series Camcorder for the kids to use. I've jotted down some initial impressions below.
  1. It feels flimsier and cheaper than the original model a friend of mine has. I'm surprised by this. I'd recommend buying the older model, which is now sold at a discount.
  2. There's no CD in the box, the software is delivered in the camera's memory store. Cute, and it works.
  3. Videos are in "AVI" format -- that's a metadata wrapper around a codec. In this case coded is 3ivx MPEG-4. iMovie HD (old version) can import these files after the 3ivx codec is installed, but iMovie '08 (current version) cannot (more below).
  4. Amazon had Jan 2007 firmware update. I downloaded and installed it but my camera was up to date anyway.
  5. The bundled software for OS X video editing is universally derided. I did not install it.
I installed the 3ivx MPEG-4 decoder from FLIPVIDEO:System:INSTALL:Macintosh 3ivx from a non-admin account. It used a standard Apple installer, no restart required. Install is into a Applications:3ivx (shared applications) and it includes an uninstaller* and a link to 3ivx.com [1]

Videos are found in FLIPVIDEO:DCIM:100VIDEO.

Since iMovie '08 only imports DV, MPEG-4 and .mov files I used Mike Ash's QTAmateur to translate the AVI files to DV files and imported these into iMovie. QuickTime Pro would also work but costs $30 -- and Apple makes users repurchase a license with every significant update.

The need to translate prior to import into iMovie '08 is very irritating. I'm working on something better, or I could just use iMovie HD. I've left feedback for Apple requesting support in iMovie '08 for importing AVI files when codecs (such as 3ivx) are installed. I'll also contact some Mac gurus I know.

I'll have more on the camera later once I figure out a good import workflow. Apple definitely deserves multiple hard blows for the lack of file import support in Movie '08 vs. iMovie HD.
--
[1] 3ivx is hoping you'll buy the full version from them. The current version is a small fix ahead of what Flip Video is shipping:
3ivx Technologies Pty. Ltd., the MPEG-4 Video & Audio specialist, announces the immediate availability of version 5.0.2 of the 3ivx MPEG-4 compression suite for Windows, Mac OS X & Linux....Version 5.0.2 fortifies the 3ivx MPEG-4 Filter suite against software exploitation from maliciously crafted video files.... improved Vista compatibility and additional QuickTime 7.3 compatibility...
The 3ivx site has some interesting configuration information, but the decode page for OS X is blank. The 3ivx site references iMovie HD (they call it simply "iMovie"), but not the problematic iMovie '08.

[2] Apple's iMovie was probably cutting into Final Cut Express sales, so Apple tossed it out and gave us 'iClip' instead.

Update 3/23/2008: I started a thread on Apple's Discussion list . It's gotten at least one helpful response that suggested MPEG Streamclip.

Update 3/23/2008: If you don't have it, you can download iMovie HD from Apple. I don't know if it really checks for iMovie '08, most everyone with a Mac will have one or the other though.

Update 3/30/2008: I found an AppleScript that should do what I need. It tells QuickTime Player to open multiple AVI files, process them to DV stream, then delete the originals. Unfortunately, it's giving me cryptic error messages.

Update 3/31/2008: I'm beginning to think Apple quietly disabled AppleScript driven conversion in QT Player. Nobody seems to know anything about it.

MPEG Streamclip is a free video converter and editor that will work with the 3ivx encoded AVI files FLIP Video produces. QuickTime Pro ($30) won't do batch conversion, but it will directly edit the AVI files -- and it may be much simpler to use than iMovie. Perian doesn't help with conversion, but some feel it's a better solution than the 3ivx supplied codecs. VisualHub does batch conversion and is well regarded, but it costs $23 and the "trial version" is very limited. Mike Ash's QTAmateur also does batch conversion and it's free.

I considered the possibility of a script solution that would automate the flow into iMovie, but neither iMovie '08 or iMovie HD are scriptable [1]. So the best one could do would be to flow into iPhoto and collect from there.

I like the idea of a simple editing solution the kids can use on their video clips, without a translation step. iMovie HD doesn't require the translation step, but it's too much for now. I think I'll try MPEG Streamclip first, then, if that doesn't work, I'll spring for QuickTime Pro. If that fails then I'll fall back to iMovie HD. I'm going to leave iMovie '08 out of the picture for now, it just aggravates me.

Update 3/31/2008b: MPEG Streamclip

I'm back from my MPEG Streamclip. It's very impressive as a free app, but it's pretty rough. I came across a lot of odd behaviors, and it's a very industrial interface. There was no budget for eye candy! I came up with some interesting numbers in testing a small video:
  • initial size (AVI file, 3ivx coded): 12 MB
  • convert to DV using QT Amateur or iMovie HD import: 84MB file, exquisitely slow.
  • MPEG Streamclip: painless quick trimming, but can't save as AVI (no encoder). Oddly enough, none of the 'Save As' options worked. Export worked though ...
After I trimmed the small video to a 10 second clip I tried exporting from MPEG Streamclip to various formats:
  • Conversion to mp4 H.264: small clip took minutes (2.5MB)
  • Conversion to QuickTime Motion JPEG A: very fast but 17MB file
  • Conversion to Apple MPEG 4: very fast and the file is only 2.2 MB (quality probably less than H264)
iMovie '08 was able to import the H.264, Motion JPEG and Apple MPEG 4 files.

If it was just me I'd go with MPEG Streamclip, do initial trimming with it, export as Apple MPEG4 then drop the clip in iMovie. I think Streamclip is too rough for the kids though. So on to QuickTime Pro.

Update 3/31/08c: QuickTime Pro

Well, we have a winner. QuickTime Pro is a very nice tool for trimming video then saving it.

Just as with Streamclip, I experimented with various video formats. QT Pro will open the original AVI file and save it as an MOV file, but that doesn't help. It's simply changed the wrappers.

I tried exporting a QuickTime movie using H.264 compression, but it was unbearably slow on my G5 iMac. MPEG-4 Improved had very tolerable speed and image size and quality, but it was not compatible with iMovie '08. Until I turned "streaming" off, then it worked.

So I think I'll teach the kids to use this workflow:
  1. Copy videos to a shared folder.
  2. Trim and save using QuickTime Pro.
  3. If they want to assemble the clips into a movie we can use iMovie '08 or iMovie HD.
Update 4/30/2008: My Amazon review - not for OS X customers.

Update 6/5/08: Flip's owners, rebranded as Pure Digital, have finally acknowledged there's a problem with iMovie. In the meantime, Apple's QuickTime 7.4.5 broke the 3ivx codec used by the Flip camera on OS X 10.4 (but not 10.5). My costly version of QuickTime Pro is now of no use. Neither Apple nor PureDigital has acknowledged the problem, but the Apple and 3ivx support forums have lots of complaints.

Update 7/3/08: The FLIP 3ivx videos are now directly importable and editable in iMovie '08 7.1.2 with the default FLIP provided 3ivx codec, OS 10.5.4, Intel processor, and QuickTime 7.5.

I've been using Perian on my PPC iMac since QT 7.4.5 broke 3ivx audio

With that codec and QT 7.5 & iMovie 7.1.2 & 10.4.11 FLIP video import attempts don't produce any error message, but they don't work. I need to reinstall the 3ivx codec and try again.

Update 12/12/08: Apple has even provided official documentation on import from new FLIP camcorders.

--

[1] Scriptability is a great way to test when Apple software is polished and ready for use. Apple commonly releases poor quality products then tunes them up over many iterations (ex: iPhoto). Applescript support seems to require a mature product with a healthy code base and good design, so the lack of Applescript support in iMovie HD, iMovie '08 and (really) Aperture 2.1 are all bad signs.

Selling a RAZR on Craigslist vs. SecondRotation - the winner is ...

Craigslist beats SecondRotation - handily.

I started our with SecondRotation; I don't like eBay so I didn't bother with them.

This is how the SecondRotation sale went:
  1. Go to web site.
  2. Create account.
  3. Get quote ($50).
  4. Clean out phone.
  5. Find packaging, find drop-off spot, send package.
  6. Wait a week.
  7. SecondRotation says the phone is "locked" and offers to "dispose of it for free".
  8. Request return of the phone.
  9. Wait.
  10. Again request return of the phone.
  11. Wait.
  12. Phone is returned, without much packaging. The box is a bit beat up, but otherwise it looks like what I sent them.
  13. Sprint support says the phone isn't locked.
Now I try Craigslist. For the sake of comparison I sell it for what SecondRotation offered: $50.
  1. Take a picture.
  2. Post picture and description. I include a link to a Google Apps page. That page has my contact info and my LinkedIn profile.
  3. Get six responses within 3 days. I guess $50 was a bit on the low side, but I'm fine with that. I accept the first one and remove the advertisement.
  4. [I'd already cleaned out the phone, if I] hadn't I'd have done it at this point.
  5. Arrange to meet at my office so buyer can switch phone to his number before handing me any money.
  6. Phone switched, I get $50.
The Craigslist experience was much better than the SecondRotation experience -- even if I assume SecondRotation really did think the phone was locked. Maybe it was ... transiently.

Recently I used Craigslist to move a child's play structure and a wooden futon frame from our attic. I'd tried to give them away for years without success, a Craigslist ad got rid of them in days. I didn't ask for money, these were high quality goods I'd been unable to find a good home for. Both items ended up with young families who will get years of use from them.

I'm a Craisglist fan.