More perspective on video editing

I read Bill Machrone’s current PC Magazine column on PC non-linear video editing with a bit of bemusement. He talked about the difficulty he and his son have editing video on their PCs, and he concluded with the question: “How do normal people do this stuff?” and the misguided answer: “They buy a Mac.”
You don’t have to do that. In fact, you can do pretty well on a PC if you just play by the same rules the Mac forces you to play by.

Consider this for a minute: With the Mac, you have one motherboard manufacturer. Apple tends to revise its boards once a year, maybe twice. Apple makes, at most, four different boards: one for the G4 tower systems, one for the iMac, one for the iBook, and one for the PowerBook. Frequently different lines will share the same board–the first iMacs were just a PowerBook board in an all-in-one case.

And the Mac (officially) supports two operating systems: the OS 9 series and the OS X series. You keep your OS at the current or next-most-recent level (always wait about a month before you download any OS update from Apple), and you keep your apps at current level, and you minimize compatibility problems. Notice I said minimize. PageMaker 7 has problems exporting PDF documents that I can’t track down yet, and I see from Adobe’s forums that I’m not the only one. So the Mac’s not always the bed of roses Machrone’s making it out to be.

Now consider the PC market for a minute. You’ve got two major CPU architectures, plus also-ran VIA; 4-6 (depending on who you ask) major suppliers of chipsets; at least four big suppliers of video chipsets; and literally dozens of motherboard manufacturers. Oh, you want an operating system with that? For all the FUD of Linux fragmentation, Microsoft’s in no better shape: Even if you only consider currently available offerings, you’ve got Windows 98, ME, NT4, 2000, and two flavors of XP.

So we go and we buy a video capture card and expect to put it in any old PC and expect it to work. Well, it probably ought to work, but let’s consider something. Assuming two CPU architectures, four chipset manufacturers, four video architectures, and twelve motherboard manufacturers, the chances of your PC being functionally identical to any other PC purchased right around the same time are 1 in 384. The comparable Mac odds: 1 in 4. But realistically, if you’re doing video editing, 1 in 1, because to do serious video work you need a desktop unit for its expandability. No Blue Dalmation browsing for you!

So you can rest assured that if you have a Mac, your vendor tested the equipment with hardware functionally identical to yours. On a PC you just can’t make that assumption, even if you buy a big brand name like Dell.

But you want the best of both worlds, don’t you? You want to play it safe and you want the economy of using inexpensive commodity PC hardware? It’s easy enough to do it. First things first, pick the video editing board you want. Next, visit the manufacturer’s Web site. Pinnacle has a list of motherboards and systems they’ve tested with the DV500, for instance. You can buy one of the Dell models they’ve tested. If you’re a do-it-yourselfer like me, you buy one of the motherboards they’ve tested. If you want to be really safe, buy the same video card, NIC, and SCSI card they tested as well, and plug them into the same slots Pinnacle did. Don’t worry about the drives Pinnacle used; buy the best-available SCSI drive you can afford, or better yet, two of them.

Video capture cards are cranky. You want a configuration the manufacturer tested and figured out how to make work. Otherwise you get the pleasure. Or the un-pleasure, in some cases.

As far as operating systems go, Windows 2000 is the safe choice. XP is too new, so you may not have drivers for everything. 98 and ME will work, but they’re not especially stable. If I can bluescreen Windows 2000 during long editing sessions, I don’t want to think about what I could do to 9x.

And the editing software is a no-brainer. You use what comes with the card. The software that comes with the card should be a prime consideration in getting the card. Sure, maybe an $89 CompUSA special will do what you want. But it won’t come with Premiere 6, that’s for certain. If I were looking for an entry-level card, I’d probably get a Pinnacle DV200. It’s cheap, it’s backed by a company that’ll be around for a while, and it comes with a nice software bundle. If you want to work with a variety of video sources and output to plain old VHS as well as firewire-equipped camcorders, the DV500 is nice, and at $500, it won’t break the bank. In fact, when my church went to go buy some editing equipment, we grabbed a Dell workstation for a DV500, and we got a DV200 to use on another PC in the office. The DV200-equipped system will be fine for proof of concept and a fair bit of editing. The DV500 system will be the heavy lifter, and all the projects will go to that system for eventual output. I expect great things from that setup.

The most difficult part of my last video editing project (which is almost wrapped up now; it’s good enough for use but I’m a perfectionist and we still have almost a week before it’ll be used) was getting the DV500’s video inputs and outputs working. It turned out my problem was a little checkbox in the Pinnacle control panel. I’d ticked the Test Video box to make sure the composite output worked, back when I first set the board up. Then I didn’t uncheck it. When I finally unchecked it, both the video inputs and outputs started working from inside Premiere. I outputted the project directly to VHS so it could be passed around, and then for grins, I put in an old tape and captured video directly from it. It worked. Flawlessly.

One more cavaet: Spend some of the money you saved by not buying a Mac on memory. Lots of memory. I’m using 384 MB of RAM, which should be considered minimal. I caught myself going to Crucial’s Web site and pricing out three 512-meg DIMMs. Why three? My board only has three slots. Yes, I’d put two gigs of RAM in my video editing station if I could.

OK, two more cavaets: Most people just throw any old CD-ROM drive into a computer and use it to rip audio. You’ll usually get away with that, but if you want high-quality samples off CD to mix into your video production, get a Plextor drive. Their readers are only available in SCSI and they aren’t cheap–a 40X drive will run you close to $100, whereas no-name 52X drives sometimes go for $20-$30–but you’ll get the best possible samples from it. I have my Plextor set to rip at whatever it determines the maximum reliable speed may be. On a badly scratched CD sometimes that turns out to be 1X. But the WAV files it captures are always pristine, even if my audio CD players won’t play the disc anymore.

It was a high-stakes game, and I won.

Who’s to say where the wind will take you
Who’s to know what it is will break you
I don’t know where the wind will blow
Who’s to know when the time has come around
I don’t wanna see you cry
I know that this is not goodbye
–U2, Kite

When I last left you, I was denying it was time to say goodbye to the data on a friend’s hard drive. I’d found some information on the Internet that promised to get her data back, but I hadn’t done it yet. As often is the case with the Internet, the instructions I found online for doing the job were close. They were not quite right, but they brought me close enough that I was able to make it work.

Removing Form.A from a FAT32 drive is difficult. I was able to verify its presence using the free-for-private-use F-Prot, but F-Prot wouldn’t remove it, Usenet reports to the contrary.

One word of warning: Do as I say, not as I do. The first thing I should have done was make a bit-for-bit backup copy of the drive. I didn’t do that right away. Norton Ghost will work, though it’s not exactly a bit-for-bit copy. A better approach is to get a mini-distribution of Linux and use the standard Unix dd command to make a backup copy. (For example: dd /dev/hda1 /dev/hda2 bs=1024k) Once you have a copy of the drive, work from the copy! If you don’t know how to do all this, do not attempt recovery yourself. It’s much too easy to mess up your drive beyond any hope of recovering your data. This information is presented for informational and entertainment purposes only. I make no representation whatsoever that this will work for you. For all I know it’ll install Gator on your computer and leave the dome light on in your car and erase all your VHS tapes.

I downloaded a utility called ivinit.exe from www.invircible.com (don’t e-mail me if their Web site is down; I could only get to their site about one time out of four myself). It’s a very limited utility; I’d chained the drive off another drive for recovery purposes but ivinit will only work on the primary partition on your C drive. So I disabled the primary drive. Ivinit found it and warned me that the MBR and its mirror didn’t match. I restored the MBR from its mirror, then rebooted. I re-enabled my primary drive, let it boot, and tried to access the drive. I got the invalid media type error again. I ran FDISK, which told me I had a single FAT32 partition. That was a good sign.

So I ran MBRWORK.exe, deleted the MBR and EMBR and told it to recover my partitions. It found a single FAT32 partition. Excellent. I rebooted, tried to read drive C, and… Yeah. Invalid media type paid me another unwelcome visit.

I ran the real-mode version of Norton Disk Doctor from a recent copy of Norton Utilities. You have to be very careful with Norton Disk Doctor; never run it unless you’re positive the version you have knows about FAT32. Otherwise, you’re setting your hard drive up for a train wreck. NDD wasn’t too happy. It wanted to scavenge and rebuild the partition table, and it didn’t offer me a chance to make a backup copy. I never let a low-level utility do anything that it won’t let me undo. I aborted.

At this point I wised up. I put an Intel 10/100 network card in the PC I was using to recover the data, plugged into my network, grabbed my magic network boot disk, and connected up to the big Windows 2000 computer I use for editing video. I ran Norton Ghost and told it to make an image of the disk. To my amazement, it found a single 3.8-gig FAT32 partition and started running through filenames!

Like I said, Ghost doesn’t normally do a bit-for-bit copy; it stores enough information to recreate a valid copy of your partition. If your partition isn’t quite valid, that means you don’t get an exact copy. The upside of that is that Ghost can be a useful data recovery tool, assuming it can make sense of your partition. And fortunately, it looks like it’ll make sense of partitions that Windows itself doesn’t want to touch.

Theoretically, I could have restored the data by just making an image with Ghost, then restoring the image immediately afterward.

Norton Disk Doctor revived the partition, and it revived it more quickly than a Ghost restore would have. Then I ran into another pitfall–everything in the root directory appeared OK, and most subdirectories one level deep were fine, but anything nested gave sector not found errors. Norton Disk Doctor offered to fix that stuff, but I had a gut feeling that I shouldn’t go that route. Any time there’s the possibility of bad sectors, I want SpinRite.

As soon as I ran SpinRite, it reminded me of why I should bring it into the game as quickly as possible. It reported that the drive’s CMOS parameters appeared incorrect and it was hesitant to continue. That’s good–incorrect CMOS parameters can cause the problems I was seeing. And trying to repair the drive with messed up CMOS parameters will lead to nothing good–something that Steve Gibson is certainly aware of, and something that Symantec may not necessarily care about. In this case, the parameters were wrong because I put the drive in another system and it defaulted to a different addressing method. Whenever you’re doing data recovery and you want to move the drive, you need to be sure you get addressing straight or you’ll do a whole lot more harm than good.

After I corrected the CMOS, a simple DIR /W /S ran through the entire drive with no complaints. Norton Disk Doctor found no filesystem errors or low-level errors. SpinRite doesn’t do anything about filesystem errors, which is why I went back to NDD–use NDD when you suspect filesystem problems, but always always turn surface-scan-type stuff over to SpinRite. And there’s no harm in running SpinRite first–it’ll alert you to problems that NDD might not notice.

Along the way I learned a whole lot more than I ever wanted to know about boot-sector viruses. AntiCMOS and Form were able to coexist together nicely, and on just about any computer purchased new between 1992 and 1996, they’d just happily infect any disk you used and you’d probably never be the wiser. With the release of Windows 95B and FAT32, Form became destructive. (Why should Microsoft test new filesystems for compatibility with old viruses?) Wendy told me the problem appeared after she left an old disk in the computer before she booted it up. I suspect their old computer picked up the virus at some point, and since it wasn’t destructive under DOS and Windows 3.1, they never noticed. The computer just happily infected disks. Boot sector viruses flourished in the early 90s, as everyone needed a boot disk to play Doom or other tricky DOS games, so people traded boot disks like recipes. As often as not, those boot disks carried viruses.

When I went to put the drive back in, the dreaded “Operating system not found” paid me a visit. I hadn’t wanted to try to boot off the drive while it was in another PC for obvious reasons. So I did the standard drill. First up: fdisk /mbr. Strikeout. Second: sys c:. Strikeout. Finally, God reached down with His two-by-four and smacked me upside the head to knock some sense into me. I ran plain old fdisk and found the problem–no active partition. So I set the partition to active, and boom. The system booted up and was its old self again. It seems like I always make that mistake.

Data recovery is definitely a trade or a skill, not a science or process.

Getting in touch with my feminine side

Soon after I moved back to St. Louis, Gatermann and I came up with a weird ritual for Friday and/or Saturday nights. Come Feb. 1999, I started writing my first book, which was a full-time job on top of the full-time job I already had, so my brain was usually totally fried after a week of troubleshooting Macintoshes for 40 hours and spelunking in Windows configuration files and writing about my findings for another 35-50 hours.
Sometimes our buddy Tim Coleman was involved too; it just depended on whether he had to work on a given night.

First, we’d go rent a movie, almost always an old Peter Sellers movie. Tom can keep the Pink Panther series straight; being oh-so dark and cynical, my faves are, of course, Dr. Strangelove, the classic comedy on nuclear war, and Being There, which is a very cynical take on what it takes to succeed in Washington. If you haven’t seen it, I’ve already given away too much.

Once we had a movie or two, we’d stop off at the local QT for some lovely beverages. You can get a 64-ouncer of whatever soft drink you want for about a buck, which is what we usually do. Note: A full 64 ounces of root beer does really bad things to you. You feel it in the morning. I know you’re going to go try it now, and you’ll be cursing me afterward. You’re welcome.

The first night we did this, Tim complained about women always using the facilities. I’d never paid any attention. But that triggered another part of the ritual. Being five-nine and about 140 pounds, I don’t have a whole lot of room to put 64 ounces of anything, especially when those 64 ounces are consumed within about a two-and-a-half-hour time frame. So, when I stood up about 45 minutes into the first movie to go recycle, Tom yelled, “Dave’s a woman.” When I came back, Tim got up. Tom yelled, “Tim’s a woman.” Without looking back, Tim made a one-finger gesture at Tom over his shoulder and kept walking. Tom enjoys inciting those.

We’ve seen every Peter Sellers movie available on VHS and we’ve tried every flavor at QT, so we don’t do this all that much anymore.

I bring this up because earlier this week, I received a flyer from Skillpath Seminars. The title of the seminar: Conflict Management and Resolution for Women. The guy who delivers the mail personally walked over to my cube and handed it to me with a smirk. Since I get about four brochures a day for various seminars, I normally put them in my round file without even looking at them, but I glanced at this.

“Dwayne got one too. We had a good time sorting the mail this morning,” he said.

Yep. Either someone told Skillpath about our little ritual, or some procedure was performed this past week that I’m going to be very unhappy about when I find out about it.