-
-
Save anonymous/0aa5eb94c3fc306e3ff3 to your computer and use it in GitHub Desktop.
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
input="$1" | |
output="$2" | |
ids=`swfextract "$input" | egrep -o 'Sounds:.*' | egrep -o '[0-9]+'` | |
concat="concat:" | |
for i in $ids | |
do | |
swfextract -s $i -o $i.mp3 "$input" | |
concat+="$i.mp3|" | |
done | |
avconv -i "$concat" -acodec copy "$output" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment