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. Cannot load video elements in MS windows
Forum Updated to NodeBB v4.3 + New Features

Cannot load video elements in MS windows

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.9k 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.
  • N Offline
    N Offline
    nizeguy
    wrote on 28 Oct 2010, 16:15 last edited by
    #1

    Hi there.

    I'm having a problem playing video elements in windows. The Qt Mobility 1.1 TP is configured with with directshow plugin and when loading the qml below i get the following error:

    file:///C:/Users/smg/Desktop/try8/TEST_multimedia/v.qml:2:1: plugin cannot be loaded for module "Qt.multimedia": Cannot load library C:/Qt/2010.05/qt/imports/Qt/multimedia/declarative_multimedia.dll: Impossível localizar o módulo especificado.
    @
    import Qt.multimedia 1.1
    ^
    @

    @
    import Qt 4.7
    import Qt.multimedia 1.1

    Video {
    id: video
    width : 800
    height : 600
    //source: "video.avi"
    source:"asf_to_mpeg-1.mpeg"

     MouseArea {
         anchors.fill: parent
         onClicked: {
             video.play()
         }
     }
    
     focus: true
     Keys.onSpacePressed: video.paused = !video.paused
     Keys.onLeftPressed: video.position -= 5000
     Keys.onRightPressed: video.position += 5000
    

    }
    @

    [edit: Highlight added / Denis Kormalev]

    1 Reply Last reply
    0

    1/1

    28 Oct 2010, 16:15

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved