1. A method for use in video anti-shaking, comprising: dividing at least one part of a current frame of a video into a plurality of regions; categorizing at least one region as a dominant region representing a scene change caused by a camera movement; performing, for each of a number of the regions, a progressive local motion detection to determine a local motion vector for the region; and determining a global motion vector for the current frame based on the local motion vectors for the dominant region while excluding local motion vectors of one or more regions that are affected by a moving object from global motion vector determination, wherein determining the global motion vector comprises performing a comparison of a number of local motion vectors in a first class with a number of local motion vectors in a second class; and calculating one or more median values of the local motion vectors based on a result of the comparison and a total number of the local motion vectors for the dominant region.