Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QML Camera : videoCapture not documented?
Forum Updated to NodeBB v4.3 + New Features

QML Camera : videoCapture not documented?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 267 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    m2dtkast
    wrote on last edited by m2dtkast
    #1

    Hey;
    the declarative-camera example makes use of a "videoCapture" property inside the Capture element.

        Camera {
            id: camera
            captureMode: Camera.CaptureStillImage
    
            imageCapture {
                //resolution: "1920x1440"
                onImageCaptured: {
                    photoPreview.source = preview
                    stillControls.previewAvailable = true
                    cameraUI.state = "PhotoPreview"
                }
            }
    
            videoRecorder {
                 resolution: "1920x1440"
                 frameRate: 30
            }
        }
    Is it possible  this videoRecorder is not documented?
    On top of that, if I don't set imageCapture.resolution (to a 4:3 aspect ratio), the taken pictures will have maximum resolution available from the camera. 
    On armv7 arch (android 9), this happens despite setting the properties above.
    
    I stop the camera, then set the camera resolution and restart it when the status is set to "PhotoCapture" (following the declarative-camera example), and use capturetolocation to then save the image.
    Can there be such substantial differences on android versions / different devices or am I doing something wrong?
    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      It is documented in "detailed description" of the class. But you are right, it should also be mentioned as a property in the list of properties - that's a documentation bug, please report it.

      (Z(:^

      1 Reply Last reply
      0
      • M Offline
        M Offline
        m2dtkast
        wrote on last edited by m2dtkast
        #3
        This post is deleted!
        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved