Convert CD-quality WAV to 8bit mono WAV using ffmpeg

Today I needed to record something in a WAV file that shouldn’t exceed 100 KB, when I used the standard “Sound Recorder” in Ubuntu, it recorded using the default CD-quality recording (resulting in a 280 KB file, so I used the “ffmpeg” tool to compress it to a 8bit mono file which resulted in a 28 KB file!

Here are the steps:

  1. Install “ffmpeg”, “sudo apt-get install ffmpeg”
  2. “ffmpeg -i Ahmad_Amr.wav -ar 8000 -ac 1 -acodec pcm_u8 output.wav’

For more information about ffmpeg:

Thanks to http://superuser.com/questions/94794/convert-a-mp3-to-wav-file-with-mplayer for the quick how-to

About SoCRaT

Systems Engineer, OSS & Linux Geek
This entry was posted in Uncategorized and tagged , , . Bookmark the permalink.

4 Responses to Convert CD-quality WAV to 8bit mono WAV using ffmpeg

  1. JT says:

    It added background noise to output with reduce quality
    How to fix it ?

    Liked by 1 person

Leave a Reply to JT Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s