Repository navigation
[camera] Unable To Get High Quality/Full Frame Image & Camera Stretching Issue #58163
Copy link
Copy link
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listfound in release: 2.0Found to occur in 2.0Found to occur in 2.0found in release: 2.2Found to occur in 2.2Found to occur in 2.2has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem teamTriaged by Ecosystem team
Description
I/CameraDeviceState(31088): Legacy camera service transitioning to state IDLE
I/RequestQueue(31088): Repeating capture request set.
W/LegacyRequestMapper(31088): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
W/LegacyRequestMapper(31088): Only received metering rectangles with weight 0.
W/LegacyRequestMapper(31088): Only received metering rectangles with weight 0.
I/CameraDeviceState(31088): Legacy camera service transitioning to state CAPTURING
I/RequestQueue(31088): Repeating capture request cancelled.
I/CameraDeviceState(31088): Legacy camera service transitioning to state IDLE
E/CameraDevice-0-LE(31088): Surface with size (w=1280, h=720) and format 0x22 is not valid, size not in valid set: [960x720, 864x480, 640x640, 800x480, 720x480, 768x432, 640x480, 480x640, 576x432, 640x360, 480x360, 480x320, 384x288, 352x288, 320x240, 240x320, 240x160, 176x144, 144x176, 160x120]
E/CameraDevice-0-LE(31088): submitRequestList - cannot use a surface that wasn't configured
I/flutter (31088): Instance of '_Timer'
I/ExoPlayerImpl(31088): Init 8b28888 [ExoPlayerLib/2.11.4] [ysl, Redmi Y2, Xiaomi, 28]
I/OMXClient(31088): IOmx service obtained
I/ACodec (31088): codec does not support config priority (err -2147483648)
I/ACodec (31088): codec does not support config priority (err -2147483648)
W/ExtendedACodec(31088): Failed to get extension for extradata parameter
E/MediaRecorder(31088): stop called in an invalid state: 8flutter doctor -v
[√] Flutter (Channel stable, v1.17.1, on Microsoft Windows [Version
10.0.18363.592], locale en-IN)
• Flutter version 1.17.1 at C:\src\flutter
• Framework revision f7a6a7906b (2 weeks ago), 2020-05-12 18:39:00 -0700
• Engine revision 6bc433c6b6
• Dart version 2.8.2
[√] Android toolchain - develop for Android devices (Android SDK version
29.0.3)
• Android SDK at C:\Users\Khush\AppData\Local\Android\sdk
• Platform android-R, build-tools 29.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build
1.8.0_212-release-1586-b04)
• All Android licenses accepted.
[√] Android Studio (version 3.6)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 45.1.1
• Dart plugin version 192.8052
• Java version OpenJDK Runtime Environment (build
1.8.0_212-release-1586-b04)
[√] Connected device (1 available)
• GM1917 • 421ac9e • android-arm64 • Android 10 (API 29)
• No issues found!Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listfound in release: 2.0Found to occur in 2.0Found to occur in 2.0found in release: 2.2Found to occur in 2.2Found to occur in 2.2has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: cameraThe camera pluginThe camera pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem teamTriaged by Ecosystem team
Activity
TahaTesser commentedon May 28, 2020
Hi @khush706
Can you please provide your
flutter doctor -v, yourflutter run --verboseand a minimal complete reproducible code sample.Thank you
khush706 commentedon May 28, 2020
khush706 commentedon May 28, 2020
TahaTesser commentedon May 28, 2020
Hi @khush706
please provide a minimal complete reproducible code sample.
Thank you
khush706 commentedon May 29, 2020
khush706 commentedon May 31, 2020
TahaTesser commentedon Jun 1, 2020
Hi @khush706
Your code has unrelated packages and code to camera package
Please use example and see if you can reproduce the issue
Thank you
khush706 commentedon Jun 1, 2020
47 remaining items
chenzhenjin commentedon Mar 30, 2023
Guys, please take care of it
jstevensconverus commentedon Dec 5, 2023
Hello, has the Flutter team taken a look at this yet? This feature is crucial for my company's success. We rely on high-quality images for analyzing eye data. Having the image resolution stuck at 720p severely limits our ability to function on Android.
SoftWyer commentedon Dec 5, 2023
@jstevensconverus Have you tried the new camerax implementation? It might help with the issues you are experiencing. The plugin is here but needs Flutter v3.10. It's also mentioned in the V3.16 release notes.
jstevensconverus commentedon Dec 5, 2023
I will take a look, thank you for the quick response.
yurijdvornyk commentedon Dec 5, 2023
@jstevensconverus From my point of view, if you need a high-quality image from the camera, I suggest implementing these views on a native level and then inflating it on Flutter. Normally the performance will be OK and you can control everything connected to image quality manually without minimum effort and 3rd-party solutions. At least I did it in this way in 2021 and don't regret it.
However yeah, would be nice to have more camera features in Flutter.
fithurriague commentedon Dec 26, 2023
Can anybody please let us know if the team is working on this?
Thanks in advance
[camera_avfoundation] Set highest available resolution for Resolution…
[camera_avfoundation] Set highest available resolution for Resolution…
[camera_avfoundation] Set highest available resolution for Resolution…
[camera_avfoundation] Set highest available resolution for Resolution…