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

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

XMLWordPrintable

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

      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)

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes