In Car Video–Carolina Motorsports Park

by EFVincent on 08/22/2010

I’ve just finished uploading a new in-car video from the Hurricane region PCA Driver’s Ed event at Carolina Motorsports Park in South Carolina. View it embedded here, or click the link below the picture to go to Vimeo.

PCA DE CMP August 2010 from Eric Vincent on Vimeo.

Some notes about the video and data acquisition, for those interested in the gory, geeky details:

· Video was shot on a GoPro HD. Last year I tried a ContourHD, but the picture wasn’t quite as good and the sound was terrible – the GoPro does a better job dealing with the wind noise.

· The data (speedo, Tach, Throttle position) was collected using a PLX 2340 KIWI Wifi. This device interfaces with the OBD-II port of your car (also used by mechanics to read diagnostics), and transmits several different types of metrics in real time over Wi-Fi at with an observed sample rate of about 3 samples / second.

· The data was then recorded using Rev by DevToaster for iPhone. This app is compatible with the PLX, so it can collect data being transmitted by your car. It also adds accelerometer data. There’s GPS too, but the iPhone’s GPS is completely unusable for track purposes. The sampling frequency is too low, and it does some very funky interpolation which in the end renders the GPS data useless. For example, here’s a simple plot (graphed using F#) of one of the runs:

GPS Plot 100814-01

· The data is then exported from the phone as an emailed comma separated value file (.csv).

· A small program I wrote in F# reads the file and transforms the timestamps in to frame numbers (29.97 frames/second), and the data into either rotational data (for the analog gauges) or simple integers (for the digital gauges).

· That data can then be imported into Adobe After Effects. Images of the gauges (drawn from scratch in Adobe Illustrator) are animated into a video overlay using the PLX/Rev data.

· Adobe Premiere then takes the gauges and overlays them on top of the video from the track. There’s some fiddling involved to get the gauge data and video in sync. Premiere then renders the video (20 minutes took 6 hours… not sure if I’m doing that right).

· That rendered video is HD and is pretty big, so I used Microsoft Expression Encoder (Adobe has an encoder too) to re-encode the video into a smaller MP4 format that Vimeo wanted for uploading.

{ 1 comment… read it below or add one }

Andrew Newbury 01/09/2012 at 5:28 pm

very interested in the program you used to get the data into a format that after effects could use, I’m looking to do something similar but with an Aim Solo GPS laptimer/datalogger & a ContourHD and get the data onto a Premier video. Could you make the pgm available? TY!

Leave a Comment

Previous post: Combinators in C#

Next post: 5Dm2 vs S95 Holiday Shootout Deathmatch!