Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    QCamera/QCameraImageCapture resolution settings not working under Ubuntu Linux 12.04 LTS 64 bit

    General and Desktop
    2
    2
    1351
    Loading More Posts
    • 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.
    • H
      hironimus last edited by

      Hi,

      it is not possible to get the supported resolutions with QCamera / QCameraImageCapture or to set a known resolution via QImageEncoderSettings.
      I tried the camera example from QT5.0.2 found under:
      Qt5.0.2/5.0.2/gcc_64/examples/multimediawidgets/camera
      In the dropdown box for resolutions is NO resolution. Image codec works (only JPEG supported).
      Even if I try to set a resolution maually in the example code, it is NOT used.

      The image saved to disk is always 640 x 480 pixel, the default resolution.

      I'm using a Logitech C270HD webcam and an internal notebook camera, for both it is not working.

      Is the qt5 camera example not working or do I need to do something different than in the example to get the full resolution of 1280 x 720 pixel??

      best regards
      Hironimus

      1 Reply Last reply Reply Quote 0
      • L
        lve0200 last edited by

        Although this post is already quite old, at least 4me it is still up for solution. I have the same problem. Could somebody please describe a work around??

        Best Regards
        Hans

        1 Reply Last reply Reply Quote 0
        • First post
          Last post