1 2 3 4 5 6 7 8
#!/usr/bin/env bash for i in "$@"; do ffmpeg -i "${i}" -f mp4 \ -c:v libx264 \ -crf 32 \ -c:a aac "${i%.*}".mp4 done