Archive for May, 2013

x264 rev2334+704 tMod ( What’s wrong with GitHub? )

22nd May 2013, Wednesday 14 comments

Sources on GitHub:
I don’t know why but GitHub seems to be inaccessible for many users. It works for me as long as I sign in my own account, but usually fails when I log out, though the codes indicate server failures. I suggest sign up an account if you don’t have one when you fail to enter the repo, or maybe I need to switch to other git hosts….

Ad: new binary host is


1. Haswell, Haswell, and Haswell.
2. Use liblsmash for mp4 stuffs. As consequences, you need to build liblsmash if you want to compile tMod by yourself. And liblsmash has to be patched in order to fit tMod:

diff --git a/Makefile b/Makefile
index 954a5b3..e6d8a89 100644
--- a/Makefile
+++ b/Makefile
@@ -43,6 +43,7 @@ install: all install-lib
 install-lib: liblsmash.pc lib
 	install -d $(DESTDIR)$(includedir)
 	install -m 644 $(SRCDIR)/lsmash.h $(DESTDIR)$(includedir)
+	install -m 644 $(SRCDIR)/importer.h $(DESTDIR)$(includedir)/lsmash_importer.h
 	install -d $(DESTDIR)$(libdir)/pkgconfig
 	install -m 644 liblsmash.pc $(DESTDIR)$(libdir)/pkgconfig
 ifneq ($(STATICLIB),)
@@ -60,7 +61,7 @@ endif
 #All objects should be deleted regardless of configure when uninstall/clean/distclean.
-	$(RM) $(DESTDIR)$(includedir)/lsmash.h
+	$(RM) $(addprefix $(DESTDIR)$(includedir)/, lsmash.h, lsmash_importer.h)
 	$(RM) $(addprefix $(DESTDIR)$(libdir)/, liblsmash.a liblsmash.dll.a liblsmash.dylib pkgconfig/liblsmash.pc)
 	$(RM) $(addprefix $(DESTDIR)$(bindir)/, $(TOOLS_ALL) $(TOOLS_ALL:%=%.exe) liblsmash.dll cyglsmash.dll)
Categories: encode, x264, x264-bin