/wav-to-opus

WAV to OPUS pipeline

Primary LanguageShell

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