ADVrider

Go Back   ADVrider > Riding > Layin' down tracks
User Name
Password
Register Inmates Photos Site Rules Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Old 05-07-2009, 07:58 PM   #1
rubberneck OP
Area Man
 
rubberneck's Avatar
 
Joined: Jan 2009
Location: Streets of San Francisco
Oddometer: 28
Wink Sweet, sweet motorcycle GPS/Video Sync

I recently bought a VIO POV video camera and a Garmin 60csx and thought it might be kind of cool to sync up the video footage with my tracks. I looked around the web for a tool/example that could do this with Google Earth without success so I wrote it myself using the Google Earth and YouTube javascript APIs. There's still a fair amount of cleanup work and enhancements yet to be done, but it turned out pretty cool for the initial cut. The next version will most likely have the virtual camera flying above and behind where the video motorcycle is, with the correct heading.

You'll need to have the Google Earth plug-in installed, just as you need to install Flash to watch the YouTube on your Interweb. Make sure you wait around long enough to let the Earth show up and zoom in... then play the video. (Those using a Mac should use FireFox rather than Safari).



The footage is from Hollister Hills a couple of weekends ago for a Doc Wong dual sport clinic. I'm heading to Carnegie this weekend and will try to grab some additional footage/tracks.
__________________
too tall to live, too weird to die

rubberneck screwed with this post 05-07-2009 at 10:00 PM
rubberneck is offline   Reply With Quote
Old 05-08-2009, 05:13 AM   #2
BlueLghtning
Riding is my passion
 
BlueLghtning's Avatar
 
Joined: Feb 2004
Location: Newnan, GA
Oddometer: 4,887
That is awesome! Nice job.

Being a map geek, its totally cool to follow along on the map.
__________________
BlueLghtning - Follow me on my SPOT Messenger
Mine: 09 DL650, 08 WR250R,
Hers: 07 Ninja 650R, 13 CRF250L,
Smugmug Pics - Save $5 <-- Click Here
BlueLghtning is offline   Reply With Quote
Old 05-08-2009, 06:54 PM   #3
Boon Booni
Red Clay Halo
 
Boon Booni's Avatar
 
Joined: Aug 2003
Location: Richmond, Va
Oddometer: 13,221
Quote:
Originally Posted by rubberneck
I recently bought a VIO POV video camera ....

.

That's very nice.

What camera are you using?
__________________
Where the fuck...
Where the fuck is the bike?
You gotta be shitting me.
Where the fuck is the road?
Boon Booni is offline   Reply With Quote
Old 05-08-2009, 07:05 PM   #4
rubberneck OP
Area Man
 
rubberneck's Avatar
 
Joined: Jan 2009
Location: Streets of San Francisco
Oddometer: 28
Quote:
Originally Posted by Gramps
That's very nice.

What camera are you using?
Thanks. It's the VIO POV 1.5.

__________________
too tall to live, too weird to die
rubberneck is offline   Reply With Quote
Old 05-08-2009, 09:08 PM   #5
EmmEff
Beastly Adventurer
 
Joined: Oct 2008
Location: Innisfil, Ontario, Canada
Oddometer: 1,690
Very cool!

Can you explain some of the technical details? Are you streaming the GPS track to the Google Earth API?
EmmEff is offline   Reply With Quote
Old 05-08-2009, 11:53 PM   #6
rubberneck OP
Area Man
 
rubberneck's Avatar
 
Joined: Jan 2009
Location: Streets of San Francisco
Oddometer: 28
the Nitty Gritty

Quote:
Originally Posted by EmmEff
Very cool!

Can you explain some of the technical details? Are you streaming the GPS track to the Google Earth API?
Thanks, MF. So I'm not really "streaming" the track. It's all done with javascript so you can see exactly what's going on behind the scenes. In a nutshell, I'm taking my known tracks in gpx format (xml) for each recorded second and extrapolating each of the points (latitude & longitude) between known points/times for each of the unknown seconds.

With the raw GPS data in gpx format, the GE view is a bit choppy as you may only have one point explicitly captured every 3, 5, 10 or more seconds. Smoothing out the points is a bit less jarring.

Once I have an array of the latitudes and longitudes for any given second, I can fetch that point from Google Earth for any given second of the YouTube video. YouTube has an API that returns the current second. If you jump ahead in YouTube, the GE view will follow to that time. The same is true if you rewind.

I've received some feedback from a couple friends that think it might be even awesomer if I show a static map with a little dot or motorcycle icon to show where the video is currently being taken. That might be my next version... or a toggle switch to show both views. Heading out in the morning to get more data...
__________________
too tall to live, too weird to die

rubberneck screwed with this post 05-09-2009 at 06:54 AM
rubberneck is offline   Reply With Quote
Old 05-09-2009, 04:51 AM   #7
EmmEff
Beastly Adventurer
 
Joined: Oct 2008
Location: Innisfil, Ontario, Canada
Oddometer: 1,690
I wish I had the creative genius! :)

The moving dot on the map would be neat too.

