Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Media PLayer Shared Volumen ?
Qt 6.11 is out! See what's new in the release blog

Media PLayer Shared Volumen ?

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 1 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Almustafa
    wrote on last edited by
    #1

    Good day.

    I have a big problem.

    In my qml file, I have 2 MediaPlayers. One in video, and other in audio.

    @ MediaPlayer {
    id: video
    source: "video.mp4"
    autoPlay: false
    volume: 0.1
    }
    VideoOutput {
    id: videoOutput
    fillMode: VideoOutput.Stretch
    source: video
    }

        MediaPlayer {
           id: audio
           source: "audio.mp3"
           autoPlay: false    
           volume: 1.0
        }@
    

    I play the video and the audio. All fine until here.
    When the video is finish, and I play the audio again, this play with volume of 0.1, the same of the video.

    Please help me.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Almustafa
      wrote on last edited by
      #2

      any answer?, please

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved