View Full Version : Access violation ... weird problem


mgt
23rd July 2005, 22:10
I have a problem with my AviSynth script which displays "caught access violation at ... reading from ...." I guess you know what I mean. This isn't my first avisynth script at all and I never had such a problem. This is what I'm using:v1 = MPEGSource("myvideo1")
v2 = MPEGSource("myvideo2")
a1 = DirectShowSource("myvideo1", video=false)
a2 = DirectShowSource("myvideo2", video=false)
vid = AudioDub(v1,a1) ++ AudioDub(v2,a2)
ret = vid.LanczosResize(720,458,0,108,478,268).AddBorders(0,60,0,58).ChangeFPS(25)
return retThe source is a .mpg ntsc video. Instead of using DirectShowSource for audio, I also tried MPASource which results in the same error.
Weird is that this error only appears in the encoded material (I'm passing this script to CCE), NOT when just playing the .avs file!
The target format should be PAL 16:9. Anyone got an idea why I get that error?

IanB
26th July 2005, 14:26
Try the latest 2.5.6 replacement avisynth.dll. In a few days I will have a new DirectShowSource.dll minus a load of bugs (plus some new ones, I'm sure). Watch the Developer Forum for news.

IanB

mgt
26th July 2005, 18:56
Thank you for your answer, but I guess the actual problem is the MPEGSource which seems to have some problems with ntsc mpgs. Now I used DVD2AVI and MPEG2Source as a workaround, which worked well.