+width=$(echo $geom |cut -dx -f1)
+height=$(echo $geom |cut -dx -f2)
+
+if [ "$vert" -gt 0 ]; then
+ height=$(($height - $vert / 2))
+ lvoff=$(($vert / 3))
+elif [ "$vert" -lt 0 ]; then
+ height=$(($height - $vert / -2))
+ rvoff=$(($vert / -2))
+fi
+if [ "$hor" -gt 0 ]; then
+ width=$(($width - $hor / 2))
+ lhoff=$(($hor / 2))
+elif [ "$hor" -lt 0 ]; then
+ width=$(($width - $hor / -2))
+ rhoff=$(($hor / -2))
+fi
+geom="${width}x${height}"
+lcrop="${geom}+${lhoff}+${lvoff}"
+rcrop="${geom}+${rhoff}+${rvoff}"
+
+echo -n setup streaming...