From 507895c8452fe0a3a0f4f4be7fe9c85a64c10185 Mon Sep 17 00:00:00 2001 From: Cecil Date: Mon, 30 Jul 2012 21:38:42 -0700 Subject: linhes-scripts:Modifed ripD_eject.sh to use HandBrakeCLI. --- abs/core/linhes-scripts/PKGBUILD | 4 ++-- abs/core/linhes-scripts/ripD_eject.sh | 15 +++++++++------ 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/abs/core/linhes-scripts/PKGBUILD b/abs/core/linhes-scripts/PKGBUILD index 6de0e85..4676966 100644 --- a/abs/core/linhes-scripts/PKGBUILD +++ b/abs/core/linhes-scripts/PKGBUILD @@ -3,7 +3,7 @@ pkgname=linhes-scripts pkgver=7 -pkgrel=43 +pkgrel=44 pkgdesc="Various scripts that help to make LinHES, LinHES." arch=('i686' 'x86_64') license=('GPL2') @@ -108,4 +108,4 @@ md5sums=('f56985b2d602e11dc1e10d3e7848b2a5' '54a478660d0f8150fe10112a9ecf2740' '8fa34662c686b210c9943324b7df2feb' 'b608044c9e7530a400d8f5b88fdfe6e6' - 'a9f112b9fa85df60194a210aec261d8f') + 'bcb3b4cddd328f16ad8023ac88c0b9ec') diff --git a/abs/core/linhes-scripts/ripD_eject.sh b/abs/core/linhes-scripts/ripD_eject.sh index 33c37a5..73005d8 100755 --- a/abs/core/linhes-scripts/ripD_eject.sh +++ b/abs/core/linhes-scripts/ripD_eject.sh @@ -86,16 +86,19 @@ then COMMAND="dvdbackup -M -i $DEV -o $dir -n $TITLE" elif [ $1 = h ] then - COMMAND="mencoder dvd://$TRACK -alang en -oac mp3lame -lameopts br=320:cbr -ovc lavc -lavcopts vcodec=mpeg4:vhq -vf scale -zoom -xy 720 -o $dir/$TITLE.avi" - FILE=$TITLE.avi +# COMMAND="mencoder dvd://$TRACK -alang en -oac mp3lame -lameopts br=320:cbr -ovc lavc -lavcopts vcodec=mpeg4:vhq -vf scale -zoom -xy 720 -o $dir/$TITLE.avi" + COMMAND="HandBrakeCLI -i $DEV -o $dir/$FILE --preset \"High Profile\" --main-feature" + FILE=$TITLE.mp4 elif [ $1 = n ] then - COMMAND="mencoder dvd://$TRACK -alang en -oac mp3lame -lameopts br=160:cbr -ovc lavc -lavcopts vcodec=mpeg4:vhq -vf scale -zoom -xy 512 -o $dir/$TITLE.avi" - FILE=$TITLE.avi +# COMMAND="mencoder dvd://$TRACK -alang en -oac mp3lame -lameopts br=160:cbr -ovc lavc -lavcopts vcodec=mpeg4:vhq -vf scale -zoom -xy 512 -o $dir/$TITLE.avi" + COMMAND="HandBrakeCLI -i $DEV -o $dir/$FILE --preset \"Normal\" --main-feature" + FILE=$TITLE.mp4 elif [ $1 = l ] then - COMMAND="mencoder dvd://$TRACK -alang en -oac mp3lame -lameopts br=96:cbr -ovc lavc -lavcopts vcodec=mpeg4:vhq -vf scale -zoom -xy 320 -o $dir/$TITLE.avi" - FILE=$TITLE.avi +# COMMAND="mencoder dvd://$TRACK -alang en -oac mp3lame -lameopts br=96:cbr -ovc lavc -lavcopts vcodec=mpeg4:vhq -vf scale -zoom -xy 320 -o $dir/$TITLE.avi" + COMMAND="HandBrakeCLI -i $DEV -o $dir/$FILE --preset \"Classic\" --main-feature" + FILE=$TITLE.mp4 elif [ $1 = i ] then COMMAND="dd if=$DEV of=$dir/$TITLE.iso bs=2048" -- cgit v0.12