the good, the bad and the mpg
Tuesday, March 29th, 2011My friend A has reached her final week of preparing for a National Board Certification for teachers. One of the requirements is to submit some videos. She asked for help editing and burning the videos to DVD. I confidently agreed, since I’d found iMovie and iDVD on my Mac pretty easy to use when creating amateur videos before.
Ha.
The video files she gave me were AVI. iMovie won’t import AVI. Luckily, she brought her camera and I was able to import two of the clips directly from the camera. Preparing them for iDVD was simple, if time consuming. Disc one of two was complete.
Unfortunately the clips for the second disc weren’t on the camera, so I asked a coworker with lots of AV experience for advice. He suggested using ffmpeg to convert the AVI to MPEG-2, the standard DVD video format, then edit that in iMovie. I installed ffmpeg on my Ubuntu 10.04 machine and used it to generate the mpg file. The resolution was so bad I couldn’t use it, but my coworker performed the same conversion on his Ubuntu 10.10 machine and that one was perfect.
I copied the mpg to my Mac and discovered (surprise) that the dastardly duo iMovie and iDVD won’t import mpg files either! Drat, foiled again! Apple hates open formats, I keep forgetting.
Googling ‘imovie mpg import’ listed several third-party apps for conversion, but they all wanted money for their software. Bah, humbug, I’m only converting one clip for a friend and she’s a poor teacher.
So I fired up my Fedora laptop and googled ‘linux mpg dvd burn’ and quickly found a post describing how to do it using freely available open source tools.
The first tool is dvdauthor, which I used to create the DVD file structure from the mpg file. Then I used mkisofs to create an ISO image from the file structure.
The final step was burning a DVD from the ISO using good old K3b.
It’s not fancy, there’s no menu and I couldn’t edit it but the video plays perfectly in our DVD player. S delivered the discs to A and mission was (finally) accomplished.
I just published my first app in the android market: 
This seki showed up during my lunchtime game with JJ today. I can’t recall ever seeing one before which included two points for one side!