summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9d9ac11..3c8c77c 100644
--- a/Makefile
+++ b/Makefile
@@ -29,10 +29,16 @@ CVIDEO := $(MP4) $(WEBM) $(OGV)
video: $(CVIDEO)
+%.y4m: %.mkv
+ $(FFMPEG) -i $< -c:a copy $@
+
%.mp4: %.mkv
$(FFMPEG) -i $< -c:v libx264 -preset slower -tune animation -c:a libfdk_aac $@
%.webm: %.mkv
+ $(FFMPEG) -i $< -strict -2 -c:v libvpx -crf 10 -b:v 1M -c:a copy $@
+
+%.vp9.webm: %.mkv
$(FFMPEG) -i $< -strict -2 -c:v libvpx-vp9 -crf 8 -b:v 1M -c:a copy $@
%.ogv: %.mkv