#!/bin/bash
cutFile="$(cutVideo $1 $2 $3)"
status=$?
if [ $status -eq 0 ]; then
echo "$(shrinkVideo $cutFile)"
rm "$cutFile"
fi