summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-02-22 21:30:33 -0500
committerAlex Xu <alex_y_xu@yahoo.ca>2014-02-23 14:00:25 -0500
commit45e0e324d33188202edf40ad5c80363e9e37d25d (patch)
tree8b7148004c39aef069b80bb39240cd84dc5221ab /Makefile
parent2cb8dc44ee164a3e973b63c1b6307db2b067ac26 (diff)
downloadhtml5ks-45e0e324d33188202edf40ad5c80363e9e37d25d.tar.xz
html5ks-45e0e324d33188202edf40ad5c80363e9e37d25d.zip
meh
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 32a59a8..d8a2e39 100644
--- a/Makefile
+++ b/Makefile
@@ -39,16 +39,32 @@ video: $(CVIDEO)
%.y4m: %.mkv
$(FFMPEG) -i "$<" -c:a copy "$@"
+ifdef NOTEMP
+%.mp4: %.mkv
+else
%.mp4: %.y4m
+endif
$(FFMPEG) -i "$<" -c:v libx264 -preset slower -tune animation -movflags empty_moov -profile:v baseline -c:a libfdk_aac -vbr 1 "$@"
+ifdef NOTEMP
+%.webm: %.mkv
+else
%.webm: %.y4m
+endif
$(FFMPEG) -i "$<" -crf 10 -b:v 1M -c:a copy "$@"
+ifdef NOTEMP
+%.vp9.webm: %.mkv
+else
%.vp9.webm: %.y4m
+endif
$(FFMPEG) -i "$<" -strict -2 -c:v libvpx-vp9 -crf 8 -b:v 1M -c:a libopus -vbr 1 -b:a 64k "$@"
+ifdef NOTEMP
+%.ogv: %.mkv
+else
%.ogv: %.y4m
+endif
$(FFMPEG) -i "$<" -c:v libtheora -qscale:v 10 -c:a copy "$@"
# === AUDIO ===