iakmds / librecamera

A free and open source camera app for Android written in Flutter and Dart
https://f-droid.org/packages/com.iakmds.librecamera/
GNU General Public License v3.0
278 stars 27 forks source link

camera video mode bit rate and resolution #21

Open G2G2G2G opened 1 year ago

G2G2G2G commented 1 year ago

Currently seems to only have resolution and jpeg encoding compression settings.

Phone camera apps usually allow you to select which resolution, the resolution is hardware encoded by the camera module so only a few specific resolutions are usually supported.. but please list them and allow to select. Generally you'll have a few options like 1:1 and "full video" which does some weird size.. but majority of the settings will be 16:9 which are hardware supported and things like:

Older samsung phone camera apps allowed selecting the bit rate as well, which is very handy. Certain apps have file size limits so setting your phone to do 500kbps massively decreases the video size... generally the bitrate in phones is far overkill since their lenses are literal trash, so you end up with massive file sizes. But I'd like several minute videos being kept only several megabytes to make it easier to share. Newer phone camera apps seem to have thrown this idea out completely, even though services online still have the same size limits. There are probably some other apps on the store that have these settings, but none on f-droid do and virtually no "default cameras" do anymore.

Thanks!

iakmds commented 1 year ago

Thanks for the issue. Basically, I am quite limited by the Flutter camera. There are 2 open issues on the Flutter camera GitHub repo: Allow custom resolution and aspect ratio and Set custom frame rate and bit rate in Camera plugin, so I can't do much; Sorry about that.

I will leave the issue open however, maybe I'll be able to implement the features somehow in the future.

G2G2G2G commented 1 year ago

cool thanks. That one comment "this is a major oversight" yea.. it definitely is sad to see google ignore that from the dates.

I'll just setup a bot to spam google employees emails with those thread URLs, thanks. Guess I'll have to keep using ffmpeg. Thanks for the response & keeping it open.

PanderMusubi commented 1 year ago

Even if changing fps is not yet possible, please list the fps the camera is currently operating at.

Pantyhose-X commented 11 months ago

LOW resolution should be 720X480 resolution, 720P below the picture blur, on the eyes big damage