X-Git-Url: http://git.pippins.net/embedvideo/.git/static/git-logo.png?a=blobdiff_plain;f=rip_dvd;h=afa9aa853f90e2544151c14a9436477c3ef180c0;hb=a3b48d5a629b43baf5a894edbddbcd102c7d077b;hp=da6b81fa98649b0004eb8125298bab6d3ffb6b45;hpb=97c8da07a0c1ddacb72a6f8383916d428350709c;p=rip_dvd%2F.git diff --git a/rip_dvd b/rip_dvd index da6b81f..afa9aa8 100755 --- a/rip_dvd +++ b/rip_dvd @@ -40,6 +40,7 @@ config="${0%/*}/rip_dvd.conf" ############################################################################################## # Command line processing ############################################################################################## +typeset cmd="$0 $*" typeset dvdname="" typeset debug="" typeset dest="" @@ -115,9 +116,9 @@ function usage() { echo >&2 " - xvidvhq = AVI, very high quality encoding, Xvid codec, 2 pass encoding (default)" echo >&2 " - xvidhq = AVI, high quality encoding, Xvid codec, 2 pass encoding" echo >&2 " - xvid = AVI, fast encoding, Xvid codec, 2 pass encoding" - echo >&2 " - mp4vhq = MP4, very high quality encoding, x264 codec, 2 pass encoding" - echo >&2 " - mp4hq = MP4, high quality encoding, x264 codec, 2 pass encoding" - echo >&2 " - mp4 = MP4, fast encoding, x264 codec, 2 pass encoding" + #echo >&2 " - mp4vhq = MP4, very high quality encoding, x264 codec, 2 pass encoding" + #echo >&2 " - mp4hq = MP4, high quality encoding, x264 codec, 2 pass encoding" + #echo >&2 " - mp4 = MP4, fast encoding, x264 codec, 2 pass encoding" echo >&2 " - iphone = MP4, x264 codec, 2 pass encoding, forced 480:320 scaling" echo >&2 " - ipod = MP4, x264 codec, 2 pass encoding, forced 320:240 scaling" echo >&2 " -e Specify a suffix extension to apply to the end of the final image filename (like .xvid, .ipod, etc)" @@ -382,7 +383,7 @@ function encode_vob_file { passlogfile_opt="-passlogfile $passlogfile" pass_opt="pass=%PASS" - # Check the force_onepass_mode. If it is set, change our variables appropriately + # Check the global force_onepass_mode. If it is set, change our variables appropriately # to force 1-pass encoding across all profiles. if [ $force_onepass_mode -eq 1 ]; then PASSES="2" @@ -1114,6 +1115,7 @@ function remove_intermediate_dvdbackup_folder { # Make a note of when this DVD rip started date=`date` echo -e "\n$date DVD rip started" >> "$logfile" +echo "$cmd" >> "$logfile" # Rip the DVD - Mirror Mode if [ $mirror_mode -eq 1 ]; then