Thanks for the explanation!
EmmEff is offline   Reply With Quote
Old 05-11-2009, 10:35 AM   #8
DocWong
Beastly Adventurer
 
DocWong's Avatar
 
Joined: Jul 2004
Oddometer: 1,093
Very nice job!

I like the results of the video camera that's mounted on your helmet. I was leading this ride and the video I got was a lot bumpier due to it being mounted on my bike.
__________________
Ride street, ride track, ride dirt, trials.....ride.....well!
Doc Wong

Doc Wong (Free) Riding Clinics http://www.docwong.com

My 1200 GS small hill climb video:
http://www.youtube.com/watch?v=_EntvKjdduI
-----------------------------------------------------------
DocWong is offline   Reply With Quote
Old 05-11-2009, 10:56 AM   #9
brooks
Gnarly Adventurer
 
Joined: Jul 2006
Location: Port Angeles
Oddometer: 308
Hollister hills eh?
__________________
Brooks
brooks is offline   Reply With Quote
Old 05-11-2009, 10:57 AM   #10
BykBoy
Meshuganeh
 
BykBoy's Avatar
 
Joined: Aug 2003
Location: Reston, VA
Oddometer: 534
__________________
Save $5 when you open a SmugMug account. Use the following coupon: 4l1hicJzWvYNE
BykBoy is offline   Reply With Quote
Old 05-11-2009, 11:57 AM   #11
DocWong
Beastly Adventurer
 
DocWong's Avatar
 
Joined: Jul 2004
Oddometer: 1,093
Quote:
Originally Posted by brooks
Hollister hills eh?
Yes, this footage was taken during the ride part of my dirt riding clinic. Next time, I'll put on knobbies on my 1200 GS and climb Twin Hill and hopefully get video of that climb, should be interesting as it's a long steep climb.
__________________
Ride street, ride track, ride dirt, trials.....ride.....well!
Doc Wong

Doc Wong (Free) Riding Clinics http://www.docwong.com

My 1200 GS small hill climb video:
http://www.youtube.com/watch?v=_EntvKjdduI
-----------------------------------------------------------
DocWong is offline   Reply With Quote
Old 05-11-2009, 01:51 PM   #12
Jeffy
Hmm...
 
Jeffy's Avatar
 
Joined: Feb 2006
Location: SF - East Bay
Oddometer: 5,016
Wow, I really like what you have done. It would make any trip really easy to follow.

No one went through the Tank Trap or the Mini Rubicon?
__________________
"I'm going to shift gears now.... This will involve man touching." - Jeremy Clarkson
Jeffy is offline   Reply With Quote
Old 05-12-2009, 09:58 AM   #13
rubberneck OP
Area Man
 
rubberneck's Avatar
 
Joined: Jan 2009
Location: Streets of San Francisco
Oddometer: 28
Thinking ahead...

Quote:
Originally Posted by Jeffy
It would make any trip really easy to follow.
I'm planning to document part of a trip I'm doing this summer (California to Colorado and back via the Pony Express, parts of the TAT and other random tracks) using this technique. I can basically just leave the camera rolling for about 6 hours at a time and then swap memory cards, and the Garmin just grabs data about where you are as you go.

The major limitation right now is that YouTube only supports < 10 minute videos. My current plan is to embed links to the more interesting parts of the journey in YouTube within a Google Earth Map. You could zoom into Google Earth, click on a little camera icon, and then watch the video for that particular location.

I've got a fair amount of design work and testing to do if I actually want to pull this off, but I think it has the potential to be pretty cool -- and informative.

BTW, I got some nice footage/tracks of a decent get-off at Carnegie this past weekend. I should have it posted by the time the bruise on my left arm fades.
__________________
too tall to live, too weird to die
rubberneck is offline   Reply With Quote
Old 05-13-2009, 05:14 PM   #14
rubberneck OP
Area Man
 
rubberneck's Avatar
 
Joined: Jan 2009
Location: Streets of San Francisco
Oddometer: 28
Quote:
Originally Posted by rubberneck
BTW, I got some nice footage/tracks of a decent get-off at Carnegie this past weekend. I should have it posted by the time the bruise on my left arm fades.
As promised here's the crash from Carnegie. As for why it's posted here, I updated the view in Google Earth this time. I hard-coded the heading, tilt and location of the camera, but it changes the perspective a bit. The good part is at about 1:15

__________________
too tall to live, too weird to die
rubberneck is offline   Reply With Quote
Old 10-29-2012, 02:06 PM   #15
mhawk
n00b
 
Joined: Oct 2012
Oddometer: 2
Any updates to this system?

Hi Rubberneck- I've been reading about your GE/YouTube/Camera system and have been wondering if you've made any updates to it? I'm really interested in setting up a similar type of system but with 4 GoPro cameras. Any ideas/suggestions are welcomed!
mhawk is offline   Reply With Quote
Reply

Share

Thread Tools Search this Thread
Search this Thread:

.
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


Times are GMT -7.   It's 07:50 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ADVrider 2011-2014