Skip to content

Instantly share code, notes, and snippets.

@ptc0219
Created March 29, 2017 21:13
Show Gist options
  • Save ptc0219/074af940e3c5794a12bd76d01b263a18 to your computer and use it in GitHub Desktop.
Save ptc0219/074af940e3c5794a12bd76d01b263a18 to your computer and use it in GitHub Desktop.
混合立體聲
#!/bin/bash
IFS=$'\n'
files=$(find orignal -name "*.mp3" -exec basename {} \;);
for file in $files
do
ffmpeg -i "orignal/$file" -ac 1 "mixed/$file";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment