typeset aspect=""
typeset SCALE=""
typeset CROP=""
-typeset profile="xvidvhq"
+typeset profile="xvidhq"
typeset extension=""
typeset mailto=""
typeset encoder=""
echo >&2 " 5) If dvdname is a full path to a VOB file, it will be ripped as a DVD instead of $dev"
echo >&2 " -p <profile> Specify which encoding profile to use in -x mode as shown below:"
echo >&2 " Mencoder and Handbrake Encoder Profiles:"
- echo >&2 " - xvidvhq = AVI, very high quality encoding, Xvid codec, 2 pass encoding (default)"
- echo >&2 " - xvidhq = AVI, high quality encoding, Xvid codec, 2 pass encoding"
+ echo >&2 " - xvidvhq = AVI, very high quality encoding, Xvid codec, 2 pass encoding"
+ echo >&2 " - xvidhq = AVI, high quality encoding, Xvid codec, 2 pass encoding (default)"
echo >&2 " - xvid = AVI, fast encoding, Xvid codec, 2 pass encoding"
echo >&2 " - iphone = MP4, x264 codec, 2 pass encoding, forced 480:320 scaling"
echo >&2 " - ipod = MP4, x264 codec, 2 pass encoding, forced 320:240 scaling"
if [ "$profile" == "xvidvhq" ]; then
handbrake_opts[0]="-f avi"
handbrake_opts[1]="-b $target_bitrate"
- handbrake_opts[2]="-e ffmpeg"
+ handbrake_opts[2]="-e xvid"
handbrake_opts[3]="-T"
handbrake_opts[4]="-5"
handbrake_opts[5]="-8"