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

Android: Filters out unsupported audio codecs(flac) on AudioRecorder app

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.2.0
    • Multimedia
    • None
    • Android
    • 2021wk44POAndroid&Mobile, 2021wk46POAndroid&Mobile, 2022wk28FOQtforAndroid, 2022wk30FOQtforAndroid

    Description

      Android MediaCodecList return all of supported media codes on the Android device.
      AudioRecorder app show those codes on Audio Codec list.

      eg. Sony xperia 5(A11) and Nokia 6.1(A10) returns:
      Audio Codec:
       AAC
       FLAC
       Opus
      File Container:
       Mpeg4Audio
       AAC
       FLAC

      The AudioRecorder app use the MediaRecorder api for recording audio. 
      The problem with this is that the MediaRecorder::setAudioEncoder ()
      does not support the flac codec.

      https://developer.android.com/guide/topics/media/media-formats
      https://developer.android.com/reference/android/media/MediaRecorder#setAudioEncoder(int)

      Attachments

        Issue Links

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

          Activity

            People

              bartlomiejmoskal Bartlomiej Moskal
              pekkagehor Pekka Gehör
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes