This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FFMPEG '-i', file, '-c:v', 'libopenjpeg', "jpeg2000\\" + name + ".jp2"\ | |
Convert image to jpeg2000 | |
ffmpeg -i in.png -c:v libopenjpeg out.jp2 | |
Hex Edit out.jp2 | |
ffmpeg -i in.jp2 -c:v png out.png | |
General Edit | |
ffmpeg -i input.avi -c:v mpeg2video -g 999 -q:v 1 output.avi | |
*edit in avidemux/whatever* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns metaballs | |
(:import | |
[javax.swing JFrame] | |
[java.awt Canvas Graphics Color] | |
java.awt.image.BufferStrategy)) | |
(set! *warn-on-reflection* true) | |
(def ^:const SIZE 250) | |
(defn direction [p v] |