yoruno-vn / script /ogg2wav.zsh
nenekochan's picture
parser support for voice file name
a7d2126
raw
history blame contribute delete
190 Bytes
#!/usr/bin/env zsh
BASE=$1
DEST=$2
mkdir -p $DEST
for f in $BASE/*.ogg; do
ffmpeg -hide_banner -loglevel error -nostats -acodec libvorbis -i $f -acodec pcm_s16le "$DEST/$f:t:r".wav
done