diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2014-02-22 21:30:33 -0500 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2014-02-23 14:00:25 -0500 |
commit | 45e0e324d33188202edf40ad5c80363e9e37d25d (patch) | |
tree | 8b7148004c39aef069b80bb39240cd84dc5221ab /Makefile | |
parent | 2cb8dc44ee164a3e973b63c1b6307db2b067ac26 (diff) | |
download | html5ks-45e0e324d33188202edf40ad5c80363e9e37d25d.tar.xz html5ks-45e0e324d33188202edf40ad5c80363e9e37d25d.zip |
meh
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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 === |