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

MediaPlayer has no sound on Android

    XMLWordPrintable

Details

    • Android
    • 10864c9b1 (dev), db1b01ef6 (6.6), 7e1319a9b (6.5)
    • 2023wk40FOQtforAndroid

    Description

      There is no sound on Android when a media is playing in 6.5.2 and 6.6.0 but it's okay on 6.5.1.
      You can reproduce this bug with latest "Media Player Example".
      I tested with another simple project too.

      Edit:
      I can approve `sample-mov-file.mov` can play with sound.
      But my attached file `no-sound.mkv` still has sound problem.

      suspicious log:

      E libOpenSLES: pAudioSrc: requested 6 channels but mask (0x3) has 2 channel bits set
      W libOpenSLES: Leaving Engine::CreateAudioPlayer (SL_RESULT_PARAMETER_INVALID)
      W libapplearnplayer_armeabi-v7a.so: Unable to create AudioPlayer 

      ffprope:

      Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
      
      Stream #0:1(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp (default) 

       

       

      Attachments

        1. no-sound.mkv
          8.78 MB
        2. sample-mov-file.mov
          13.79 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bartlomiejmoskal Bartlomiej Moskal
            spfl97 Dawn Walker
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes