fpzeng / KSYStreamer_Android

金山云Android采集推流SDK(Livestream SDK),支持内置/自定义美颜(Beauty Filter)、美声(Beauty Voice)、软硬编(Software/Hardware Encoder) 、网络自适应(Network Auto Adapt)、混音(Voice Mixer)、混响(Reverb)、画中画(PIP)、连麦(RTC)、动态贴纸(Sticker)、大眼瘦脸(Bigger Eyes and Smaller Faces)
https://github.com/ksvc/KSYStreamer_Android/releases
730 stars 208 forks source link

When changing FPS from 15 to 24 video is much darker #204

Open vovkab opened 7 years ago

vovkab commented 7 years ago

Hello

I've been trying the demo app and when I change to 24fps video is much darker now. Is there anything I should change to make it lighter, enable some auto mode?

Thank you.

buliaoyin commented 7 years ago

Which device did you test? It may be the device camera limit.

vovkab commented 7 years ago

I'm testing it on Google Pixel. What I think is happening is when we change fps it doesn't adjust ISO and shutter speed, so video is much darker.

I used ProShot app to manually adjust iso and shutter speed while using 24/30fps, and I was able to make video brighter. But then if I change it manually it doesn't auto adjust if light around is changed.

So I think some extra configuration is missing in KSY lib.

buliaoyin commented 7 years ago

Did your Pixel running Android O preview? It should be the camera device driver or HAL issue.
System Camera API should be guaranteed to adjust ISO automatically if needed.

If you find the same problem while running stable Android M, please let us know.

buliaoyin commented 7 years ago

We had confirmed this issue, would be fixed by the next few release.