if [ $target_size -ne 0 ]; then
vob_length=`mplayer -identify -v "$vobfile" -endpos 0 2>&1 | grep ID_LENGTH | awk -F '=' '{ print $2 }' | awk -F '.' '{ print $1 }'`
((target_bitrate = (target_size * 1024 * 8) / vob_length ))
if [ $target_size -ne 0 ]; then
vob_length=`mplayer -identify -v "$vobfile" -endpos 0 2>&1 | grep ID_LENGTH | awk -F '=' '{ print $2 }' | awk -F '.' '{ print $1 }'`
((target_bitrate = (target_size * 1024 * 8) / vob_length ))