Open flixmk opened 2 years ago
@Kraufel does your video happen to be fairly short? That error comes when a bigger smoothing window is used than there are frames available. Try setting the smoothing_window
parameter of stabilizer.stabilize()
to something lower than the default of 30.
What does this mean : ValueError: arr.shape[0] cannot be less than n
and how can i fix it?
stabilizer = VidStab() stabilizer.stabilize(input_path='video_1.avi', output_path='stable_video.avi')
Error occurs when stabilizing. Wont work on .avi or .mp4. Video is RGB