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

(invalid clone)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • None
    • 5.15.2
    • Multimedia
    • None
    • Fedora 35
      pipewire 0.3.43 for Audio
    • Linux/X11

      The following Qml scene plays the video as it should as long as you don't mute it. You may either edit the code to mute from the start or use the switch to do it interactively. Once muted, the Video plays a few more frames (< 2 seconds) and stops. It can not be restarted.

      Further information:

      • Setting volume to 0 has the same effect.
      • Setting volume to 0.001 has the same effect. (Tried all workarounds I could think of )
      • Any video I tried works the same.
      • Fedora uses pipewire for audio, this may or may not be related.
      import QtQuick 2.12
      import QtQuick.Controls 2.12
      import QtMultimedia 5.12
      
      ApplicationWindow {
              Video {
                      source: "https://file-examples-com.github.io/uploads/2017/04/file_example_MP4_480_1_5MG.mp4"
                      anchors.fill: parent
                      muted: mute.checked
                      onPositionChanged: {
                              console.log(position);
                      }
                      Component.onCompleted: play()
              }
              Switch {
                      id: mute
                      checked: false
                      text: "Mute"
              }
      }
      

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

            laknoll Lars Knoll
            dreua David Auer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes