Created
November 19, 2019 16:48
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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