[Request] Pixel video stabilization

CappyT

Senior Member
May 18, 2011
431
225
63
Anywhere there is the best LTE coverage
i doubt that ever be ported
Could be bundled with the apk itself, like assistant.

Well, exploring the system pixel image, i found this build.prop lines.

Code:
persist.camera.gyro.android=4
persist.camera.tof.direct=1
persist.camera.tnr.preview=1
persist.camera.tnr.video=1
ro.camera.notify_nfc=1
Since i have the assistant fix already,
Code:
ro.product.model=Pixel XL
ro.opa.eligible_device=true
I added them to the build prop. The phone seems a bit better in image stabilization or is it just me?
Looking for someone else to confirm. Take a backup, as always.
 
Last edited:
  • Like
Reactions: xdamember143

Xmaster8

Senior Member
Nov 23, 2011
823
595
123
Maribor
It is possible if it is software on apk level + build.prop like assistant.. If it is hardcoded in lib files (probably proprietary/vendor) then it is impossible.
 

CappyT

Senior Member
May 18, 2011
431
225
63
Anywhere there is the best LTE coverage
It is possible if it is software on apk level + build.prop like assistant.. If it is hardcoded in lib files (probably proprietary/vendor) then it is impossible.
Theoretically, it IS possible, but requires a good amount of reverse engineering.
Since asm/machinecode isn't fun nor easy (arm still easier than x86, tho), it will take a huge effort just to have the code in an understandable language.

I will see what can I (and possibly others) discover.
 

Xmaster8

Senior Member
Nov 23, 2011
823
595
123
Maribor
Theoretically, it IS possible, but requires a good amount of reverse engineering.
Since asm/machinecode isn't fun nor easy (arm still easier than x86, tho), it will take a huge effort just to have the code in an understandable language.

I will see what can I (and possibly others) discover.
Theoretically yes.. But nearly impossible.
All the info we have is that EIS 2.0 pings gyroscope 200 times per second and then process every image to do the stabilization on Pixel so the first question is: Can snapdragon 810 actually handle that? It might but how long before it throttles and video becomes unusable?
Secondly snapdragon 820/821 have lots of updates/added components in image processing to boost camera performance and quality...
Pixel HDR+ doesnt even run on CPU but on HVX which a.f.a.i.k. we dont have. I will add the link if i can find the info for this as i saw it earlier today.

EDIT: Pixel HDR+
So whe might actually lack the hardware to do EIS 2.0 or HDR+ (pixel way). I certainly hope we dont but we probably are..
 
Last edited:
  • Like
Reactions: CappyT

CappyT

Senior Member
May 18, 2011
431
225
63
Anywhere there is the best LTE coverage
Theoretically yes.. But nearly impossible.
All the info we have is that EIS 2.0 pings gyroscope 200 times per second and then process every image to do the stabilization on Pixel so the first question is: Can snapdragon 810 actually handle that? It might but how long before it throttles and video becomes unusable?
Secondly snapdragon 820/821 have lots of updates/added components in image processing to boost camera performance and quality...
Pixel HDR+ doesnt even run on CPU but on HVX which a.f.a.i.k. we dont have. I will add the link if i can find the info for this as i saw it earlier today.

EDIT: Pixel HDR+
So whe might actually lack the hardware to do EIS 2.0 or HDR+ (pixel way). I certainly hope we dont but we probably are..
I read the full xda article on sony sensor. (It's on xda portal)
Yup, we cannot do HDR+ video without destroying the processor, but we can support actually the EIS 2.0, since there's no hardware requirement for that. You just need a gyroscope (which we have).

As for throttling, maybe we can't shoot a 4k 30fps full eis video, but the point here is getting better 1080p videos, not shaky as hell.

The build.prop i posted on OP seems to do something. But maybe it's placebo... I gotta wait someone like me tries it to actually say it does.
 

i42o

Senior Member
Dec 5, 2013
708
260
0
Riverside
There is already. (it's the default EIS included in the N6P)
They talk about an advanced, way better EIS in the Pixel XL. (the camera I believe it's the same as N6P, or at least, the specs are.)
If I'm not mistaken the 821 soc has something specific that allows it to run the camera features exclusive to the pixel... After enabling this in build prop I feel as if it didn't make a difference, as you mentioned it's already there... The camera works for me but the stabilizing is still not good
 

CappyT

Senior Member
May 18, 2011
431
225
63
Anywhere there is the best LTE coverage
If I'm not mistaken the 821 soc has something specific that allows it to run the camera features exclusive to the pixel... After enabling this in build prop I feel as if it didn't make a difference, as you mentioned it's already there... The camera works for me but the stabilizing is still not good
Did you put the 5 values in the first post? Also, it requires you to have already the "assistant" mod in (the two values mentioned just under)

After, reboot and clear data+cache of the camera app.

Agreed, but the stabilizer doesn't need ANY hardware. I'm not trying to port HDR+ or any other thing. Just the stabilizer.
 
Last edited:

i42o

Senior Member
Dec 5, 2013
708
260
0
Riverside
Did you put the 5 values in the first post? Also, it requires you to have already the "assistant" mod in (the two values mentioned just under)

After, reboot and clear data+cache of the camera app.

Agreed, but the stabilizer doesn't need ANY hardware. I'm not trying to port HDR+ or any other thing. Just the stabilizer.

At 1080p you can slightly tell eis is there but when you record in 4k the shaking is more notable... I do feel as if there is something specific to the software that can be ripped and implemented into other devices... I'm trying to do some digging but I'm kinda lost . Will report if I find anything
 
  • Like
Reactions: CappyT