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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.2.0
    • Fix Version/s: None
    • Component/s: Multimedia
    • Labels:
      None
    • Platform/s:
      Android
    • Sprint:
      2021wk44POAndroid&Mobile, 2021wk46POAndroid&Mobile

      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

              Assignee:
              pekkagehor Pekka Gehör
              Reporter:
              pekkagehor Pekka Gehör
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes