Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Real-time video stabilization

I got a Google Pixel and tried recording a video with the official app, I found out there is a remarkable built-in stabilization mechanism happening on the recording, so if I shake my hand a bit this movement is only slightly transferred to the recording (even the video preview is impressively stable).

However I tried with my own Video recording app and this stabilization is not happening.

I of course tried with the setVideoStabilization() method over at the official docs but the result is not as good as with the builtin Camera app.

Is there anything else I am missing?

like image 853
MichelReap Avatar asked Dec 12 '16 14:12

MichelReap


People also ask

Does video stabilization reduce video quality?

Digital stabilization often leads to visual quality degradations because image sensors are not fully used due to employed motion compensation. Basically, resulting video comprising of steady frames is captured using a smaller sensor area; thus reducing its resolution.

What are the three categories of video stabilization techniques?

Video stabilization techniques can be broadly classified as mechanical stabilization, optical stabilization and image post processing stabilization.

What Does Stabilizing a video mean?

Video stabilization essentially takes the unwanted jitters and blurriness that are captured in an action-packed video and provides a cleaner, smoother end result. In addition, you can chose from several different video stabilization options to get the job done.


1 Answers

You could consider looking at OpenSource.Android and find some logic for stabilization. Another link is here platform_packages_apps_camera. From there onwards you can do your own R&D.

Or

Wait until a Google Pixel Camera stabilization based API, or such code, is available to everyone.
A future update to the Android SDK may improve upon the current stabilization feature.

like image 53
Qamar Avatar answered Nov 09 '22 20:11

Qamar