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

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

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.