#!/bin/sh
# $Id: copydvd,v 1.2 2011/07/23 01:31:40 grog Exp $
# Copy a DVD to output file
if [ "$2" = "" ]; then
  echo usage: $0 output-file-name
  exit 1
fi
# Various incantations with mencoder, should they be needed again
# options to think about:
# vcodec=ilme:ildct  interlaced motion estimation, interlaced DCT
# mencoder dvd://1 -o $1 -mc 0 -oac copy -ovc lavc -lavcopts vcodec=mpeg2video -vf scale=1024:576 -noaspect 
# mencoder dvd://1 -o $1 -mc 0 -oac copy -ovc copy -alang en,de
mplayer dvd://$1 -dumpstream -dumpfile $2
