diff --git a/seq2mp4 b/seq2mp4 index e45040d..2ad6ff8 100755 --- a/seq2mp4 +++ b/seq2mp4 @@ -1,6 +1,4 @@ #!/bin/bash -DIRPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" - -java -jar "$DIRPATH"/seq2anim.jar "$1" "$2"".anim" +java -jar /opt/seq2mp4/seq2anim.jar "$1" "$2"".anim" ffmpeg -f iff -i "$2"".anim" -c:v libx264 -crf 1 -preset slow "$2" rm -f "$2"".anim"