docker build -t encodec .
docker run -p 8081:80 -d encodec
curl -v -F "[email protected]" http://localhost:8000 -O -J
Note that the result is a .ecdc
file.
This would return the compressed file, like running this command:
encodec --hq -r -f sample.wav
If you want to decompress it, you can use:
encodec --hq -r -f response.ecdc file.wav