Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Is audio panning possible in QMediaPlayer?
Forum Updated to NodeBB v4.3 + New Features

Is audio panning possible in QMediaPlayer?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 338 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.
  • D Offline
    D Offline
    donquibeats
    wrote on last edited by
    #1

    Is there any way to set audio panning in a QMediaPlayer object?

    I have two QMediaPlayer windows running simultaneously in a window, for side-by-side comparisons, and it would be handy if the audio from one QMediaPlayer was coming only out of the left channel of the user's stereo audio output, and the other QMediaPlayer feeding audio only to the right channel. That way, a user with headphones or well positioned speakers could hear the difference via stereo separation.

    I want to avoid re-encoding the video with amended audio if at all possible.

    In the docs I can see references to setVolume which I'm already using, but nothing for panning. So I assume it simply isn't supported, but just thought I'd ask in case I am overlooking it.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      AFAIK, no, Qt Multimedia is not suited for advanced audio channel mapping like that.

      You might want to check VLC, they likely allow that kind of thing and have Qt integration as well.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • D Offline
        D Offline
        donquibeats
        wrote on last edited by
        #3

        Thanks for confirming. I've parked the idea for now and will wait to see if any users complain about not having it as an option.

        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