Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-32058

Qt's multimedia demo does not work ."qtmultimedia/examples/multimedia/video/qmlvideofx"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Not Evaluated
    • Resolution: Done
    • 5.1.0 RC1
    • 5.1.0
    • Multimedia
    • None
    • Ubuntu12.04
    • ccc41383044f192353d035dd9b94d2b62b0e52ff

    Description

      I try to run Qt Multimedia demo "qtmultimedia/examples/multimedia/video/qmlvideofx".
      GStreamer also report error "No URI".

      I check Qt demo's code. And I do a modify, the demo can work now.
      Modify qtmultimedia/examples/multimedia/video/qmlvideofx/qml/qmlvideofx/Content.qml
      function openVideo(path)

      { console.log("[qmlvideofx] Content.openVideo \"" + path + "\"") stop() contentLoader.source = "ContentVideo.qml" videoFramePaintedConnection.target = contentLoader.item contentLoader.item.mediaSource = "file://" + path // add file:// contentLoader.item.volume = volume contentLoader.item.play() console.log("start play"); updateSource() }

      Qt put all the qml into *.qrc. So we need add "file://" when we want to use a resource.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ylopes Yoann Lopes
            darcy Guilai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes