Archive for April, 2006

Fusion HDTV to QuickTime H.264

April 19th, 2006 | 10:55 pm cdt

I’ve been playing around with the DViCO Fusion HDTV tuner card in my PC trying to find an easy way to export a clip as a 720p H.264 file playable in QuickTime. Well, of course, there is no easy way. The card records clips in its own special format that nothing but mplayer can seem to play back. That means you can’t just drop the clips into QuickTime and export away. So if you have one of the DViCO Fusion HDTV Cards, here’s a little how-to on getting your recordings into an H.264 QuickTime. (This is largely adapted from the efforts by davemoore.org.)

Prereqs: Make sure you’re recording your clips as the default, Transport Stream (clips should have the .tp extension). To convert the *.tp files, you’re going to need a Linux install (Fedora Core 3 worked nicely) with mplayer/mencoder, ffmpeg, faac, and mp4creator(mpeg4ip) installed. And, of course, QuickTime Pro.

Step One: Copy your clip (we’ll call it dvico_001.tp) over to your Linux box and issue this command to convert from the native format to a Divx AVI file.

mencoder dvico_001.tp -vf kerndeint,scale=1280:720 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=9000:vhq:v4mv:keyint=132:vpass=1 -nosound -o dvico_001.avi

We’re scaling the video down to 1280×720, which is standard 720p resolution. The bitrate is probably a bit high, but since we’re going to be re-encoding later in QuickTime, we want to make sure this version is as lossless as possible. This is a one pass encode. If you want a two pass encode, reissue the same command, only change vpass=1 to vpass=2. You’ll also notice that we’re not processing sound at this time. That comes next.

Step Two: Extract the Audio from the original file into a wav file called dvico_001_audio.wav.

ffmpeg -i dvico_001.tp -vn -f wav dvico_001_audio.wav

Step Three: Convert the wav file into an aac file called dvico_001_audio.aac

faac --mpeg-vers 4 --tns -o dvico_001_audio.aac dvico_001_audio.wav

Step Four: Convert the Divx AVI file over to an MPEG4 file. This is the file that QuickTime will soon be able to play back and export.

mp4creator -c dvico_001.avi -rate=29.97 -hint dvico_001.mp4

Step Five: Merge the audio file into the video file.

mp4creator -c dvico_001_audio.aac -hint -interleave dvico_001.mp4

Step Six: Optimize the file so QuickTime can read it.

mp4creator -optimize dvico_001.mp4

That’s it. Now you can open that file up in QuickTime and export as anything you like, including H.264 goodness.

Possible Issues: I often get errors after step 4, but the file seems to turn out okay. I also run into an issue where my audio is no longer synced up when the audio and video is interleaved. I solved this by trimming the wav file in Audacity.

Examples: I recorded the Yeah Yeah Yeahs performing Gold Lion on Letterman. Here’s a 720p clip in H.264, and also a tiny version playable on a video iPod. The data rate on the 720p clip is roughly 3000 kbits/sec, so certain areas are a bit soft, but overall the picture quality is decent. (The 720p clip is still uploading to the server, so it may take a another half hour or so to complete thanks to Comcast’s despicable squeeze on the upload cable. Check back around 1:00am CST)


Filed under Wired
View Comments
Digg this

An Exercise in Design

April 18th, 2006 | 10:48 am cdt

A couple months ago at work we took on the task of redesigning the email that is sent once a customer places an order. Basically, the receipt email. This is a great example of how good design can make everyday tasks easier, and information more accessible. This also happens to be one of my favorite types of design: Making things easier.

Order Receipt

Looking at the old version, you can see that the information provided is very limited, requiring the customer to click back to the website in order to view any valuable information. For the customer, this means jumping between programs, waiting on their computer, waiting on their net connection, etc, etc.

So we wanted to get up to speed with most every other online vendor that provides a comprehensive receipt for their customers after purchase, including products purchased, an order number, billing and shipping info, and also a way for customers to quickly get back to the site for additional purchases. Here are the results of our efforts.

The feedback from customers was very positive. It also helped us internally to be able to see all this information in one folder in our inbox, rather than trolling through our website and making additional queries to the database just to get to this info. In the end we achieved greater accessibility to information while saving a little wear on our servers as well.

A final side-by-side comparison.


Digg this

Stick a fork in them

April 12th, 2006 | 11:21 pm cdt

They’re done. The UTK Graphic Design Senior Class of 2006 is having their final show on April 28th. Check out their site for some great work, and further details on the show.

UTK Graphic Design Senior Show 2006


Digg this

Candor Gallery

April 4th, 2006 | 10:32 am cdt

Update 04.13.06: Since Candor launched about a week and a half ago I’ve had over 150 different works submitted and placed into rotation, over 6,000 people download the widget, and over 56,000 views of the submitted artwork. As a result, there’s some really really good work being displayed on a lot of desktops. And with such a great start I just want to thank everyone for their contributions. It’s already much more successful than I imagined. Thanks again for the support, and please keep the artwork coming!

Those of you looking for the Candor Gallery page can go here.


Digg this

The Sky Falls Soon

April 3rd, 2006 | 10:08 pm cdt

Ernie’s solo gig. April 19th – 22nd.


Digg this

Projects

Candor Gallery
Candor Gallery
Candor Gallery is an OS X Widget and Google Gadget that displays user submitted art.
Tennessee Traffic Cams
Tennessee Traffic Cams
Tennessee Traffic Cams is a widget that displays traffic camera feeds from across the state of Tennessee.
Language Design Group
Language Design Group
Language Design Group is a translation agency for all your foreign language needs.
Portfolio
Portfolio
My personal portfolio
Older Projects
Crissy's Roommate
PenceBook
Crissy's Roommate was a daily cartoon strip produced for the Daily Beacon from 2000-2002.
Hess Hall Webcam
Hess Hall Webcam
The Hess Hall Webcam captured the daily activities of Hess Hall.
Etc.
Browser Dream

The Ubuntu Counter Project - user number # 783