Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML Video not working on N900 PR1.3
Qt 6.11 is out! See what's new in the release blog

QML Video not working on N900 PR1.3

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 3 Posters 3.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
    andrei1089
    wrote on last edited by
    #1

    I am trying to run the basic example from QML documentation (http://doc.qt.nokia.com/qt-mobility-snapshot/qml-video.html ) on the N900, but I'm getting some strange errors. I have tried with different videos, including videos taken with the N900 without success.

    The following errors appear on the console:

    setup_buffers: couldn't allocate buffer: not-linked
    setup_buffers: couldn't allocate buffer: not-linked
    setup_buffers: couldn't allocate buffer: not-linked
    setup_buffers: couldn't allocate buffer: not-linked

    dsp_thread: failed waiting for events

    dsp_thread: failed waiting for events

    1 Reply Last reply
    0
    • C Offline
      C Offline
      codise
      wrote on last edited by
      #2

      I have the same problem. PR1.3 & qt multimedia 1.1.0 installed.

      Same error messages and also this one:
      @X Error: BadValue (integer parameter out of range for operation) 2
      Extension: 130 (Uknown extension)
      Minor opcode: 13 (Unknown request)
      Resource id: 0x1
      @

      Video starts to play, but only a small slice of it shows. If I scroll the screen the full video frame is updated, but video stands still. Tried with different formats and seems like this might be a issue in gstreamer. I tried also different scaling methods and sizes, but that only varies the random box that's updated.

      Not sure if it matters, but I'm using QML through a native Qt app with QDeclarativeContext.

      Example QML:
      @import Qt 4.7
      import QtMultimediaKit 1.1

      Rectangle {
      anchors.fill: parent
      color: "black"

      Video {
      id: video
      width : 480
      height : 800

      // video that works also with the n900's player..
      source: "file:///home/user/MyDocs/The_Dark_Knight_trailer2_x264.mp4"
      fillMode: PreserveAspectFit

      MouseArea {
      anchors.fill: parent
      onClicked: {
      video.play()
      }
      }

      Keys.onSpacePressed: video.paused = !video.paused
      Keys.onLeftPressed: video.position -= 5000
      Keys.onRightPressed: video.position += 5000
      }
      }
      @

      1 Reply Last reply
      0
      • B Offline
        B Offline
        borut123
        wrote on last edited by
        #3

        thanks to codise, who has pointed me to that link, I have installed Qt Mobility 1.1 on N900:
        http://zwong.de/2010/10/qt-mobility-11-maemo5-nokia-qt-sdk/

        qml Video component on my N900 now works ok.

        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