Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Record compressed and light audio file
Qt 6.11 is out! See what's new in the release blog

Record compressed and light audio file

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 803 Views 2 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by A Former User
    #1

    Hi guys, i want to record audio with the smallest size, In fact , QAudioInput doesn't match my needs because it records uncompressed audio. Please can someon give me a link wher i can see how to do that,
    I want to record light file audio like whatsapp using aac. I would like to know where to start.
    Thanks !

    1 Reply Last reply
    0
    • L Offline
      L Offline
      LuGRU
      wrote on last edited by
      #2

      Hi,
      What You want is probably some kind of compression library, QAudioINput is fine and will get You a raw data from audio inputs then, and here compes library, You will need to cpmpress such data before saving it.

      Take a look at FFmpeg, libVlc, libmp3lame, libmad etc. Basically determine what format You want to save Your audio in and look for library that will handle I/O (in this case compression and save).

      IIRC Qt don't offer anything in this area.

      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