Hi guys,
This problem has driven me nuts for the past few days! I have googled and searched everywhere but just found similar queries but no solutions. I generated an Avisynth script using FitCD on my laptop. When i open the script in HCEnc i get this error: error loading Avisynth script,Evaluate:System Exception-Access Violation(C:\Movies\1.avi.avs, line 3)
I have Avisynth 2.5.7 installed. I can convert other movies without this problem. Here is the AVisynth script:
# -= AviSynth v2.5.7.0 script by FitCD v1.2.8 =-
AVISource("C:\Movies\1.avi")
LanczosResize(704,320,0,0,588,244)
AddBorders(8,128,8,128)
#Trim(0,216807).FadeOut(150)
ConvertToYV12() # For VirtualDub or CCE
Also...i have AVisynth 2.5.6 installed in my other computer. I created a script from FitCD for the same file and this script works fine on that pc. I tried changing the script on my Laptop to look exactly like the working one but still it doesnt work.
+ Reply to Thread
Results 1 to 30 of 30
-
-
Hi-
What happens when you open this in HCEnc:
AVISource("C:\Movies\1.avi",False)
LanczosResize(704,320)
AddBorders(8,128,8,128)
ConvertToYV12()
And if that doesn't work, what happens when you open that same script in VDub(Mod)? Does it give you a more informative error message, or the exact same one? -
I get the same message as before but instead of line 3 at the end i get line 2 when i use your script.
When i open it in VDubMod (Both yours and mine) i get this- An out of bounds memory access(access violation) occurred in module 'VirtualDubMod"
I think somethings wrong with the LanczosResize line. -
Strange. I haven't ever seen error messages quite like that for a simple LanczosResize. About all I can suggest is to uninstall and then reinstall AviSynth. You can uninstall in Add/Remove Programs. Make sure your AviSynth comes from here:
http://sourceforge.net/project/showfiles.php?group_id=57023
Then open the script in VDubMod one line at a time, like so:
AVISource("C:\Movies\1.avi",False)
#LanczosResize(704,320)
#AddBorders(8,128,8,128)
#ConvertToYV12()
First this, scroll around to make sure the AVI is OK. Then remove the "#" from the 2nd line and open it and scroll around, and so on. Maybe at some point, if it doesn't work, you'll get a more helpful error message. -
Nope not working. The exact above script works but if i remove any one '#' the error returns. I tried installing and reinstalling Avisynth. Other videos work. I think the problem lies with the file. But the peculiar part is that this file gets converted to VCD using TMPGEnc without any problems.
I will try degrading the Avisynth to 2.5.6. Till then pls comment. -
No, its a specific avi file that gives this problem.Other avi files are encoded successfully. I have changed nothing on my laptop. No updates, nothing.
-
Only this one doesn't work, eh? And it chokes on the resize, eh? How about this? Change the resizer:
AVISource("C:\Movies\1.avi",False)
BicubicRezise(704,320,0,0.6)
AddBorders(8,128,8,128)
ConvertToYV12()
Any change? I'm sorry, but I admit to being stumped. -
Yes only a particular file doesnt work. It chokes on the resizer, but if i put '#' in front of the resizer then it chokes on AddBorders and if i put '#' in front of AddBorders then it chokes on ConvertToYV12!!
Have to try Bicubic though. Will reply shortly.
@Abond: I have already converted the same file on a friends pc who has CCE. This problem occurs only on my laptop with only one file and only when Avisynth is used! Its weird! -
This can point to a codec problem. Then it is better to look at it in gspot.
Can you open the avi (NOT the avs) in virtualdub? -
at the risk of some flame, i'm going to suggest an avisynth bug
have you tried doing the full conversion on 'that' other PC or perhaps uninstalling ver 2.5.7 and installing ver 2.5.6 on the laptop
I have similar problem with a file that was label avi but is really mkv I solved my problem by using super as the first step and converting to mpeg2 ,
but I'm going to check which ver of avisynth I'm using and IF its 2.5.7 I'm going to try 2.5.6 -
@theewizard: Yes I have the source avi on both computers. That is but obvious.
@Pinstripes23: It does not work. I get a different error this time. Something like Invalid Argument. -
@Abond: I would do that long ago but that pc doesnt have a DVD Burner.
ALso i forgot to mention i had installed K-Lite Mega Codec Pack to play AVIs long before. Could it cause the problem? -
Definitely YES. As I said looks like a codec problem.
BTW did you install it also on the other computer? -
No. I dont have it installed in my other pc. Ok i will remove it now. So what to use for DivX and Xvid files?
@guns1nger: Your script gives an unexpected character error. -
XviD should be enough. Once you install it set the decoder to decode also DivX. But you can have both installed - no problem.
-
@guns1nger: Your script gives an unexpected character error.
Oh, so maybe Pinstripes23 and guns1inger are onto something. The unexpected character is the ' on both sides of the "False". Try this:
DirectShowSource("C:\Movies\1.avi",Audio=False)
LanczosResize(704,320)
AddBorders(8,128,8,128)
ConvertToYV12() -
Oh my God it worked finally!!!
@manono: Your script worked!
by just eliminating the " ' " from the word 'false' from gun1inger's script.
I dont believe the solution was that simple!
Thanks to all you guys for helping. -
But why is it that AVISource works on one computer and not on other computer? What IS AVISource and DirectShowSource by the way? I have no idea!
-
But why is it that AVISource works on one computer and not on other computer?
I have no idea. As I said earlier, I was stumped. Perhaps that AVI isn't an AVI, but something else renamed as an AVI.
You can read about AVISource, DirectShowSource, and ImageSource here:
http://avisynth.org/AviSource
http://avisynth.org/DirectShowSource
http://avisynth.org/ImageSource
There's also an MPEG2Source when the source is an MPEG, a D2V project file has been created using DGIndex, and the DGDecode.dll has been loaded. Ordinarily, when the source is an AVI, you use AviSource. If it's an MPEG of one sort or another, you use MPEG2Source, and if a picture of any one of several types, you use ImageSource. You can also import scripts using the Import command. For me anyway, DirectShowSource is used for any leftover kinds of video not covered by the others, and is used as a last resort when nothing else works. In fact, I've never had to use it.
Although I should have thought of it, Pinstripes23 gets the credit here. Good going.
Similar Threads
-
Sudden RipBot error (avisynth error)
By Charles314 in forum DVD RippingReplies: 5Last Post: 24th Oct 2010, 01:44 -
meGUI - AVISynth Error!
By th3obr0 in forum Video ConversionReplies: 2Last Post: 27th Jan 2009, 21:20 -
Error using Avisynth to HCgui
By rcwalters in forum Authoring (DVD)Replies: 6Last Post: 1st Nov 2007, 00:10 -
Get many error messages, AviSynth error message and meGUI error
By MKVcrazy in forum Video ConversionReplies: 0Last Post: 25th Aug 2007, 16:41 -
AviSynth Error
By koberulz in forum Newbie / General discussionsReplies: 17Last Post: 21st Jun 2007, 19:42