#! /bin/sh if [ -z "$1" ]; then echo "Usage: $0 1.avi..." exit 1 fi mencoder -idx -ovc copy -oac copy -o output.avi "$@"