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

Qt 6.5 - Video : Web source

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.1
    • 6.5.0
    • Multimedia
    • None
    • Windows

    Description

      Hi!

      When we use a video source from web the video not works. Works fine with local files only.

       

       

      import QtQuick
      import QtQuick.Window
      import QtMultimedia
      import QtQuick.Controls
      
      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("QT6.5 - Video")    
          
          MediaPlayer {
              id: mediaplayer
              // WebSource
              source: "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"
              //Local Source
              //source: "file:///C:/Users/dguimaraes/Videos/video.mp4"
              audioOutput: AudioOutput {}
              videoOutput: videoOutput
          }    
          VideoOutput {
              id: videoOutput
              anchors.fill: parent
          }    
          Button {
              id: _playBtn
              text: "PlayVideo"
              onClicked: mediaplayer.play()
          }
      } 

       

       

       

      Attachments

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

        Activity

          People

            laknoll Lars Knoll
            dguimaraes Diogo Guimaraes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes