Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Cannot load video elements in MS windows
Qt 6.11 is out! See what's new in the release blog

Cannot load video elements in MS windows

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 2.1k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on 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

    • Login

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