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. Getting access to the frames in video stream provided by QCamera
Qt 6.11 is out! See what's new in the release blog

Getting access to the frames in video stream provided by QCamera

Scheduled Pinned Locked Moved Mobile and Embedded
7 Posts 5 Posters 7.0k 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.
  • A Offline
    A Offline
    aapiskukko
    wrote on last edited by
    #1

    I have a problem for which I cannot find a solution. I'm using QCamera class (Qt Mobility 1.1) and I need to get access to the video frames(e.g. QVideoFrame) provided by the camera in N900. I need to do some image processing to the frames before they are shown in for example QVideoWidget. How can I do that?

    I have tried the method illustrated in http://developer.qt.nokia.com/forums/viewthread/370 with no luck.
    If i don't define "camera->setViewfinder(viewfinder);", all I get is some Camerabin "internal data flow error".

    I have also considered subclassing QVideoWidget and reimplementing paintEvent, but don't see how can I actually get access to the frames before they are drawn to the widget.

    I do not want to process snapshot images that are already saved in file.

    Is the any good solutions/examples how to solve this problem?

    Thank you.

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qtrahul
      wrote on last edited by
      #2

      The camera API is still in Technology preview mode.

      It is not the final release, There are so many developers are getting error while making project using camera API under "Qt Mobility 1.1 TP.":http://doc.qt.nokia.com/qtmobility-1.1-tp/index.html

      We have to wait for the stable version, for full support.

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kamalakshantv
        wrote on last edited by
        #3

        [quote author="qtrahul" date="1293618256"]The camera API is still in Technology preview mode.

        It is not the final release, There are so many developers are getting error while making project using camera API under "Qt Mobility 1.1 TP.":http://doc.qt.nokia.com/qtmobility-1.1-tp/index.html

        We have to wait for the stable version, for full support.
        [/quote]

        Qt Mobility 1.1 is out from TP and now a" stable version":http://doc.qt.nokia.com/qtmobility-1.1/index.html is available. Even Qt Mobility 1.2 TP is out.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          ashrafsamir
          wrote on last edited by
          #4

          I build the SIS of the qcamera from the Mobility 1.1 to test it on the N8 using the NokiaQTSDK
          but when I deploy the SIS file I receive "access not granted"

          What I have to do to make it runs on N8? signing ?

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kamalakshantv
            wrote on last edited by
            #5

            It seems you are missing some capability. Check the api used and the capability required.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              ashrafsamir
              wrote on last edited by
              #6

              Thanks QTK, but I just built the sample of qcamera shipped with the Mobility 1.1 with no code change. All what I need is to be able to build the qCamera and deploy to my N8, then add extra code to it in step by step to develop my first application.

              1 Reply Last reply
              0
              • W Offline
                W Offline
                witsku
                wrote on last edited by
                #7

                In the .pro-file:
                Replace:
                TARGET.CAPABILITY = UserEnvironment WriteDeviceData ReadDeviceData

                ...with:
                TARGET.CAPABILITY = UserEnvironment WriteUserData ReadUserData

                In this way you should be able to self-sign the application.

                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