Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 497 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 497 Bytes

wav-to-opus

  • Parallelized script to convert all .wav files in a directory to .opus files using opusenc.
  • Parallelized script to convert all .opus files in a directory to .wav files using opusdec.

Install

apt-get install parallel build-essential pkg-config file libssl-dev

bash compile-opus.sh

Encode

python wav_to_opus.py

cat wav_to_opus.sh | parallel -j 5

Decode

python opus_to_wav.py

cat opus_to_wav.sh | parallel -j 5