if [ $# -eq 0 ]; then echo -n Please enter the name of the file: read NAME else NAME=$1 fi
if [ $FPS -lt 12 -o $BITRATE -lt 750 ] then mplayer -quiet -framedrop "$NAME" exit 0 fi
if [ $BITRATE -lt 16000 ] elif [ $BITRATE -lt 128000 ]
if $FPS -gt 25 $FRAMEDROP="hardframedrop" REST OF THE CODE HERE (the optimizations you wrote, this "if" thus remains independent of the rest" else $FRAMEDROP="framedrop" REST OF THE CODE (or a simple goto would do the trick here in order not to rewrite) fi