From: Alan J. Pippin Date: Fri, 22 May 2009 20:55:30 +0000 (-0600) Subject: Removed quiet option from mencoder encoding command. X-Git-Tag: 1_0~6 X-Git-Url: http://git.pippins.net/embedvideo/.git/%22%22.%24thumbnail.%22/static/git-favicon.png?a=commitdiff_plain;h=c041ccc3808563b9a1d53fcf0edecb19b7dd1aae;p=rip_dvd%2F.git Removed quiet option from mencoder encoding command. I need to see the progress in the /tmp logfile. Progress lines are filtered out before concatenating it to the rip log. --- diff --git a/rip_dvd b/rip_dvd index afa9aa8..c0de21f 100755 --- a/rip_dvd +++ b/rip_dvd @@ -395,7 +395,7 @@ function encode_vob_file { if [ "$profile" == "xvid" ] || [ "$profile" == "xvidhq" ] || [ "$profile" == "xvidvhq" ]; then found_profile=1 final_output_file="$dest/$dvdname.avi" - mencoder_general_opts="-quiet $lang_opts $passlogfile_opt" + mencoder_general_opts="$lang_opts $passlogfile_opt" mencoder_output_opts="-ofps 30000/1001 -ffourcc DIVX" mencoder_video_filter_opts="-vf pullup,softskip,hqdn3d=2:1:2$CROP$SCALE" mencoder_video_encoder_opts="-ovc xvid -xvidencopts $pass_opt" @@ -452,7 +452,7 @@ function encode_vob_file { if [ "$profile" == "mp4" ] || [ "$profile" == "mp4hq" ] || [ "$profile" == "mp4vhq" ]; then found_profile=1 final_output_file="$dest/$dvdname.mp4" - mencoder_general_opts="-quiet $lang_opts $passlogfile_opt" + mencoder_general_opts="$lang_opts $passlogfile_opt" mencoder_output_opts="-ofps 30000/1001 -sws 9 -of lavf -lavfopts format=mp4" mencoder_video_filter_opts="-vf harddup$CROP$SCALE"; mencoder_video_encoder_opts="-ovc x264 -x264encopts $pass_opt" @@ -531,7 +531,7 @@ function encode_vob_file { SCALE=",dsize=320:240:0,scale=-8:-8" fi final_output_file="$dest/$dvdname.mp4" - mencoder_general_opts="-quiet $lang_opts $passlogfile_opt" + mencoder_general_opts="$lang_opts $passlogfile_opt" mencoder_output_opts="-ofps 30000/1001 -sws 9 -of lavf -lavfopts format=mp4" mencoder_video_filter_opts="-vf harddup$CROP$SCALE"; mencoder_video_encoder_opts="-ovc x264 -x264encopts $pass_opt" @@ -592,7 +592,7 @@ function encode_vob_file { fi # Concatenate the encode log to our main log file, greping out unwanted lines - cat $encodelog | grep -v "Pos:" >> "$logfile" + cat $encodelog | grep -v "^Pos:" | grep -v "duplicate" >> "$logfile" done }