Created
March 29, 2015 20:19
-
-
Save seanmavley/cdcda659468a4d4096a6 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
# What this command literally does is this: | |
# It iterates through directory in which the command is executed selecting .mp4 files only | |
# It then runs avconv command conversion on them | |
# See the parameters from avconv manual for details. | |
for i in *.mp4; do avconv -i "$i" -c:v h264 -crf 18 -c:a mp3 -r 30 "out-$i.mp4" ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment