Browse Source

Clean up comments

James Bowman 1 year ago
parent
commit
33f0067f50
1 changed files with 7 additions and 2 deletions
  1. 7 2
      video-convert2

+ 7 - 2
video-convert2

@@ -1,6 +1,8 @@
 # Usage:
-# ./video-convert2 <inputfile>
-# Writes out.avi
+#
+#   ./video-convert2 <inputfile>
+#
+# The converted video is written to "out.avi"
 #
 # Depends on:
 #   sudo apt-get install libjpeg-turbo-progs libav-tools
@@ -9,6 +11,9 @@ set -e
 
 TMP=tmp
 
+mkdir -p $TMP
+rm -rf $TMP/*
+
 tput clear
 
 FPS=`avprobe "$1" 2>&1 | sed -n 's/.* \([0-9.]*\) fps.*/\1/p'`