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

OS X: Regression in QtMultimedia MediaPlayer/VideoOutput between Qt5.3.1 and Qt5.3.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.4.0
    • 5.3.2
    • Multimedia
    • None
    • MacOS 10.8.5 (does not affect Debian/wheezy or an iOS build)
    • macOS
    • f02d9e934322fbf9af8a5503c1bda37552988b2b

    Description

      If I download the file sample_iTunes.mov from http://support.apple.com/kb/ht1425 and put this code in test.qml:


      import QtQuick 2.2
      import QtMultimedia 5.0
      
      Rectangle {
        color: '#000000'
        width: 640
        height: 480
      
        MediaPlayer {
          id: player
          autoPlay: true
          onSeekableChanged: console.log("Seekable changed: "+(seekable?"yes":"no"));
          onPositionChanged: console.log("Position: "+position);
          onDurationChanged: console.log("Duration: "+duration);
          source: "sample_iTunes.mov"  // From sample files http://support.apple.com/kb/ht1425  
          Component.onCompleted: console.log("Seekable/position/duration initially: "+(seekable?"yes":"no")+"/"+position+"/"+duration);
        }
      
        VideoOutput {
          anchors.fill: parent
          fillMode: VideoOutput.PreserveAspectFit
          source: player
        }
      
        MouseArea {
          anchors.fill: parent
          onClicked: player.seek(0);
        }
      }
      

      and run ~/Qt5.3.1/5.3/clang_64/bin/qmlscene test.qml it plays the video (and audio) as expected. However if I run ~/Qt5.3.2/5.3/clang_64/bin/qmlscene test.qml I get audio only, and the video remains blank.

      It's not just the sample_iTunes.mov file or the above code; I have other videos and QML files using QtMultimedia MediaPlayer/VideoOutput which work on 5.3.1 Mac builds, but fail to show video on 5.3.2.

      MacOS 10.8.5 on a mid-2012 MacBookPro is the only Mac I have access to.

      This sort of thing does seem to work fine (no change between 5.3.1 and 5.3.2) on Debian/wheezy. On iOS... it's complicated; see info just added to QTBUG-39385; may or may not be related to this.

      Attachments

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

        Activity

          People

            ylopes Yoann Lopes
            timday Tim Day
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes