Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Registered User
Join Date: Feb 2002
Location: Germany
Posts: 541
|
Recording of bicycle ride - normalise Speed
Hello everyone,
i recorded a bicycle ride with a gopro camera. I like to "normalize" the speed, to get a constant speed of let's say 20km/h. Any ideas how i could do that with avisynth, or is there a commercial plugin? I want to use the video in combination with my hometrainer and a player that alters the speed accordingly. regards, hanfrunz |
|
|
|
|
|
#2 | Link |
|
Retried Guesser
Join Date: Jun 2012
Posts: 1,371
|
How would that even work? Do you have GPS or other ground speed data over the trip? If so, you could create an EDL of some kind - doubling the playback speed for sequences where you are doing 10km/h, halving it where you are doing 40, deleting frames where you are stopped, and so on. If you don't have true speed data, perhaps you can estimate it from the apparent motion of the world as it flies by, but that sounds tricky - perhaps the DARPA challenge guys, or the self-driving car guys, have figured it out.
|
|
|
|
|
|
#4 | Link |
|
Registered User
Join Date: Feb 2002
Location: Germany
Posts: 541
|
i have a recording of the speed on my iphone. But i think you can just use the image data. The camera points to the street and you can calculate the speed with this info.
My first idea was just to calculate the difference between to frames. If the difference is small the bike was slow, if it's bigger the speed is higher. The problem is with moving objects like cars... hanfrunz |
|
|
|
|
|
#5 | Link | |
|
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,411
|
Quote:
EDIT: Of course when normalised, the opposite would be the case, you would zip past football fields.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 15th September 2014 at 16:44. |
|
|
|
|
|
|
#6 | Link |
|
Registered User
Join Date: Feb 2002
Location: California
Posts: 2,783
|
This is easy to do in my editing program (Sony Vegas), although you would have to do it "by eye." Here is a tutorial:
Controlling Velocity in Vegas Pro There is nothing I know of that can compute your speed and make real-time speed adjustments based on those calculations. Having said that, if your video was taken on a highway that had dashes down the center line, and if those lines were uniformly spaced, you could probably use RT_Stats functions to develop a sync function from those lines on the pavement. Sony Vegas has a speed envelope that makes it easy to ramp playback speed up and down, and do so gradually or quickly, and make the rate of speed increase (the acceleration) uniform (i.e., linear) or non-linear. |
|
|
|
|
|
#7 | Link | |
|
Angel of Night
![]() Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,567
|
Quote:
|
|
|
|
|
|
|
#8 | Link |
|
brontosaurusrex
Join Date: Oct 2001
Posts: 2,392
|
This certainly looks promising
http://research.microsoft.com/en-us/...ts/hyperlapse/
__________________
certain other member |
|
|
|
|
|
#9 | Link |
|
Retried Guesser
Join Date: Jun 2012
Posts: 1,371
|
Yes! That's the one I was trying to recall. If you can reconstruct a virtual 3D environment (even a crude one) from your video, finding your ground speed is fairly easy. There are related projects, like KinectFusion - and isn't there a photo app that reconstructs famous landmarks from multiple stills? *googles* Yes, Photosynth (also from Microsoft - a pattern is emerging here)
EDIT Photosynth has a big advantage over Hyperlapse - it's available now. I think it's free, not sure. EDIT looks like Instagram bought out Hyperlapse; it's available. It sounds perfect for your task. ...EDIT did not buy out; it's an unrelated project with the same name. EDIT related: Structure From Motion (wikipedia) >> Voodoo Camera Tracker (free) "estimates camera parameters and reconstructs a 3D scene from image sequences" EDIT It is possible in theory to get your speed by analyzing the tire whine, or even (ultrasonic) drive chain noise. In a similar way, I understand Formula One teams would find their opposition's RPMs from the TV camera/microphone. This was mostly useful before the rules imposed rev limits. Last edited by raffriff42; 19th September 2014 at 08:55. Reason: Instagram |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|