Created
October 4, 2016 16:29
-
-
Save jmrr/9e0197a6a127d23638b4da6e44df25c8 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
#!/bin/bash | |
# Destination folder | |
mkdir -p output/transcoded | |
# Specify extensions for for loop. Videos must be in the current dir | |
extension=flv | |
for vid in *.$extension; | |
do ffmpeg -i "$vid" -vn -acodec libmp3lame output/transcoded/"${vid%.$extension}."mp3; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment