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"
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"
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"
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
}