Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Audio decoding for Android
Forum Updated to NodeBB v4.3 + New Features

Audio decoding for Android

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 742 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rednemus
    wrote on last edited by Rednemus
    #1

    Hello guys,
    I need to decode mp3 and vorbis files to do audio normalization but i've seen there
    https://wiki.qt.io/Qt_5.7_Multimedia_Backends#Supported_audio_decoding_features_by_backend
    that audio decoding isn't supported on android.
    Is there a way to make it work ?
    Worst case scenario I could write my own vorbis file decoder but mp3 files are more tricky.

    Thanks

    edit:
    I don't really get how audio decoding isn't working on android with qt. OpenSL ES is the audio backends and it supports audio decoding.
    From here https://developer.android.com/ndk/guides/audio/opensl-for-android.html
    and https://developer.android.com/guide/topics/media/media-formats.html#audio-formats
    i can see that mp3 and vorbis files are supported

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      HI,

      IIRC, the media player might support playing them. Can you check that ?

      As for the state, it might be just be in a "not yet implemented" state.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • R Offline
        R Offline
        Rednemus
        wrote on last edited by
        #3

        Thanks for your reply,

        The media player supports them but I need to decode the files.

        I think i'll use FFmpeg or something like that.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved