Video stabilization on Lenovo P2

jijojamie

Senior Member
Apr 26, 2010
182
49
48
Everything I am going to mention in this post is based on HAL3 and EIS enabled P2 on Oreo roms with the two patches from Astridxx and Highwaystar enabled.

Firstly, some of the Camera apps with manual control:
1. AZ camera
2. One plus camera
3. Footej camera
4. Freedcam
5. Manual camera
6. Open camera
7. Proshot
8. Snap camera
9. HedgeCam 2.2
10. Moment pro cam
11. DSLR camera
12. Camera FV5
13, Bacon camera
and more...

Camera apps with built-in stabilization (or otherwise build prop edit)
1. Paranoid camera (built-in stabilization - works great)
2. AZ camera
3. Footej camera
4. Snap camera
5. Freedcam
6. Update- Quality camera. Link in post 2.

Now regarding my topic:
Everyone knows that by adding a line in build prop enables video stabilization on supported ROMs and camera modules. persist.camera.eis.enable=1 (don't use EIS capital )
But in P2 most camera apps video preview will give you a green screen, yet snapit, motocam, etc, will work but we will get choppy videos with only a bit of stabilization.

NOTE: Gcam ports / Footej camera and almost all other camera apps's 1080p, 720p, 480... video recording will not work after enabling EIS. Only 4 K video works (not much stabilization).

In my research I found out that these camera apps's video preview size is the reason for the green screen.
Solution: Changing the camera "video preview size" to 960p (1280x960).

In the above-mentioned camera apps only Snapcamera has the option to change video preview size. So you can use snapcamera to record stabilized videos till 1440x1080 resolution.
After enabling eis in build.prop you will see an additional tab in snapcamera settings video tab called as "stabilization" (I feel it is auto enabled even if you select it or not).

Selected video resolutions as - 1440x1080, 1280x960, 640x480 , 320x240 - works in Freedcam / Snap camera / AZ camera / Open camera. You can record nice stabilized videos.
Recommended: Freedcam, Snap camera, AZ camera.
Note: Only those camera apps which have the above-mentioned video resolutions will work.

Miscellaneous info:
1. For dark video issue with your current cam app, you can use HTC camera app, the videos are bright enough.
2. May or may not work- for better camera picture quality
Open media_profiles.xml found in system-etc folder
<ImageEncoding quality="100" />
<ImageEncoding quality="100" />
<ImageEncoding quality="100" />
<ImageDecoding memCap="80000000" />

Thank you for reading and please hit the thanks button if I helped.
 
Last edited:

jijojamie

Senior Member
Apr 26, 2010
182
49
48
Another camera app with built-in video stabilization (EIS should be enabled in build prop).
App Name: Quality camera.
Info: No manual controls but I personally feel the picture and video quality is amazing with much reduced noise. Recorded videos are stabilized and are not that dark.
NOTE:
1. You need to disable navigation bar or use expanded desktop from your settings (put the tab in pull down menu) to select camera settings and selecting picture and video modes.
2. You need to select in camera settings photo tab (second tab), change preview size to 1.2M pixels (1280 x 960) or 1.5M pixels (1440 x 1080) otherwise, enabling EIS will give you green screen error.
3. Force close app and restart again.
You will be able to record stabilized videos at 480p, 720p, 960p, 1440 x 1080 (4:3 aspect ratio).
1080p video recording does not work (green screen).

LINK: https://apkpure.com/quality-camera/com.tafayor.qualitycamera
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone