Skip to content

Instantly share code, notes, and snippets.

@sevro
Created May 25, 2019 18:42
Show Gist options
  • Save sevro/71b97ede32a54008086f39ed298b8473 to your computer and use it in GitHub Desktop.
Save sevro/71b97ede32a54008086f39ed298b8473 to your computer and use it in GitHub Desktop.
Quadruple volume of all videos in a folder
#!/bin/bash
for i in *;
do name=`echo "$i" | cut -d '.' -f1`;
echo "$name";
ffmpeg -i "$i" -vol 1024 -vcodec copy "${name}_out.mp4";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment