summaryrefslogtreecommitdiffstats
path: root/abs/core/linhes-scripts
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2012-07-31 04:38:42 (GMT)
committerCecil <knoppmyth@gmail.com>2012-07-31 04:38:42 (GMT)
commit507895c8452fe0a3a0f4f4be7fe9c85a64c10185 (patch)
tree3b6657077e49fbee8af9f13423cbf2b2329cdf39 /abs/core/linhes-scripts
parentd5c50a9533df2fc6a88d9d423bbeb8aeab9bba47 (diff)
downloadlinhes_pkgbuild-507895c8452fe0a3a0f4f4be7fe9c85a64c10185.zip
linhes_pkgbuild-507895c8452fe0a3a0f4f4be7fe9c85a64c10185.tar.gz
linhes_pkgbuild-507895c8452fe0a3a0f4f4be7fe9c85a64c10185.tar.bz2
linhes-scripts:Modifed ripD_eject.sh to use HandBrakeCLI.
Diffstat (limited to 'abs/core/linhes-scripts')
-rw-r--r--abs/core/linhes-scripts/PKGBUILD4
-rwxr-xr-xabs/core/linhes-scripts/ripD_eject.sh15
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"