Saturday, May 30, 2009

Scrolling Playback in the Timeline

FCP doesn't really like to scroll the timeline while you playback footage. And while I wish there was an OPTION for it, I'm okay with it not scrolling at all. It really does save some CPU when you're doing HD muiltclip editing and other CPU intensive tasks as well as increase your bandwidth usage as FCP pulls thumbnails from the footage on the drives to display in the Timeline. We'd probably see a lot more dropped frames if the Timeline scrolled all the time. At least in FCS2 on Leopard.

However, if you have a Mighty Mouse you can scroll with it's trackball while you're playing footage in the Timeline but this will eat up some CPU cycles as well as use a little more bandwidth from your hard drives. But, if a client insists that they see where the playback bar is while you're editing and playing edits, keep your fingers near the Shift and PageDown keys. Shift + PageDown will advance the timeline one "screen" at a time during playback.

Sunday, May 24, 2009

VisualHub Can't Convert .flv Anymore?



A client has handed you (meaning you've used Command + Option + A in Safari to open the Activity Window and downloaded that really cool video from YouTube to email your friends) a .flv that they need in some other format for something or other. Opening it in VLC you see that it's h264/mp4a and VisualHub begets you an error like "Cannot allocate temp picture, check pix fmt"

What do you do? Well, you can try altering the Decoding parameter in VisualHub to be QuickTime or ffmpeg or whatever but your luck will vary. It may just work, or need Perian or may never work. flvs are fussy like that.

Even the power of QuickTime alone won't do it; you need 3x the transcoding power.

A) Install Perian
B) Install MPEG Streamclip.
C) Launch MPEG Streamclip and drag your fussy .flv into it.
D) Export it to H.264 (QuickTime) or the codec of your choice.

See, QuickTime + Perian will PLAY the .flv but when you export it it'll likely be MOS (Mit Out Sound). But, opening it with the power of Perian plus exporting it with the power of MPEG Streamclip will result in a transcoded file with audio.

Yup. You didn't even have to restart :) The only downside is that the resultant file will be 60-70% larger than the original .flv but monkey with the settings in MPEG Streamclip and you can bring that down significantly without very much of a loss in quality at all. The first thing to change is the Data Rate with a lower kbits/s. Also, unless you need really high quality audio, try lowering the audio to 22.050 kHz.

Great, thanks, Mr. Not Bruce, but how do I delete these two apps now?

From Perian's site:

How do I remove Perian?
Open the System Preferences. Select the Perian pane and 'Remove.' Now 'Show All' preference panes, control-click the Perian pane and 'Remove "Perian" Preference Pane.


As for MPEG Streamclip...just drag it to the trash.

Friday, May 22, 2009

Where was that Render Folder?



A friend called today and asked me something I've never thought about before regarding FCP.

"How do I find out where the last Render Folder was for this project?"

"Why?"

"Because I have 4 hard drives hooked up and I changed the scratch disk for another project and FCP is asking which one I want to use now because that one's gone."

"Did you search for the project's name on your Mac? It'll be named that. Sort by Kind and look for folders. One will be inside a folder named Render Folder."

"There's no other way?"

"I guess you could look inside the FCP save file and search for the words "Render Folder"."

"How do I do that?"

"Drag the save file to TextEdit, it's basically a text file, then hit Command F and type in "Render Folder" and then hit Command G to skip through all the results. Look for what hard drive it's on."

"Ah. K cool. Thanks."

"Sure."

Thursday, May 21, 2009

Ejecting Optical Media


If you try to burn an optical media disc and for some reason it fails (the Finder is notorious for this...stupid .DS_Store files...) and you then try to eject it and can't no matter how many times you hit the Eject key or try ejecting in Toast, try launching Disk Utility and highlighting the optical disc and hitting eject in the toolbar. Usually, the disc will pop right out.

(Btw, recently I had a DVD+r DL disc that failed to burn in the Finder but trying the next disc in the spindle worked fine with Toast. Grrr.)

Extracting Stuff from .SWF Files


As an editor you'll be provided with the media the client wants to incorporate into the project. However, sometimes the client is utterly clueless and will send you things that are sometimes less than useful. A friend of mine called me in a panic because the client emailed him some media to use in the current project in the handy dandy form of a .swf file.

I'm sure the client asked the media department of their megacongolmerate for the "files" or the "images" or "whatever we have on the website" to synergize into their vertical brand marketing deliverables objective action points or some garbage.

