VirtualDUB Deshaker FAQ
FAQ
Where to get VirtualDUB & Deshaker:
- https://www.guthspot.se/video/deshaker.htm
- http://www.virtualdub.org/
It doesn't work at all.
- Please start by carefully following the guide above. Also, make sure you're not using the 64-bit version of VirtualDub. If it still won't work, feel free to email me. Try to explain what you do, and what happens, as precisely as possible.
The output video has tiny dots and lines all over it.
- You need to run pass 2 too. And use the original video (not any video from pass 1) for pass 2. Please follow The Short Guide above carefully.
There are black borders in the stabilized video.
- You can fix that with either one (or more) of the settings: Edge compensation, Previous and future frames to fill in borders and Extrapolate colors into border.
The stabilized video is shaky.
- For best results, always try to make sure the white vectors end up on the background in the frames during pass 1, i.e. try to make Deshaker completely ignore objects moving in front of the background. If the white vectors jump around between different objects from frame to frame, you need to do something to get a good result. Either use the Ignore area settings or something else. There are many things you can do. Experiment with the settings!
- If the background consists of several layers at different distances, or if there is basically no visible background at all, it's often best to stabilize on pretty much everything except the fastest moving objects. To do that, increase the value of Discard motion of blocks that move more than X pixels in wrong direction.
As a last resort, you can make Deshaker skip the problematic frames by either increasing the threshold for skipping frames, or by deleting the corresponding lines from the log file.
I get zero-length motion vectors (appearing as dots) in clear areas, such as in the sky, or on a wall.
- Try increasing the value for Discard motion of blocks that have maximum pixel value difference less than X.
The stabilized video has a severe "jello" effect. Also, far from all vectors are white even on a solid background during pass 1, when the video shakes a bit.
- Make sure you have enabled the rolling shutter setting if your camera has a rolling shutter. (Most cameras today have a rolling shutter.)
I have enabled the rolling shutter setting but Deshaker still won't remove the rolling shutter distortions.
- Deshaker can only remove rolling shutter distortions linearly. If you have one of those compact CMOS cameras with bad (or no) internal stabilization, and the clip has very fast shakes (for example if the camera is mounted on a bike or similar), you probably won't be able to get a very good result from Deshaker, since the distortions will be far from linear in this case. Get a CCD camera capable of high shutter speeds for these kind of videos.
I get a slight waving effect when objects move slightly, even when the camera is completely still.
- Try decreasing the value for Discard motion of blocks that move more than X pixels in wrong direction.
I get a slight waving effect and distorted geometry when the camera shakes a lot.
- If you're filming with a rather wide angle, this effect is probably due to some geometrical properties of perspective, that Deshaker unfortunately doesn't deal with. The only things you can do to make it better is to shake less during filming, and/or add some zoom, either during filming or in Deshaker.
I get some blurring/shimmering in frames where the camera shakes the most.
- What you see is probably motion blur, i.e. motion occuring within a frame. This is present in the source video too, but it doesn't become distracting until Deshaker has removed the motion between the frames. To get rid of this effect you need to use a faster shutter speed while filming. How fast it needs to be depends on the camera and the amount of shake. For a camera with built-in stabilizer, I'd recommend at least 1/200 sec, or so. (Faster if it doesn't have built-in stabilizer.)
I get sudden jumps in zoom, or other jumps.
- Make sure Deshaker didn't incorrectly detect new scenes during pass 1.
I get unwanted zooming in the stabilized video.
- Deshaker can add two types of zoom. One is for stabilizing zooming that it detects in the video. If this detected zooming isn't really camera zoom (for example, Deshaker usually detects zoom if the camera moves forward), or if you just don't want the camera zoom stabilized, you can turn it off by setting the zoom motion smoothness to 0. It's always a good idea to do this if there's no real zooming in the video.
- The other kind of zoom that Deshaker can add is adaptive zoom. If you don't like it, choose another Edge compensation option.
The output video says "This frame was not processed in pass 1", even though I did run pass 1.
- Unless the Append to file option is enabled, the log file will be emptied as soon as you start processing in pass 1, even if you just happened to process one frame. Make sure this is not the case. Also, make sure you have write access to the log file location. In either case, try opening the log file from pass 1 in notepad and maybe you can figure out what happened.
I want to be able to save my Deshaker settings. - Save processing settings in VirtualDub will save everything, including Deshaker settings. There is no way to save only the Deshaker settings.
Can I try different pass 2 settings without running pass 1 again?
- Yes.
Deshaker says "Deshaking..." for a very long time.
- Certain settings will make the deshaking procedure a lot more time consuming. Especially low values for Max. correction limits and using Adaptive zoom full.
Welcome to the University Wiki Service! Please use your IID (yourEID@eid.utexas.edu) when prompted for your email address during login or click here to enter your EID. If you are experiencing any issues loading content on pages, please try these steps to clear your browser cache.