#!/bin/csh -f if ($#argv != 3) then echo "doconv " else set videots = $1 set videoout = $2 set kind = $3 if $kind == "all" then HBTest -i $videots -o /Users/USERNAME/Desktop/${videoout}_ipod.mp4 -e x264 -b 400 -R 44100 -B 128 -w 320 HBTest -i $videots -o /Users/USERNAME/Desktop/${videoout}.mp4 -e x264 -S 700 -f mp4 -2 -R 44100 -B 128 else if $kind == "full" then HBTest -i $videots -o /Users/USERNAME/Desktop/${videoout}.mp4 -e x264 -f mp4 -S 700 -2 -R 44100 -B 128 else if $kind == "ipod" then HBTest -i $videots -o /Users/USERNAME/Desktop/${videoout}_ipod.mp4 -f mp4 -e x264 -b 400 -R 44100 -B 128 -w 320 else echo "doconv " endif endif