Skip to content

[camera] Unable To Get High Quality/Full Frame Image & Camera Stretching Issue  #58163

Open

Description

@khush706
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: 8
flutter 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!

Activity

  1. TahaTesser commented on May 28, 2020

    @TahaTesser
    Contributor

    Hi @khush706
    Can you please provide your flutter doctor -v, your flutter run --verbose and a minimal complete reproducible code sample.
    Thank you

  2. added
    in triagePresently being triaged by the triage team
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on May 28, 2020
  3. khush706 commented on May 28, 2020

    @khush706
    Author
  4. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on May 28, 2020
  5. khush706 commented on May 28, 2020

    @khush706
    Author
  6. TahaTesser commented on May 28, 2020

    @TahaTesser
    Contributor

    Hi @khush706
    please provide a minimal complete reproducible code sample.
    Thank you

  7. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on May 29, 2020
  8. khush706 commented on May 29, 2020

    @khush706
    Author
  9. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on May 29, 2020
  10. khush706 commented on May 31, 2020

    @khush706
    Author
  11. TahaTesser commented on Jun 1, 2020

    @TahaTesser
    Contributor

    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

  12. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Jun 1, 2020
  13. khush706 commented on Jun 1, 2020

    @khush706
    Author
  14. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Jun 1, 2020
  15. 47 remaining items

  16. chenzhenjin commented on Mar 30, 2023

    @chenzhenjin

    Guys, please take care of it

  17. jstevensconverus commented on Dec 5, 2023

    @jstevensconverus

    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.

  18. SoftWyer commented on Dec 5, 2023

    @SoftWyer

    @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.

  19. jstevensconverus commented on Dec 5, 2023

    @jstevensconverus

    @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.

    I will take a look, thank you for the quick response.

  20. yurijdvornyk commented on Dec 5, 2023

    @yurijdvornyk

    @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.

  21. fithurriague commented on Dec 26, 2023

    @fithurriague

    Can anybody please let us know if the team is working on this?
    Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listfound in release: 2.0Found to occur in 2.0found in release: 2.2Found to occur in 2.2has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: cameraThe camera pluginpackageflutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions