123456789101112131415161718192021222324252627 |
- #!/bin/bash
- n=$1
- ### mencoder dvd://1 -dvd-device /dev/sr0 -alang English -oac mp3lame -lameopts abr:br=128 -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:vqmin=2:vbitrate=2035 -vf pp=de,crop=0:0:0:0,scale=480:-2 -o "/home/mark-arch/Videos/sg1_v3.avi"
- ## mencoder dvd://$count -dvd-device /dev/sr0 -nosub -noautosub -alang English -oac mp3lame -lameopts abr:br=128 -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:vqmin=2:vbitrate=2035 -vf pp=de,crop=0:0:0:0,scale=480:-2 -o ${"`pwd`/$series"_D"$disknum"E"$track".avi"}
- echo "How many tracks to rip?"
- read track
- echo "track = #$track"
- echo "What Series is this?"
- read series
- echo "Series: $series"
- echo "Which disc # is this?"
- read disknum
- echo "This is disk #$disknum"
- count=0
- for i in $(seq 1 $track)
- do
- count=$((count + 1))
- echo "count is $count"
- echo "Output file is: `pwd`"/"$series"_D"$disknum"E"$count.avi"
- mencoder dvd://$count -dvd-device /dev/sr0 -nosub -noautosub -alang English -oac mp3lame -lameopts abr:br=128 -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:vqmin=2:vbitrate=2035 -vf pp=de,crop=0:0:0:0,scale=480:-2 -o `pwd`"/"$series"_D"$disknum"E"$count.avi
- done
|