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

when using QMediaPlayer to play audio files, the sound is missing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • None
    • 6.9.0
    • Multimedia
    • None
    • 6.9.0_MSVC2022_64
    • Windows

      When developed with Qt6.9.0, there is no sound when playing audio files. After testing, I found that this does not exist in older versions (e.g. 5.15.2, 6.5.3). In the cmd debug window, there is an error saying "[SWR@000001D15D8990C0] Context has not been initialized". In my opinion, most likely it is the underlying ffmpeg library calling incompatibility, but there is no better solution yet.

       

        1. 音频播放错误.PNG
          16 kB
          Xu Wenfeng
        2. 音频播放错误02.PNG
          17 kB
          Xu Wenfeng
        For Gerrit Dashboard: QTBUG-136946
        # Subject Branch Project Status CR V

            qtmultimediateam Qt Multimedia Team
            willforex Xu Wenfeng
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change