Repository navigation
Flutter camera plugin record quality is very poor #26959
Description
Activity
@zoechi Is there anything that can be done to improve the quality right now? Any work around?
I don't have deep knowledge of the plugin. You could try on StackOverflow or debug the plugin.
@zoechi I have figured out something. The video encoding bit rate is very low
mediaRecorder.setVideoEncodingBitRate(1024 * 1000). If you increase it to 3000000 then it work's fine. https://github.com/flutter/plugins/blob/master/packages/camera/android/src/main/java/io/flutter/plugins/camera/CameraPlugin.java#L467Pull Requests are welcome ;-)
@zoechi Sure, Thanks
- Reacted by Günter Zöchbauer and Willy
Hi @divyanshub024 . I added a way to control video and picture capture quality.
You can check the PR here:
flutter-team-archive/plugins#1403
Suggestions are welcome. Don't hesitate to leave a comment to push the review process if that works for you.- addeda: qualityA truly polished experienceA truly polished experiencecustomer: crowdAffects or could affect many people, though not necessarily a specific customer.Affects or could affect many people, though not necessarily a specific customer.
on Mar 16, 2020 - addedP2Important issues not at the top of the work listImportant issues not at the top of the work list
on May 29, 2020 Closing this issue as this seems to be solved with PR flutter-team-archive/plugins#1952 allowing users to set different quality presets.
If I overlooked something and this is still an issue please leave a comment and I would be happy to reopen the issue.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Aug 7, 2021 - addedpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.
on Jul 5, 2023
Description
I'm using flutter camera plugin and the recording is working fine. But after that when I play the recording the video quality is very poor.
Logs