Apple

My 3-headed editing setup

Friday, July 3rd, 2009

Posted via web from Zachary’s posterous

A funky vertical panorama shot and stitched from 3 photographs on my iPhone with the AutoStitch app. The monitor at bottom is my DIY Cintiq, which has yet to be encased and prettified.It’s fed VGA (!) 1 from a USB-DVI adapter.

This non-hardware-accelerated display works fine as extra space for displaying bins.

  1. the monitor was an ancient model that a friend was throwing out ↩︎

I ♡ the iPhone on-screen keyboard

Friday, June 19th, 2009
I frequently hear people who don’t have or use iPhones complaining that the iPhone’s onscreen keyboard is one of the device’s serious shortcomings and wishing aloud that it had a tiny hardware keyboard instead.

I have years of experience using the tiny hardware keyboards on my smartphones 1, and from my perspective these criticisms are far off-base. I’m faster at typing on the iPhone, with about the same level of accuracy. I think most iPhone keyboard complainants would recant if they spent a week poking at one.

My opinion of the keyboard is very positive. The iPhone’s text input method is extremely well designed and usable, with both fantastic visual feedback and intelligent auto-correction. Other companies who consider including an onscreen keyboard on their mobile devices 2 would do well to copy its strong points.

Here’s a little clip of some random iPhone typing. The clip looks a bit odd because to make it I balanced my Creative Vado HD camera on one of those “helping hands” devices to use its magnifying glass, resulting in a sharp but amusingly distorted image. I don’t think the typing speed on display here is exceptional, and I’m usually more accurate. Speed and accuracy were impaired due to a recording setup which imposed physical constraints –I had to move my finger around at a strange angle in the small space between the magnifier and iPhone and could not see the letters pop or words form without leaning my head at a strange angle 3, normally I hold the iPhone in one hand and type with the other. But forgetting these issues, the clip does show, to my mind, that the iPhone keyboard can be used to type with reasonable speed and accuracy. And it’s fun.

