Installation Tools
sudo apt-get install lame
See Help lame--help for specific usage
By changing the number of frames in an audio file, you can make the file smaller but the sound quality decreases
Now more than the MP3 file is 128kbps such as at this time it 4M
And then it's compressed into 64kbps, which is basically 2 m.
Lame-b Old.mp3 New.mp3
If the audio is more, you can write a loop, like I'm here.
Dir= "/home/caojie/desktop" filelist= ' ls $dir/123 ' for file in $filelistdo mp3name= "$dir/123/" $file ' lame-b 64 $ Mp3name $dir/123/yasuo/$file ' done
It takes about 5 seconds to process a song.
The problem with batch processing is that Linux does not correctly handle the whitespace in the file name.
The following sentence can be bulk changed a directory under the file name in the space for the specified symbol
Rename ' s//_/g ' * Here to replace spaces with underscores
Compressed audio files under Linux