Skip to content

Instantly share code, notes, and snippets.

@dragonman225
Created November 19, 2019 16:48
Show Gist options
  • Save dragonman225/a26f1e25c38ac02831307b8186646ede to your computer and use it in GitHub Desktop.
Save dragonman225/a26f1e25c38ac02831307b8186646ede to your computer and use it in GitHub Desktop.
Convert all DTS-WAV files in a folder to multi-channel FLAC files.
#!/bin/bash
for file in *.wav;
do name=$(echo $file | sed "s/\\.wav//g");
ffmpeg -acodec dts -i "$name".wav -vn -sn -acodec flac "$name".flac;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment