#!/bin/bash usage() { echo "Usage: $0 " } if [ $# -lt 3 ]; then usage exit 1 fi mencoder -oac mp3lame -ovc copy -o $3 -audiofile $2 $1