Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

camera video mode bit rate and resolution #21

Open
G2G2G2G opened this issue Oct 16, 2022 · 4 comments
Open

camera video mode bit rate and resolution #21

G2G2G2G opened this issue Oct 16, 2022 · 4 comments
Labels
bug Something isn't working feature request New feature

Comments

@G2G2G2G
Copy link

G2G2G2G commented Oct 16, 2022

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:

  • 1280x720
  • 1920x1080
  • 1920x1080 60fps
  • 2560x1440 (rarer than the others)
  • 3840x2160

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!

@iakdis iakdis added the enhancement Enhancement or request label Oct 16, 2022
@iakdis
Copy link
Owner

iakdis commented Oct 16, 2022

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
Copy link
Author

G2G2G2G commented Oct 16, 2022

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.

@iakdis iakdis added feature request New feature and removed enhancement Enhancement or request labels Oct 21, 2022
@PanderMusubi
Copy link
Contributor

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

@Pantyhose-X
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature request New feature
Projects
None yet
Development

No branches or pull requests

4 participants