compress | Compress an audio file by adjusting its bitrate.
|
convert | Convert between audio formats.
|
merge | Combine audio files.
|
trim | Trim an audio file.
|
waveform | Generate a waveform image frmo an audio file.
|
Time-duration syntax takes two forms:
00:04:15
.55
or 200ms
.Examples:
55 | 55-seconds |
0.2 | 0.2-seconds |
200ms | 200-milliseconds |
00:04:15 | 4-minutes and 15-seconds |
02:04:05 | 2-hours, 4-minutes and 5-seconds |
00:00:05.500 | 5-seconds and 500-milliseconds (half-second) |
Formats like AAC, MP3, OGG, OPUS, and WMA are all lossy formats, which means that they discard some audio information to achieve smaller file sizes. They’re typically used for music or any situation where you want a good balance between file size and audio quality.
Formats like AIFF, FLAC, and WAV, on the other hand, are lossless formats, which means they reproduce the audio exactly as it was in the original source, at the cost of creating larger files. They’re typically used in professional audio and video production, or any situation where you need the highest possible audio quality.
MMF is a mobile sound format and has quite low bitrates in comparison to other formats. It’s primarily used for ringtones and mobile audio.
Format | Codecs | Bitrate | Sample-rate |
---|---|---|---|
AAC | AAC | 32-320 kbps | 8000-48000 Hz |
AIFF | PCM_S16BE (default), PCM_S24BE, PCM_S32BE | N/A | 8000-192000 Hz |
FLAC | FLAC | N/A | 8000-192000 Hz |
M4A | AAC (default), ALAC | 32-320 kbps (AAC), N/A (ALAC) | 8000-48000 Hz |
MMF | ADPCM_YAMAHA | N/A | 8000-48000 Hz |
MP3 | LIBMP3LAME | 32-320 kbps | 8000-48000 Hz |
OGG | LIBVORBIS | 64-500 kbps | 8000-192000 Hz |
OPUS | LIBOPUS | 6-510 kbps | 8000-48000 Hz |
WAV | PCM_S16LE (default), PCM_S24LE, PCM_S32LE | N/A | 8000-192000 Hz |
WMA | WMAV2 | 48-192 kbps | 8000-48000 Hz |