Log in

View Full Version : x264 encode without avisynth installed or portable


kuruvi
4th April 2013, 14:25
I do cmd line x264 encode with avs script.

x264.exe --pass 1 --stats video.stats --output NUL demux.avs --threads 6 --ref 5 --deblock -3:-3 ......

As I haven't installed (I can't) avisynth, the above ends on error:scared:.

As I don't have admin privilege to install to avisynth, I looked for a portable one and found a outdated thread here (http://forum.doom9.org/showthread.php?t=121588). I can't really get this working as I'm not an expert.

Can you guys suggest me a way that I can do cmd line encode with avs script?? thanks :D

Selur
4th April 2013, 14:38
you don't need admin rights to use avisynth, you can simply copy the avisynth.dll and the devil.dll next to x264.
(in your avisynth script you have to make sure to load everything explicitly since you won't have any autoloading support)

Groucho2004
4th April 2013, 14:49
Copy avisynth.dll and devil.dll into the same directory as x264.exe.

Get avisynth.dll here (http://forum.doom9.org/showthread.php?p=1618864#post1618864) and devil.dll here (http://sourceforge.net/projects/openil/files/DevIL%20Win32/1.7.8/DevIL-EndUser-x86-1.7.8.zip/download).

Edit: Selur beat me to it.

kuruvi
4th April 2013, 15:52
Awesome!, it worked beautifully. thanks :o