# Make handbrake the default encoder if not specified and we can find it
if [ -z "$encoder" ]; then
encoder="mencoder"; # If we can't find handbrake, set mencoder as the default
# Make handbrake the default encoder if not specified and we can find it
if [ -z "$encoder" ]; then
encoder="mencoder"; # If we can't find handbrake, set mencoder as the default