Created
September 16, 2016 05:28
-
-
Save ar45/7464ea6b365238551c0fd1a2483e0d24 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
for file in `cat files.txt`; | |
do | |
outfile=/tmp/`basename $file`; | |
ffmpeg -i $file -ar 8000 -ac 1 -acodec pcm_s16le -ab 128k $outfile \ | |
&& mv $outfile $file; | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment