Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1983

QMediaRecorder::record leads to QMediaRecorder::ResourceError on N9 PR1.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 1.2.1
    • Multimedia
    • None
    • Nokia SDK 1.1.4 on Win7, N9 CE (PR1.1 20.2011.40-4_PR_001), Meego 1.2 Harmattan

    Description

      The demo app is attached.
      Tested on N9 with latest public SW version
      QMediaRecorder::record will trigger an QMediaRecorder::error signal

      Simplified usage
      ......
      camera = new QCamera;
      camera->setCaptureMode(QCamera::CaptureVideo);
      recorder = new QMediaRecorder(camera);
      camera->start();
      recorder->record();
      ......

      application output is attached below:

      Killing remote process(es)...
      Starting remote process ...
      Remote process started.
      Using the meego graphics system
      **My Camera App Log: camera initialized
      **My Camera App Log: camera video capture mode set
      **My Camera App Log: capture mode supported
      **My Camera App Log: QCamera state: QCamera::LoadedState
      **My Camera App Log: camera loaded
      **My Camera App Log: recorder initialized
      **My Camera App Log: setting set
      **My Camera App Log: number of supported resolutions = 0
      **My Camera App Log: number of supported VideoCodecs = 3
      **My Camera App Log: supported video codec: "video/mpeg4"
      **My Camera App Log: supported video codec descripotion: "Encodes MPEG-4 video with 720p HD enabled DSP algorithm"
      **My Camera App Log: supported video codec: "video/h264"
      **My Camera App Log: supported video codec descripotion: "Encodes H.264 video with TI's DSP algorithms"
      **My Camera App Log: supported video codec: "video/h263"
      **My Camera App Log: supported video codec descripotion: "Encodes H.263 video with TI's DSP algorithms"
      **My Camera App Log: QCamera state: QCamera::ActiveState
      **My Camera App Log: camera started
      Successfully resolved MeeGo graphics system: /usr/lib/qt4/plugins/graphicssystems/libqmeegographicssystem.so

      Found SGX/MBX driver, enabling FullClearOnEveryFrame
      Found v1.4 driver, enabling brokenTexSubImage
      MeegoGraphics: found EGL_NOK_image_shared
      MeegoGraphics: found EGL_KHR_lock_surface2
      MeegoGraphics: found EGL_KHR_fence_sync
      X Error: BadDamage (invalid Damage parameter) 153
      Extension: 146 (Uknown extension)
      Minor opcode: 2 (Unknown request)
      Resource id: 0x29
      hijackWindow() context created for QDeclarativeView(0x1f5a4fc8) 1
      Found SGX/MBX driver, enabling FullClearOnEveryFrame
      Found v1.4 driver, enabling brokenTexSubImage
      QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x1f8f1300)
      Found EGL_KHR_image_pixmap & GL_OES_EGL_image extensions (preferred method)!
      Found texture_from_pixmap EGL extension!
      **My Camera App Log: Recording start
      **My Camera App Log: QMediaRecorder error: QMediaRecorder::ResourceError
      **My Camera App Log: QCamera AvailabilityError: 0
      **My Camera App Log: QCamera ErrorString: ""
      **My Camera App Log: Recording started
      **My Camera App Log: Recording stop
      **My Camera App Log: QCamera state: QCamera::LoadedState
      **My Camera App Log: Recording stoped
      **My Camera App Log: QCamera status: QCamera::LoadedStatus

      Attachments

        Activity

          People

            djcb Dirk-Jan C. Binnema
            wenlu Wenhui Lu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: