Log in

View Full Version : X264 Cannot Find AviSynth


asafb
29th April 2010, 19:58
Hello, i'm getting these errror messages:

avs [error]: failed to load avisynth
x264 [error]: could not open input file `Test.avs'

Also, is there a way to force an Iframe just like you do in Compressor by using markers?

I want to import the 264 file into Scenarist BD and i want frame-accurate chapter points,
Thanks,
Asaf

asafb
29th April 2010, 19:58
Also, what else is required to be installed for X264 to work besides avisynth?

b66pak
29th April 2010, 20:04
Also, what else is required to be installed for X264 to work besides avisynth?

depends on the content of the "test.avs"...

post it!
_

asafb
29th April 2010, 20:06
QTSource("test.mov") #Loads the quicktimefile

poisondeathray
29th April 2010, 20:14
Also, is there a way to force an Iframe just like you do in Compressor by using markers?

I want to import the 264 file into Scenarist BD and i want frame-accurate chapter points,


Use a qpfile , see the longhelp for more info

Try
QTInput("test.mov")

or

FFMpegSource2("test.mov")

Do you have the qtsource.dll plugin and quicktime installed?

What happens when you open the .avs in vdub or MPC ?

Dark Shikari
29th April 2010, 20:19
Let me guess, you're using 64-bit x264 with 32-bit Avisynth?

smok3
29th April 2010, 20:27
or maybe newer versions of x264 are trying to find the avisynth dll's at specific locations on the system (irc)?

kemuri-_9
29th April 2010, 21:51
Hello, i'm getting these errror messages:

avs [error]: failed to load avisynth

the error occurs when x264 can not load/find avisynth.dll
please check that avisynth.dll can be found and it is the same architecture as x264 (x86 to x86/x86_64 to x86_64)

or maybe newer versions of x264 are trying to find the avisynth dll's at specific locations on the system (irc)?

no, it does not specify a path with LoadLibrary() so it follows the rules mandated by Dynamic-Link Library Search Order (http://msdn.microsoft.com/en-us/library/ms682586%28v=VS.85%29.aspx)

asafb
29th April 2010, 22:42
hello, i installed x264 64-bit and avisynth 32-bit... i can't find the dll anywhere.... is there adownload link for avisynth 64-bit? anybody?
thanks :)

Audionut
29th April 2010, 22:51
You need to improve your search skills.

http://forum.doom9.org/showthread.php?t=152800

asafb
30th April 2010, 02:20
Thanks all for your replies. After doing the necessary steps to get avisynth to work, now, I'm getting a new error:

avs [error]: Script error: there is no function named "QTInput"
x264 [error]: could not open input file 'test.avs'

I'm using a ProRes 422 HQ Quicktime file as my source file. But QTInput is a valid function; is there a plug-in i need to download or something?

Let me know all,

Thank you,

Asaf

poisondeathray
30th April 2010, 02:31
you need qtsource.dll in the avisynth plugins directory

you also need the windows prores decoder installed, along with quicktime

asafb
30th April 2010, 02:48
i did that -- copied the qtsource.dll to the plugins folder and it still says "no function named qtinput""

very frustrating :(

poisondeathray
30th April 2010, 03:03
it's 32-bit only . Is everything installed 32-bit ?

asafb
30th April 2010, 03:19
yes that fixed it. now can you explain to me what does --preset veryslow mean? Is there a faster preset --- encoding is quite slow --- if i change it to slow will it mean not as good quality? any place where i can see the differences?
best,
asaf.

Dark Shikari
30th April 2010, 03:48
yes that fixed it. now can you explain to me what does --preset veryslow mean? Is there a faster preset --- encoding is quite slow --- if i change it to slow will it mean not as good quality? any place where i can see the differences?
best,
asaf.Faster presets mean worse compression. At the same CRF, you'll get a bit worse filesize. At the same bitrate, you'll get worse quality.

Not by much though--down to "slow" and "medium" you only lose 5-10% compression at most. The real cost comes when you start going faster than "fast".

"Medium" is the default for a reason: it's a good starting point.

See x264 --help for the list of presets.

poisondeathray
30th April 2010, 04:15
--- encoding is quite slow ---

what are your computer specs?

you might have other bottlenecks - e.g. the windows prores decoder is VERY slow and not very well multithreaded

asafb
30th April 2010, 04:27
thanks dark... now new question... i have now DVCPRO HD files that are 1280x1080 at rectangular pixels... need to use avisynth to resize to 1920x1080 at SQUARE pixels... (which is what compressor does on the fly to create blu-ray 264 files) --- any way to do this in avisynth?
thanks :)

poisondeathray
30th April 2010, 05:22
you can specify a resize in the script after the source filter

e.g.
LanczosResize(1920,1080)

If you are encoding to h.264, colorspace needs to be converted to YV12, since DVCProHD is 4:2:2 YUY2

ConvertToYV12()

asafb
30th April 2010, 05:30
but it said "cant read test.avs" file ---- is this a plug-in i need to install.. the lancosresize?

thanks,
asaf

asafb
30th April 2010, 05:31
oh one more thing. for some reason all my 1080i quicktime files get reported as 1080p in x264:

avs [info]: 1920x1080p 1:1 (which is wrong) should say 1920x1080i .. how do i fxi this bug?

thanks,
asaf

poisondeathray
30th April 2010, 05:33
nope. nothing to install. there are several resizers that are built in the standard avisynth install, lanczos, bilinear, bicubic, to name a few

The problem is likely your source filter. What container is the DVCProHD in? .mov wrapped or .mxf wrapped?

I don't think QTInput() will open mov wrapped DVCProHD , unless you have a decoder for it in quicktime - and that isn't very common. You might need raylight or some other decoder for it

FFMpegSource2() might be able to open it


avs [info]: 1920x1080p 1:1 (which is wrong) should say 1920x1080i .. how do i fxi this bug?



I answered that in your other thread. You should avoid crossposting or will get warned/banned very shortly... You also posted in avisynth section...

http://forum.doom9.org/showthread.php?t=154295

asafb
30th April 2010, 06:27
thanks! sorry for the cross-posting.
asaf

Audionut
30th April 2010, 06:28
Your QTinput plugin is 32bit and I''m guessing you went ahead and installed avisynth 64bit.

You can't mix 32 and 64bit stuff.

I'd try what poison said above first, and see if FFMpegSource2 will open it.
Here is the 64bit plugin for avisynth. http://kemuri9.net/dev/avs/ffms2/x64/ffms2.dll

And here is the help file for that plugin.
http://ffmpegsource.googlecode.com/svn/trunk/doc/ffms2-avisynth.html

kemuri-_9
30th April 2010, 13:10
If we're pulling out my ffms2 x64 avs plugin, you'll need to be informed that it is loaded using LoadCPlugin instead of the usual LoadPlugin.