iPhone 3G Typing Demo from ZachFine on Vimeo.

  1. Handspring Treo 300, Palm Treo 600, and Palm Treo 650 ↩︎
  2. I’m looking at you Google Android (I was very disappointed when I tried an Android onscreen keyboard the other day, it was so non-responsive it didn’t even register most of my keypresses ↩︎
  3. I basically typed this blind, only checking periodically to check for error. This is actually a good way to go when typing on the iphone, as if you let go and just use the force more often than not you end up with the exact words you were trying to type in much less time than it would take to be super-careful about your keypresses. ↩︎

The beauty of SeaTac intl airport

Thursday, June 18th, 2009

edit: I’m wrong about the resolution issue — see correction and link to a full-resolution 2729×733 180º panorama at the end of this post.

I just shot and stitched a panorama while waiting for a ride. Though the Autostitch iPhone app does a great job, I can’t help but wish it would save the resulting panoramas to the photo library at full resolution.
 
The screenshot of the app displaying a section of the finished panorama is at least twice the resolution inside the app as is the version it saves. If the iPhone APIs limit the resolution at which apps can export to the photo library, perhaps autostitch could save to its own db and offer some other method of export (email, built-in webserver a la ‘Brushes’, flickr export?).
 
Regardless this one limitation, ‘AutoStitch’ is a lot of fun, and is well worth its $1.99 price.

Posted via email from Zachary’s posterous

— Edit 2009-06-19 12:32am —
It appears that AutoStitch does save its panoramas at full resolution to the iPhone’s photo library, but the photo library doesn’t display the images at full resolution. Nor does the iPhone’s mail client send the photos at the original resolution, instead it scales them to be much smaller.

I used the ‘Multi-Photo’ email application, which can send multiple photos via email without resizing, to send this panorama to myself. 1 Click the thumbnail below if you’d like to view the panorama at its full 2729×733 resolution.

thumbnail of airport arrivals pickup zone panorama
Click this thumbnail to see the full-res pano.

  1. Were I home and not out traveling, I’m sure the full-res photo would have easily synced to my home computer’s iPhoto library over USB, but that’s not an option in the field. ↩︎

free iPhone Application Programming class

Friday, June 12th, 2009
Screenshot of the listing for the iPhone Application Programming class in iTunes U.
Apple’s iTunes music store has a section of free podcasts called “iTunes U”, which feature lecture media (videos, audio, PDF notes) for classes at a number of universities.

Someone recently mentioned to me that Stanford University’s “iPhone Application Programming” class 1 is available 2.

I’m thinking I may try to work my way through this set of lessons for a few reasons:

  • It would be good for me to gain a better grasp of object oriented programming principles.
  • The iPhone looks like a fun platform for which to program, with rich APIs that run the gamut from UI to animations to data storage (with SQLite as an option!).
  • I’ve been running a lot of iPhone apps lately, and thinking of apps that should exist and might be interesting to develop.
  • Free development tools, based in part on the gnu C compiler, with which I’m already a little familiar.
  • If I managed to program anything worthwhile, there are a ton of potential users, and distribution (and sales if it’s a commercial app) would be remarkably easy due to the existence of the app store.

I’m amazed by the apparent number of other classes available for free download in “iTunes U”. I look forward to one day having enough spare time to actually look through more of them.

  1. If iTunes is installed on your computer, clicking that link will take you to the page in iTunes from which you can download individual classes or subscribe to the entire feed. ↩︎
  2. I noticed that the class is co-taught by Alan Cannistraro, a former coworker of mine. It’s nice to see a familiar name. ↩︎

An error message I’d love to see improved in Snow Leopard

Tuesday, April 7th, 2009
OS X's "disk is in use" error dialog

Oh how I hate the above error message. It’s not that it’s completely uninformative, but it’s a perfect case of “so close but yet so far”…

Anyone who uses as many external disks on a Mac as I do is apt to occasionally have trouble properly unmounting and ejecting those disks 1. Before unmounting a disk, it’s necessary to stop accessing files on the disk. This is often an easy thing to do –if I’ve loaded a file from an external disk into an application, I just close the document or quit the application entirely. If I’ve goofed and am still using files on the drive, OS X will refuse to unmount the drive and will display the error dialog I’ve pasted above. 2

But often it’s less than obvious which application or function built-in to the operating system is using a file on the drive. There are applications that don’t play nice, and keep file handles open to files on a disk even after you’ve closed all documents that use those files 3. There are functions built into the operating system that access files on a disk without calling any attention to themselves. This error message could and should be a hell of a lot more informative and useful.

A simple set of commands in Terminal 4 can reveal which application is using a file on a particular disk. Since this information is available, is incredibly useful, and can be quickly retrieved in the Terminal, I see no reason that it is not just included in the initial error message. Telling me that a disk is still in use is not nearly as useful as telling me that a disk is still in use by Microsoft Word, or that a disk is still being shared with another computer.

In this case, the terminal command “lsof | egrep -i 400Gb” reported that a process named “smbd” was still using the drive. Since I’m a Unix geek this is useful information to me, but since OS X tries to also be useful to people who wouldn’t know a Samba daemon if it ate their grandmother, this process should be simplified. In an ideal world, the error message above would read “The disk ‘400Gb_Thing’ is in use by OS X’s Windows file sharing. Would you like to stop sharing this drive and eject it?” and would feature both “OK” and “Cancel Ejection” buttons.

This is a no-brainer. Apple, please fix. Thanks.

Technorati Tags: , , , , , , , , ,

  1. It’s a good idea to actually unmount disks prior to unplugging them, modern filesystems need to be given a proper send-off before disconnection to keep the data in good shape. ↩︎
  2. Windows users (and I am one), please refrain from feeling smug at this tale of Mac woe. Don’t get me started on the Windows “Safely Remove Hardware” dialogue and how much fun it is to try to remember the model numbers of each of my external drives so that I can find them in that list. It’s unconscionable that this feature wasn’t redesigned for Windows Vista. They must have used a single USB drive as the test case. ↩︎
  3. I often just have to quit Final Cut Pro before ejecting a drive for this reason, sometimes it just won’t let go of a file even when all FCP projects have been closed and I’m looking at an empty Browser ↩︎
  4. “lsof | egrep -i portion-of-disk-name”, or in this case “lsof | egrep -i 400Gb”, without the quotes. ↩︎

Dvorak Whiplash

Wednesday, April 1st, 2009
I just did a bit of googling for PC Magazine columnist John C. Dvorak’s columns relating to Apple and Windows in an attempt to try and find one from a while back that I found particularly worthy of April Fools Day (i.e. laughable). Instead I hit the trifecta.

I’ve put these three Apple vs. Microsoft articles in order by date and have summarized their main points. These were all published within a 1-year period. I’m getting whiplash just trying to figure out how one person could flip between three such contradictory lines of thought so quickly. 1

  1. Jul 25, 2005: Windows Vista: Where’s the Buzz?. Summary: OS X is going to win over the entire x86 landscape due to Vista’s crappiness.
  2. Feb 15, 2006: Will Apple Adopt Windows? Summary: Apple might, or will, or should drop its own OS and start shipping machines that run Windows (Vista?) with some OS X-like GUI tweaks. 2
  3. Apr 17, 2006: Apple Needs to Make OS X Open-Source; Clouds are looming if the company doesn’t do so. Summary: The strongest bit of reasoning in the article is that “clouds” are looming over OS X because of his assumption “… that as this is being written, Microsoft has coders in its skunk works tearing into OS X looking for deep flaws that it can exploit and publicize. Don’t think otherwise. It only makes sense that they’d do this.” He argues that this bad MSFT-generated publicity will somehow cause Apple to want to open-source OS X 3.

    That’s the most well-reasoned part. Cough. The most hilarious bit relates to how “The Boot Camp product is pure test marketing. It’s so obviously test marketing that it’s hard to believe that people are foolish enough to get worked up about it.” He goes on to detail exactly how this test marketing scheme will work in an incredible flight of fantasy that seriously includes the possibility of “protests, picketing, egg-throwing, and flaming” from rabid old-school Apple partisans. Awesome!

Now that I’ve realized that he’s a humor columnist and doesn’t pose as a serious and knowledgeable technology writer with unnamed sources who are not-exclusively mental, I’ve lightened up. Those articles are pretty damned funny after all.

Why am I picking on a set of 3-year-old articles? Because a google search told me to!

  1. To be fair, within the articles he occasionally notes where one article seems to contradict another and explains why it really doesn’t –using a level of logical analysis that I’ve decided is actually a sophisticated form of humor, invented by a hyperintelligent shade of the colour blue. ↩︎
  2. Oh how this one makes me laugh,”Luckily, Apple has a master showman, Steve Jobs. He’ll announce that now everything can run on a Mac. He’ll say that the switch to Windows gives Apple the best of both worlds. He’ll say this is not your daddy’s Windows.” Maybe the Apple fan bois he holds in such high esteem won’t show up with torches and pitchforks! ↩︎
  3. to give him the benefit of the doubt, he must only mean the portions of OS X that are not already covered under one open-source license or another –it is a BSD Unix after all. ↩︎

How to run Skype on a jailbroken iPhone without crashes

Tuesday, March 31st, 2009
Update: I’m leaving this post here for historical reasons, but there’s a better fix for this issue from the developer of ‘Mobile Substrate’. See the news about the Mobile Substrate update here. Short version: update in Cydia, the new Mobile Substrate will get out of Skype’s way. Great to see a fix so quickly, less than 12 hours since Skype appeared in the app store.

If you’ve jailbroken your iPhone (you miscreant!), you may find that the new Skype for iPhone app crashes within minutes of launch. It appears that this is because you have a hidden application called ‘Mobile Substrate’ installed. ‘Mobile Substrate’, among other things 1, makes it possible for apps like VoIPover3G to enable the use of voice-over-IP applications like Fring over cellular data connections.

I don’t know whether Skype is quitting deliberately because it detects ‘Mobile Substrate’, or whether there’s some other bug in the interaction between ‘Mobile Substrate’ and Skype. What I do know is that it is possible for users with jailbroken iPhones to temporarily disable ‘Mobile Substrate’ and thus run the new Skype app without issue, by enabling something called ‘Safe Mode’. This solution has been posted online, but I was a little unclear on the details. Here are the steps I’ve found that work:

  1. Launch the Cydia application installer.
  2. Install an application called ‘SBSettings’.
  3. Exit Cydia, return to the Springboard.
  4. Launch SBSettings (drag a finger across the status bar at the top of the iPhone screen).
  5. Hit the little SBSettings power button to bring up a menu of options.
  6. Choose ‘Safe Mode’ from the menu. Enjoy. Try not to freak out about the hilarious “sad iPhone” background image, or the error message that says Springboard has crashed –that’s just there because Safe Mode normally is only activated when Springboard does crash, it’s a fail-safe mechanism added to jailbroken iPhones to smooth over any instability.
In Pictures:
2
The SBSettings panel. Hit the little red power button.
1-1
Hit the ‘Safe Mode’ button.
1-2
Skypey goodness!

In Safe Mode, your iPhone will look a little different. The time will no longer be displayed in the status bar, which will instead say “Exit Safe Mode”. At this point, you can launch Skype, and it should work. At least, it has yet to quit on me. My friends are all asleep, so I can’t test it on a long voice call, but I’ve been running the app now for about 20 minutes without issue. A call to the skype sound test id ‘echo123’ worked and the audio quality was excellent.

I found the following super-blurry French video helpful when I was attempting to figure out how to use SBSettings and access Safe Mode. Maybe you will too.

Happy Skypeing!

Technorati Tags: , , , , , , , , ,

  1. I know not what other things, I’m a little unclear as to its purpose, actually. ↩︎

Skype for iPhone: Finally!

Monday, March 30th, 2009

Skype for iPhone screenshot


Can I get a hallelujah? I wonder what took so long?

My Sony Mylo 2, a device only useful to me because it is a very good wireless Skype phone, will be going up for sale on eBay after Skype launches its long-awaited iPhone app tomorrow. My apartment just isn’t big enough for the both of them.

Articles on the impending Skype application for iPhone:

I suspect it’s only a matter of time before enterprising iPhone hackers manage to circumvent the app’s wifi-only restriction for VOIP.

Technorati Tags: , , , , ,

SmoothCam test #1: AJ developing a musical idea on a piano

Tuesday, March 24th, 2009


A SmoothCam Test – AJ testing an idea on the piano from ZachFine on Vimeo. Available in larger size for playback and/or download here.


This is a test of Final Cut Pro’s “SmoothCam” motion stabilization filter. I’ve set two videos side-by-side. On the left, the original clip. On the right, the SmoothCam version with the following settings:

Auto Scale: 1
Actual Scale: 138%
Translation Smooth: 1.5
Rotation Smooth: 2
Scale Smooth: 0
Mix: 100

The original clip was shot with a Canon HV20 mounted on a Steadicam Merlin, so it was fairly smooth to begin with. I was pleased with how well the SmoothCam filter ironed out the rotational skewing of the camera without being noticeable about it. I do wish the filter didn’t autoscale the entire clip to match the worst of the movement, and instead the adjusted clip could start with the wide and then smoothly scale in to cover the adjustments, then smoothly scale out for segments that were more stable. Had I shot with a higher shutter speed, the motion blur on the subject wouldn’t be as bad.

I’m sure I’ll end up using this SmoothCam filter on some footage one of these days. It’s a nice effect. I’ve already had FCP batch analyze all my footage from the SXSW festival. The fact that the filter works very quickly on clips whose motion has already been batch analyzed is a deal-maker.

Technorati Tags: , , , , , , , , , , ,

Final Cut Pro can batch analyze clips for stabilization, in the background yet

Monday, March 23rd, 2009
A screenshot of the Final Cut Pro Browser and Background Processes windows showing the SmoothCam Analysis in progress.
A screenshot of the Final Cut Pro Browser and Background Processes windows showing the SmoothCam Analysis in progress. Click the image to see it at a legibly large size.

I ran around the South by Southwest festival last week shooting behind-the-scenes video of my cousin AJ and his band on my Canon HV20, stabilized with a Steadicam Merlin. I’m still learning to use the Merlin –it is a fantastically engineered piece of kit, but it takes a light touch to float it about, and it’s much easier to use for choreographed moves than for impromptu run-and-gun documentary-style shooting.

Final Cut Pro and Motion both inherited a feature from Shake called “SmoothCam”, which is a motion stabilization filter. SmoothCam analyzes movement within a clip and moves the frame around to compensate for high-frequency movement while preserving the lower-frequency moves –i.e. it tries to remove bumps and vibrations while preserving smooth, intentional camera movements. I ran a few tests on some of my relatively smooth clips, and SmoothCam seemed very good at doing exactly that.

When the SmoothCam filter is applied to a clip, that clip is put into a queue and Final Cut Pro begins to analyze the motion in the clip. Once FCP’s analysis concludes 1 , the SmoothCam filter will have data to use for its calculations and its effect will finally become visible. One can then adjust the SmoothCam settings and see the results instantaneously (with a computer of sufficient power).

I’m happy to note that it is possible to have Final Cut Pro analyze the motion of a batch of clips, and then later if the SmoothCam filter is applied to any of these clips its results can be seen without delay. The motion analysis data for each clip is written to disk alongside the clips themselves.

Since I may or may not want to use the SmoothCam filter on many of my clips, and I don’t plan to do any more editing on my computer tonight, I’ve set FCP to batch analyze the motion in all of my footage from the last week. To do so, I enabled the “SmoothCam” column in FCP’s Browser, selected all the clips I wanted analyzed, right-clicked in the column and chose “Run Analysis” from the clip’s contextual pop-up menu. Now the analysis is puttering away, and tomorrow I can play.

The things one can learn by glancing at the manual!

Technorati Tags: , , , , , , , , , , ,

  1. The entire clip is analyzed, regardless whether only a portion of it is in use in a timeline. A clip’s In and Out points are ignored. The analysis can take a while, and I would strongly recommend converting any clips in a long-gop format such as HDV to Prores beforehand for markedly faster analysis. ↩︎