changeset 600:31128a10ee28

use png to save memory.
author Robert McIntyre <rlm@mit.edu>
date Sun, 02 Sep 2012 09:20:09 -0500
parents 4503899241e6
children bc2858781507
files clojure/com/aurellem/run/adv_choreo.clj clojure/com/aurellem/run/basic_choreo.clj clojure/com/aurellem/run/final_cut.clj
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
     1.1 --- a/clojure/com/aurellem/run/adv_choreo.clj	Sun Sep 02 09:18:43 2012 -0500
     1.2 +++ b/clojure/com/aurellem/run/adv_choreo.clj	Sun Sep 02 09:20:09 2012 -0500
     1.3 @@ -388,7 +388,7 @@
     1.4          move-images (file-names (File. rendered-dir "moves"))
     1.5          screenshots (file-names (File. rendered-dir "frames"))
     1.6          targets (map #(.getCanonicalPath
     1.7 -                       (File. final-frames (format "%07d.bmp" %)))
     1.8 +                       (File. final-frames (format "%07d.png" %)))
     1.9                       (range (count screenshots)))]
    1.10      (dorun
    1.11       (map
     2.1 --- a/clojure/com/aurellem/run/basic_choreo.clj	Sun Sep 02 09:18:43 2012 -0500
     2.2 +++ b/clojure/com/aurellem/run/basic_choreo.clj	Sun Sep 02 09:20:09 2012 -0500
     2.3 @@ -107,7 +107,7 @@
     2.4          screenshots (file-names (File. rendered-dir "frames"))
     2.5          ram-maps    (file-names (File. rendered-dir "ram-map"))
     2.6          targets (map #(.getCanonicalPath
     2.7 -                       (File. final-frames (format "%07d.bmp" %)))
     2.8 +                       (File. final-frames (format "%07d.png" %)))
     2.9                       (range (count screenshots)))]
    2.10      (dorun
    2.11       (map
     3.1 --- a/clojure/com/aurellem/run/final_cut.clj	Sun Sep 02 09:18:43 2012 -0500
     3.2 +++ b/clojure/com/aurellem/run/final_cut.clj	Sun Sep 02 09:20:09 2012 -0500
     3.3 @@ -147,7 +147,7 @@
     3.4      (clojure.java.shell/sh
     3.5       "ffmpeg"
     3.6       "-framerate" "60" 
     3.7 -     "-i" (str (.getCanonicalPath final) "/" "%07d.bmp")
     3.8 +     "-i" (str (.getCanonicalPath final) "/" "%07d.png")
     3.9       "-i" (.getCanonicalPath final-audio)
    3.10       "-b:a" "128k"
    3.11       "-b:v" "9000k"