#!/bin/bash
[ "$1" ] || {
echo use: $0 file...
exit 0
}
for file in "$@"; do
ffmpeg -i "$file" -acodec libmp3lame -aq 100 "$file.mp3"
done
This script should work on most audio or video formats and makes variable bit rate high quality mp3 files.
No comments:
Post a Comment