User Tools

Site Tools


ubuntu:sound:convert_wav_to_mp3

This is an old revision of the document!


Ubuntu - Sound - Convert WAV to MP3

Using ffmpeg

for i in *.wav; do ffmpeg -i "$i" -ab 320k "${i%.*}.mp3"; done

Using Lame

High quality

lame -h song.wav song.mp3

Fixed 128kbs stereo encoding

lame song.wav song.mp3

Fast and low quality

lame -f song.wav song.mp3

Encode at a bit rate of 112 kbs

lame -b 112 song.wav song.mp3

Using Bladeenc

bladeenc song.wav song.mp3

NOTE: The size of the MP3 file will be approximately 10% the size of the WAV file.

ubuntu/sound/convert_wav_to_mp3.1581634804.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki