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

DirectShow: QML Video Component can't play movies in local or external Qt resource file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.6.2
    • 5.4.2, 5.5.0 RC, 5.5.0
    • Multimedia
    • None
    • DirectShow
    • d44a327da4a956f62cc0d51095fa4c1d62e130d3

      I have made an example application with three buttons, one image and one video player. When pressing the buttons a video is supposed to play. This is what distinguishes the buttons:

      Button 1: Access a video file in the same folder as the applications executable file.
      Button 2: Access a video file added to the Qt Resource file.
      Button 3: Access a video file from an external binary Qt Resource file with no compression.

      Only button 1. work in this application, button 2. and 3. can not make the video play.

      The image included in the application is an image that is packed together with a video file in the external binary Qt Resource file. This image is successfully read from the external resource file. This means that access to the external resource file is not the problem.

      This is very critical as I can not bundle video files in my Android app unless I add the files as videofiles, but then the user would have easier access to the videofiles that I want to have some sort of protection against.

      Link to example project: https://www.dropbox.com/sh/xqii6on37ki64jr/AAAhzC5yToglnQqa3rMj9pyMa?dl=0

        For Gerrit Dashboard: QTBUG-46899
        # Subject Branch Project Status CR V

            ylopes Yoann Lopes
            phataas Patrick Hisni Brataas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes