Video Shaky? How to Stabilize it!
Hi all, you may know me, or have passed me up on the trails.. I'm just the random guy that is on a bike. Ok, yea I know.. I've been told I have a dry sense of humor.
Anyways, the question always comes up.. "My video looks like I was riding in an earthquake, and my 'ma and 'pa keep tellin' me not to ride mah bike during dem der earthquakes".. so, here we go!
I will be hopefully showing everyone how to at least make the shake in your videos a bit more.. or shall we say.. cause less migraines.
I will go over a few different programs and options you can use, from Microsoft Movie Maker to Adobe After Effects. If you're a Final Cut person... get a Windows machine.
(This thread is a work in progress that will be coming within the next couple of days due to weather here.. and will provide both written instructions as well as video tutorials for the different techniques. I credit all work to those around the interwebz who have given me the knowledge to pass down. I am not the inventor by any means).
Last edited by RandomGuyOnABike; 04-16-2013 at 03:53 PM.
Stabilizing Videos using Microsoft Movie Maker and Virtual Dub
edit: Sorry for the screen capture - I guess my desktop recording software doesn't like Aero :\
Last edited by RandomGuyOnABike; 04-16-2013 at 07:40 PM.
Microsoft Movie Maker
- Microsoft Movie Maker
- Virtual Dub
- Deshaker Virtual Dub Filter
- Download and install Movie Maker
- Download the Virtual Dub zip file (32 bit)
- Create a new folder in C:\Program Files(x86) or C:\Program Files if you're on a 32bit machine, and name it Virtual Dub
- Extract the Virtual Dub files to this folder
- Right click on the VirtualDub executable, choose Send To -> Desktop (create shortcut)
- Download the Deshaker filter, and extract to your Virtual Dub/plugins folder.
- Record your video, and copy to your computer
- Open Virtual Dub
- Drag your video to the main grey area in Virtual Dub, this will open the video in it (you will probably need to download the xvid, divx, or ffdshow codecs, and convert the videos to a format that VDub will understand. For more information you can google search for it. You can use the DivX Plus Converter, free 30 day trial, which will work)
- Select Video, then Filters
- Click on Add, then on Deshaker. Click OK.
- Your Source Pixel Aspect Ratio should correspond to the aspect ratio of your video. More details coming soon on how to get this information
- Click on the Pass 1 box
- The default settings should be ok, but this depends on your video. It will basically balance both the speed of the filter and the quality of the filter.
- Click OK, and then again.
- At the bottom, you will see the Play button, with a 0.. click on that, and let it run through.
- Click on Video, and Filters (again).
- Double click on the Deshaker filter.
- Select Pass 2
- For Edge Compensation, choose adaptive zoom + fixed zoom (no borders).
- You can play around with steps 8 - 16, to see what works best for your video.
- Click OK, and ok again.
- Once the file finishes the 2nd pass, click on File, then Save as AVI. Save the deshaked video, for example: Video_deshaked.avi
- Open up Movie Maker, import your video, and edit away.
- Upload your movie to a share site to share with all of us!
Last edited by RandomGuyOnABike; 04-16-2013 at 07:46 PM.
this one will be for the blender video tutorial
Last edited by RandomGuyOnABike; 04-16-2013 at 03:52 PM.
and the blender written instructions.. coming "Soon to a thread near you!"
Motion Stabilization with Adobe After Effects
Last edited by RandomGuyOnABike; 04-18-2013 at 06:20 PM.
After Effects Motion Stabilization
- Open After Effects, Import your Video Footage
- Create a new composition by dragging the footage to the "Create Composition from Footage" button
- Open up the tracker via Motion Tracking workspace or by going to Animation -> Track Motion
- Click on Stabilize Motion
- Position the tracker to something that is always in your shot
- The inner square should be on the object, the outer position is the track area (This should be fairly large depending on how much shaking is going on in your video)
- Click Analyze forward. You may need to go frame by frame (rotoscoping FTL) and position the tracker back to the object.
- Once you have the tracker following the object, click Apply.
- Create a new null object and camera
- Copy the anchor point data from your footage to the anchor point of the null object (it seems you can also copy to the position)
- Parent the camera to the null object
- Select the null object, and press "A" to bring up the anchor point keyframes (or P for the position)
- Hold down ALT and click on the stopwatch to bring up the expression box
- Enter in this expression: smooth(.2,5)
- This says, smooth(x seconds, y samples).. the lower the time, the less the video will be smoothed (and smaller black areas).. the higher the time, the more it will be smoothed, and the larger the black areas.
- You can either enlarge the video footage (this can introduce pixelation if enlarged too much) or you can use a motion tile effect. I have a better way: Record footage larger than what you'll be uploading, so instead of enlarging, you can reduce the size, but keep the motion stabilization effect. (I use the latter method in the video).
The video above is cut short.. but I was also going to show you how to use proxy footage in premiere.. ah well. A simple google search for Adobe Premiere proxy footage will show you how. If you use a proxy (which is the same footage, but rendered at a much, much smaller size and quality), you can edit / add effects / etc.. to the proxy footage and not kill your machine in the process. Once your done, select the footage in the sequence, select the larger / actual video in the project bin, and then right click the proxy footage (in the sequence), select Replace with clip, and then click on replace with bin. That will replace the edited, proxy footage, with the real footage, so you can then render. Easy as pie
Last edited by RandomGuyOnABike; 04-18-2013 at 05:41 PM.
How about just using proper technique to capture non shaky video in the first place?
Trying to stabilize in post just leads to even crappier video.
Unless you have some type of contraption that includes having at least 3 gyro's and counterweights that are good enough to support the light weight of most "Action Cameras", that is lightweight in itself, and can be either worn or mounted on your bike, you'll always have some shake / vibration / swaying in your video. If such a contraption does exist though, I want to buy it.
Originally Posted by Justsome_NICA_dad
I do agree with you to a point though. Proper shooting techniques can help alleviate most of the vibrating in videos, but not 100%. As was stated elsewhere, by someone else, "Unless you're wanting a Blair Witch feel to your video.." by even doing a little bit of post production can lead to a better, more polished, semi-professional look to it.
Of course, if anyone has any methods for video stabilizing, please share in this thread. This could be during production or during post production. Pictures / steps are very welcome!
It is very easy with Adobe Premiere Pro using the warp stabilizer:
Using Warp Stabilizer in Premiere Pro CS6 | Digital Video CS6 | Adobe TV
Obviously the program usually costs $$, but if your a student you should get a discount. I got Adobe Production Premium suite for free from my university.
Of course there will always be some motion with non-fixed video, heck even with handheld video.
Originally Posted by RandomGuyOnABike
The point that you may be missing is that with proper technique you can capture very smooth video that does not need any work in post. And you don't need to wear a gyro-stabilized rig to capture it.
You already have all of the stabilizing gear installed that is needed to capture smooth video (legs, arms shoulders, neck, head). You just need to use it!
By mforness3000 in forum Tooltime
Last Post: 01-10-2013, 08:22 PM
By pulpwoody in forum Marin
Last Post: 01-04-2012, 08:35 PM
By trodaq in forum Passion
Last Post: 01-03-2012, 11:28 AM
By loonatic in forum General Discussion
Last Post: 04-13-2011, 09:36 PM
By hitechredneck in forum Colorado - Front Range
Last Post: 04-04-2011, 08:37 PM