From: Alan J. Pippin Date: Wed, 10 Feb 2010 05:18:24 +0000 (-0700) Subject: Final updates for new release of the script X-Git-Tag: 2_0 X-Git-Url: http://git.pippins.net/embedvideo/static/%27%20%20%20%20.%20%24GLOBALS%5B%27phpgw%27%5D-%3Elink%28%27inc/jquery/%7Bdelete%7D?a=commitdiff_plain;h=8489a9163544ea5db0448d031ef521bc3ea3c452;p=rip_dvd%2F.git Final updates for new release of the script --- diff --git a/README b/README index 0f2d206..02b8a0f 100644 --- a/README +++ b/README @@ -109,13 +109,13 @@ COMMAND LINE EXAMPLES ---------------------------------------------- Rip a DVD into a compressed AVI file with default xvidvhq profile: -> rip_dvd -d /path/to/dest/dir -b 2000 -x +> rip_dvd -d /path/to/dest/dir -b 2000 -z Rip a DVD into a compressed AVI file with default xvidvhq profile scaling to 320x240 compressed video size: -> rip_dvd -d /path/to/dest/dir -b 2000 -x -a 320:240 +> rip_dvd -d /path/to/dest/dir -b 2000 -z -a 320:240 Rip a DVD into a compressed AVI file with default xvidvhq profile targetting a certain compressed video filesize (in MB): -> rip_dvd -d /path/to/dest/dir -b 2000 -x -s 650 +> rip_dvd -d /path/to/dest/dir -b 2000 -z -s 650 Rip a DVD into a VOB file: > rip_dvd -d /path/to/dest/dir -v @@ -127,18 +127,18 @@ Rip a DVD into a burnable DVD compliant folder (creating VIDEO_TS and AUDIO_TS f > rip_dvd -d /path/to/dest/dir -f Rip a VOB file into a compressed AVI file: -> rip_dvd -d /path/to/dest/dir -b 2000 -x -n /path/to/file.vob +> rip_dvd -d /path/to/dest/dir -b 2000 -z -n /path/to/file.vob Rip a DVD Folder into a compressed AVI file: -> rip_dvd -d /path/to/dest/dir -b 2000 -x -n /path/to/dvd/folder/that/contains/a/VIDEO_TS +> rip_dvd -d /path/to/dest/dir -b 2000 -z -n /path/to/dvd/folder/that/contains/a/VIDEO_TS Rip a DVD into a compressed MP4 file for an ipod: -> rip_dvd -d /path/to/dest/dir -b 2000 -x -p ipod +> rip_dvd -d /path/to/dest/dir -b 2000 -z -p ipod Rip a DVD into a compressed MP4 file for an ipod AND again for a compressed AVI file: > dvdname=`volname /dev/dvd | awk '{ print $1 }'` > rip_dvd -d /path/to/dest/dir -v -> rip_dvd -d /path/to/dest/dir/ipod -b 2000 -x -p ipod -n /path/to/dest/dir/$dvdname.VOB -> rip_dvd -d /path/to/dest/dir/xvid -b 2000 -x -p xvidvhq -n /path/to/dest/dir/$dvdname.VOB +> rip_dvd -d /path/to/dest/dir/ipod -b 2000 -z -p ipod -n /path/to/dest/dir/$dvdname.VOB +> rip_dvd -d /path/to/dest/dir/xvid -b 2000 -z -p xvidvhq -n /path/to/dest/dir/$dvdname.VOB > rm /path/to/dest/dir/$dvdname.VOB diff --git a/rip_dvd b/rip_dvd index aa4b13b..18a1830 100755 --- a/rip_dvd +++ b/rip_dvd @@ -553,6 +553,8 @@ function encode_vob_file_handbrake { handbrake_cli="$handbrake_mp4" final_output_file="$dest/$dvdname.mp4" PASSES="" + audio_2ch=1 + audio_6ch=0 # iphone if [ "$profile" == "iphone" ]; then