7

I need to stabilize a video only when the video is shaky , I have succesfully stabilized a video using ffmpeg and I do not need to stabilize all the videos , I only need to stabilize the videos which appear shaky(not stable) , Is there any way I can detect that ?

  • 1
    ffmpeg does not have a built in function to do this. You're basically needing to write an algorithm that will analyze pixels frame by frame. – LetTheWritersWrite Dec 11 '18 at 14:27
0

You can cut the part you want to stabillize, you can count the seconds you want to stabillize, then you stabillize it, cropping may appear. You need to edit, whether you want to scale and enlarge all video parts or other editing ways based on what you want.

  • 2
    He's looking for a way to have the computer automatically detect whether or not a video is shaky. He knows how to stabilize it. – Jason Conrad Dec 11 '18 at 20:14
0

You can use any Video Editing Software e.g Adobe Premier Pro, you can see frame by frame, if the frames contained Double-lined, Shaky Motion-blur frames, then Stablize it as you say. You can use Sharpen on Mask Layers on top of Video to see, because you can see shaky after Sharpen. Or you can see the shaky by mute your audio, and Make it Slow Motion for while, remember to change it back to normal speed.

In fact that you have to find where's shaky by your own manually. Because this year still haven't come out Auto-Detect Shaky Video Plugin or Software. But, it is already has Plugin for perfect shaky detection & Stablize Plugin here. You can find more Perfect plugin for you video editing software.

Only a Programmer, can let Python Script in software help them auto-detect it. Here's Script But, the video will broke if you use that scripting.

The best option to avoid Shaky Video is Buy a Video Stablizer, it is a tool for stable video.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.