Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-44838

Qml Camera live view hangs on Windows Phone

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.5.0 Beta
    • 5.4.0
    • Multimedia
    • WinRT
    • be0a231

    Description

      When I start a very simple application with just a Qml Camera and VideoOutput elements, the live video feed is stuck and only still image shown on the screen.

      • Platform: Windows Phone 8.1
      • Device: Nokia Lumia 630
      • Compiled with visual studio after "qmake -tp vc"
      • Added <DeviceCapability Name="webcam"/> to Package.appxmanifest
      • Compiled in Debug mode (release won't compile)

      Source:

      import QtQuick 2.4
      import QtQuick.Controls 1.3
      import QtQuick.Layouts 1.1
      import QtMultimedia 5.4
      
      Item {
          Camera {
              id: camera
      
              imageCapture {
                  id: capture
                  onImageCaptured: {
                      console.log(preview.toString)
                  }
                  onImageSaved: {
                      console.log(path)
                  }
              }
          }
      
          VideoOutput {
              id: previewWindow
              anchors.fill: parent
              focus : visible 
              source: camera
          }
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            wupeng PengWu
            tumipetteri Tuomo Pelkonen
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes