Joe Maller.com

Here’s What You Should Do

Jeff Caudill’s new solo album is finally out, Here’s What You Should Do is available from CDBaby (no record company BS), and hopefully it’ll be on iTunes soon too.

Jeff was formerly the lead singer/songwriter for Gameface, and his solo work has just gotten better and better with each release. His songwriting is incredibly personal and real, sincere and moving without being depressing or unlistenable. He’s written some of my favorite songs, and made favorites of others he’s covered.

Jeff became a father last year, I’m looking forward to hearing this and seeing how that huge change has affected his music. The recent free MP3s from his site are fantastic.


Links for May 8, 2005


iPhoto, JPEGs and Metadata in 10.4

While responding to an email asking about IPTC data in iPhoto, I started thinking how great it would be to store iPhoto’s information as Spotlight extended attributes, but I found that Apple did it already! This is a great idea and I was glad to see it.

The mdls [file] terminal command will list all metadata associated with the specified file. (The easiest way to see this is to type “mdls”, space, then drag a file into the terminal window)

Anything in iPhoto with keywords or a title should have these two additional bits of metadata attached to them as HFS extended attributes:

kMDItemKeywords = ("3rd Avenue", Mirror, Sidewalk, NYC)
kMDItemTitle = "Man Walking with Mirror 1"

It’s great to see this but it’s not especially portable yet. Anyone know how to write IPTC data from the command line?


Lila in circles

Lila in circles

Stuyvesant playground


Links for May 5, 2005


New FCP/FXScript bug with 10.4 Tiger

I installed Tiger on April 29. My existing 10.3.9 installation was fully backed up to a bootable Firewire drive, so I wasn’t worried about losing anything or reverting. Despite having developer access to 10.4 for almost a year, I didn’t run it on anything but a beaten-down iBook, and really didn’t spend much time with that either. If I were only doing FXScript, I probably should have waited until FCP 5 shipped before moving up, but I need to know about 10.4 in I can answer questions and eventually upgrade the machines at IOP. Mostly though my curiosity had me installing Tiger right away.

The first thing I noticed when I opened FCP4.5 in 10.4 was the wrong color debugging text in the filter I’ve been working on for the past few weeks. What should have been white was yellow, with chunky pixelated edges. This caused a small amount of panic while thinking all my text-drawing routines would be broken. (they weren’t)

What I’ve found is that DrawString and DrawStringPlain break when applied to an FXScript image buffer which has been affected by several FXScript image processing functions, this one used LevelMap. It doesn’t make any difference whether the levelmap changes anything or is a clean linearRamp passthrough. The problem only happens in ‘naive’ color space, that pseudo-RGB space FXScript uses when YUVaware isn’t declared at the beginning.

Here’s what the text looks like in FCP4.5 running under 10.3.9 with QT6.x:
FCP4.5, QT6, 10.3.9 - correct

And here’s the same text in FCP4.5 running under 10.4 with QT 7:
FCP4.5, QT6, 10.3.9 - wrong

There’s one other wrinkle, enabling transparency with exposedbackground=1; causes several of DrawString’s outputs to disappear while DrawStringPlain’s results punch out to transparent.

It’s not just white that’s affected. Here’s a quick chart of what happens to the various color constants:

Color DrawString DrawStringPlain
kBlack invisible blue*
kWhite yellow w/ white edges white
kGray dark yellow w/ gray edges pale bluish violet
kred black w/ blue edges blue
kGreen invisible magenta*
kBlue invisible Cyan*
kCyan invisible white*
kMagenta green w/ cyan edges cyan
kYellow red w/ magenta edges magenta

* transparent
semi-transparent

I tried a bunch of other generative functions; FillPoly, DrawSoftDot and BlitRect, but none of those showed any adverse effect. Other processing functions did produce similar results. Several Convolve kernels caused problems, but it was hard to pin down when they’d break.

So the solution is to just set the effect to be YUVaware. The good side of all of this is that working in YUVaware generally gives effects a measurable speed increase. Still, this problem does cascade through subsequent effects, so it’s something to watch out for.

FXScript Text Icon Download the simple filter I used to isolate the problem: LevelMap & DrawString Color Bugs.fxscript (1k) Please let me know what you see if you try it out.

Disclaimer: This effect simply demonstrates a visual problem with FCP 4.5HD and MacOSX 10.4 Tiger. It can’t damage your computer. Still, this is offered as-is, with no warranty of any kind, implied or otherwise.

Share |
2 Comments so far
link: May 05, 2005 6:48 pm
posted in: Uncategorized
Tags:

Links for May 4, 2005



« Previous PageNext Page »

random

14th St webcam