Looking around I found this neat free app called Flaex which extracts stuff from .swf files. It even has previews of images and sounds right within the app, beware though that if you click on a long sound file there's no way to stop it from playing, you just have to wait it out.

Wednesday, May 20, 2009

Disk is in Use and You Can't Eject It

Ever had a hard drive you can't eject because the Finder claims it's in use even though no project is open on it, no file is open, no anything is anything on the drive?

Usually the culprit is FCP which sometimes doesn't want to be left all alone and desperately clings to any last vestiges of its former usefulness. There's a Terminal command to find out what is using the drive (or at least what file is open on it) but it's the Terminal and that's not very Mac-Like.

So, recently a free application called WhatsOpen appeared and it's perfect for finding out what's going on. Give it a try and donate something if you like it and find it useful.

This is different from when the Finder just decides to leave a properly ejected drive's icon in the sidebar which does happen on occasion. Those you can just drag out of the sidebar and enjoy the poof of smoke.

If you really want to know the Terminal command it's:

lsof | grep /Volumes/Stubborn-Hard-Drive

Where Volumes/Stubborn-Hard-Drive is the path to the hard drive in question. To make it a little easier just type:

lsof | grep

into the Terminal, then drag in the stubborn hard drive from the Finder and hit return. You'll see what file is "in use" on the drive. lsof, btw means LiSt Open Files.

Shift+N and Missing Frames

I haven't had time to really test this and see if it's an occasional bug or an actual repeatable bug but, I had a Typewriter Text Element which needed to be extended a few seconds after it completed it's action. So, opening it up in the Viewer and hitting Shift+N (for still frame) I noticed that it removed the last one or two frames of it's typing action.



So, instead of it reading Day014 it would suddenly read Day01 when I hit the key combo. I'll investigate it further but it was repeatable that day and I didn't try restarting FCP to see if that cleared it up. The project isn't over yet so I'll have more time to test it later.

Shift Delete Bug

Here's an interesting occasional bug in FCP:

I had two clips and their associated audio tracks highlighted. Then I hit Shift+Delete to perform a ripple delete. But one unassociated audio track refused to budge. You can see the result in the two following images.

Before the Ripple Delete


After the Ripple Delete


A restart of FCP fixed it which goes to show that something as complex as FCP can get confused sometimes.

Always make sure you set your auto-saves to a different drive than your project drive (preferably one with Time Machine going) and don't be reluctant to save and restart FCP when things get strange.

(the stills were pulled from a video my assistant took with his little portable camera, it's interesting to see the convex curves in the stills even though the editing monitor is a flat LCD, due to the lens on his camera)

Friday, May 15, 2009

SmoothCam Not Working


If you try to apply SmoothCam to a clip and nothing happens, no analyzing, no messages, no errors, nothing...your clip is probably in a format that SmoothCam doesn't like to work with. This can be especially tricky with SD footage.

To solve this, open up your clip in QuickTime Player and export it as Apple Intermediate Codec (or something else depending on the initial codec your clip was encoded to) and Save. Then bring it into FCP and apply the SmoothCam filter.

Thursday, May 7, 2009

Final Cut Pro and Freeverse's Color Picker


If you're seeing something like this:

5/7/09 10:34:53 AM Final Cut Pro[408] Warning Custom ColorPicker class with name .com.freeverselib could not be loaded.

In your Console logs it's because someone has likely installed Freeverse's Lineform application at some point on your Mac. Lineform is a simple drawing application but it's installer does (or did, not sure) some strange stuff. One thing is that it installs a 4 KB file called .com.freeverselib.06020 into ~/Library/ColorPickers (the tilde means it's the Library folder in your home folder).

The file it installs begins with a period so it's hidden. Why, I have no idea but I don't like it. I dislike hidden files entirely, but that's another rant. How do you get rid of it and the console error every time you use the color picker in Final Cut Pro?

01) Launch the Terminal.
02) Paste in "defaults write com.apple.finder AppleShowAllFiles 1" without the quotes. (this command toggles the visibility of hidden files in Leopard)
03) Hit return.
04) Hold down Command + Option and right-click on the Finder icon in the dock and select Relaunch.
05) Navigate to ~/Library/ColorPickers and trash the ridiculous .com.freeverselib.06020 file and empty the trash.
06) Paste "defaults write com.apple.finder AppleShowAllFiles 0" (that's a zero) without the quotes into the Terminal. [or just hit the Up Arrow and backspace and change the 1 into a zero.] Hit Return.
07) Command + Option right-click the Finder icon in the dock and hit Relaunch again.

Done.