cutAndShrinkVideo as standalone - doesn't really work as sequential cut and shrink

This commit is contained in:
gutmet 2020-11-24 07:46:11 +01:00
parent cc34de45df
commit 218dd8d7b0

View File

@ -5,14 +5,10 @@ if [ "$#" -ne 3 ]; then
exit 1 exit 1
fi fi
cutFile="$(cutVideo "$1" "$2" "$3")" fullpath="$1"
echo "cutFile=$cutFile" source fileextensions
status=$? outfile="$dir/$filename""CutShrunk.mp4"
if [ $status -eq 0 ]; then echo "$outfile"
echo "$(shrinkVideo "$cutFile")"
status=$? ffmpeg -y -ss "$2" -to "$3" -i "$fullpath" -s ega "$outfile"
if [ $status -eq 0 ]; then
rm "$cutFile"
fi
fi