I tried this with the following code:
But stillCode:x264.exe Video.avs --crf 20 --tune film --preset veryslow --output "Encode.mp4
+ Reply to Thread
Results 1 to 12 of 12
-
-
The command looks like it should work. There's probably something in the AVS script causing the problem. Or maybe you have an illegal frame size? Add a PAUSE after the x264 line to keep the window open until you hit ENTER.
<edit>
I just noticed you're missing a close quote on the output filename. But x264 works without that close quote here.
</edit>Last edited by jagabo; 14th Aug 2013 at 10:06.
-
Code:
Import("C:\Program Files (x86)\AviSynth 2.5\plugins\MSUSmartDeblocking.avs") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\deblock.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DCTFilter.dll") LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\mt_masktools-25.dll") LoadPlugin("D:\MeGUI_2153_x86\update_cache\dgavcindex-1.09\DGAVCDecode.dll") video=AVCSource("D:\munich.dga") audio=DirectShowSource("D:\munich PID 17ea 2_0ch 48KHz 448Kbps DELAY 50ms.ac3") audio=Normalize(audio, 0.98) AudioDub(video, audio) MSUSmartDeblocking()
-
one of the problems might be that the avs and x264 are located inside a system folder!
-
They are not. The folder I showed you it's from desktop.
Only x264.exe is stored in system32.
I have Windows 8 x64. Does this have anything to do with the error? -
Probably not, unless you installed 64bi Avisynth instead of 32bit Avisynth. Judging by the paths from post #4 that is not the case, but since you keep multiple x264 binaries in your system, may be you installed multiple Avisynth versions.
Looking at the avisynth script, I suspect that you have MeGui installed.
Can you open you script with MeGui? Also are you aware that x264 is a video encoder and therefore will ignore the audio stream?
Also you do not handle the audio delay anywhere in your script,... (since it's just 50ms, which is a little more than one frame it's probably not really a problem, but I thought I should mention it).
-----
Just out of curiosity: Why are you trying to use a .bat file instead of using a gui? -
okay, since x264 complains about not being able to open the .avs, try using an absolute path to the avs file
Similar Threads
-
Making a bat file for both Avisynth and x264
By Kyousuke in forum Newbie / General discussionsReplies: 7Last Post: 20th Jul 2013, 05:59 -
Bat file not looping?
By sambat in forum ComputerReplies: 5Last Post: 26th Feb 2011, 14:58 -
HD x264 CPU benchmark - compare different CPUs encoding the same file
By graysky in forum ComputerReplies: 108Last Post: 4th Dec 2009, 13:45 -
convert x264 HDxT file to ps3 playable file
By yodaddi in forum Authoring (Blu-ray)Replies: 3Last Post: 25th Mar 2009, 21:02 -
x264 CPU benchmark - Compare different CPUs encoding the same file
By graysky in forum ComputerReplies: 108Last Post: 16th Dec 2008, 01:19