šµ wav2multi - Multi-Format Audio Transcoder
3.0K
Professional multi-format audio transcoder for VoIP telephony codecs
Convert WAV audio files to G.729, μ-law, A-law, and SLIN formats with excellent compression and compatibility. Optimized for VoIP applications, IP telephony, and telecommunications systems.
# G.729 conversion (8 kbps - high compression)
docker run --rm -v $PWD:/work cnsoluciones/wav2multi:latest input.wav output.g729 --format g729
# μ-law conversion (64 kbps - US standard)
docker run --rm -v $PWD:/work cnsoluciones/wav2multi:latest input.wav output.ulaw --format ulaw
# A-law conversion (64 kbps - European standard)
docker run --rm -v $PWD:/work cnsoluciones/wav2multi:latest input.wav output.alaw --format alaw
# SLIN conversion (128 kbps - raw PCM)
docker run --rm -v $PWD:/work cnsoluciones/wav2multi:latest input.wav output.slin --format slin
| Format | Bitrate | Use Case | Compression |
|---|---|---|---|
| G.729 | 8 kbps | VoIP, maximum compression | 94% |
| μ-law | 64 kbps | Standard telephony (US) | 50% |
| A-law | 64 kbps | European telephony | 50% |
| SLIN | 128 kbps | Raw 16-bit PCM | 0% |
libbcg729 for G.729, native Go for othersYour WAV files must meet these specifications:
# Convert to G.729 (highest compression)
docker run --rm -v $PWD:/work cnsoluciones/wav2multi:latest audio.wav audio.g729 --format g729
# Legacy format (auto-detect from extension)
docker run --rm -v $PWD:/work cnsoluciones/wav2multi:latest audio.wav audio.g729
# Convert all WAV files in current directory
for file in *.wav; do
docker run --rm -v $PWD:/work cnsoluciones/wav2multi:latest "$file" "${file%.wav}.g729" --format g729
done
# Mount specific directory
docker run --rm -v /path/to/audio:/work cnsoluciones/wav2multi:latest input.wav output.g729 --format g729
# Show complete help
docker run --rm cnsoluciones/wav2multi:latest --help
# Show version
docker run --rm cnsoluciones/wav2multi:latest --version
Convert back to WAV using FFmpeg to verify quality:
# Verify G.729
ffmpeg -f g729 -i output.g729 -ar 8000 -ac 1 -c:a pcm_s16le verify.wav
# Verify μ-law
ffmpeg -f mulaw -i output.ulaw -ar 8000 -ac 1 -c:a pcm_s16le verify.wav
# Verify A-law
ffmpeg -f alaw -i output.alaw -ar 8000 -ac 1 -c:a pcm_s16le verify.wav
# Verify SLIN
ffmpeg -f s16le -ar 8000 -ac 1 -i output.slin -c:a pcm_s16le verify.wav
If your WAV file doesn't meet requirements, convert it with FFmpeg:
# All-in-one conversion to compatible format
ffmpeg -i input.mp3 -ar 8000 -ac 1 -sample_fmt s16 -acodec pcm_s16le output.wav
# Then transcode
docker run --rm -v $PWD:/work cnsoluciones/wav2multi:latest output.wav output.g729 --format g729
ffmpeg -i file.wav -acodec pcm_s16le output.wav
ffmpeg -i file.wav -ac 1 output.wav
ffmpeg -i file.wav -ar 8000 output.wav
ffmpeg -i input.mp3 -ar 8000 -ac 1 -sample_fmt s16 -acodec pcm_s16le output.wav
This Docker image uses a multi-stage build for optimal size:
Federico Pereira - [email protected]ā
This project is part of CNSoluciones, specialized in telecommunications and VoIP solutions.
wav2multi is licensed under the Apache License 2.0.
Copyright Ā© 2025 Federico Pereira [email protected]ā
ā
You CAN: Use commercially, modify, distribute, sublicense
ā ļø You MUST: Include copyright, provide attribution, state changes
ā You CANNOT: Hold author liable, remove copyright notices
G.729 codec patents expired in 2017. Free to use worldwide without royalties.
Need different terms? Commercial licenses available:
For complete terms, see LICENSEā
Contributions are welcome! Please visit our GitHub repositoryā to:
If you find this project useful, please:
Questions or issues? Open an issue on GitHubā
Made with ā¤ļø by CNSoluciones | Telecommunications & VoIP Solutions
Content type
Image
Digest
sha256:887947f29ā¦
Size
5.4 MB
Last updated
11 months ago
docker pull cnsoluciones/wav2multi