View Full Version : Having trouble with a script
DVDragon
14th October 2002, 04:50
I have an m2v file that is full screen, I want to make it 4:3 with borders so this is what i've got for my script.
MPEGSource("C:\HALLOWEEN5\halloween5.m2v",-2)
BilinearResize(720,480,640,360)
AddBorders(0,60,0,60)
ResampleAudio(44100)
When i open it up in VirtualDub all i get is a black screen with these words: Avisynth: Caught an access violation at 0x011c445f, attempting to write to 0x02959000.
I'm not really sure what i'm doing wrong or what to do, i've tried searching the forums but couldn't find anything.
lat3ralis
14th October 2002, 06:35
I'm no avs expert, but i have a feeling that the problem might be to do with audio in Nic's MPEGDecoder. Try your script without resampling the audio. If that doesn't work, try your script with MPEG2DEC and see if that works.
lat3ralis
-h
14th October 2002, 06:48
BilinearResize() only needs a destination width/height, so change it to:
BilinearResize(640,360)
-h
DVDragon
14th October 2002, 06:57
I tried it with just the destination width/height but i always get an error on that line of the script when i do. I might just have to try the other decoder.
lat3ralis
14th October 2002, 08:45
You could try a different resize filter. If you've got avi synth 2.06, why don't you try the Lanczos resize instead ...
LanczosResize(640,360)
lat3ralis
DVDragon
14th October 2002, 18:49
I got it to work but i had to change to MPEG2DEC.dll. Just had too many problems with MPEGDecoder.dll. Can't figure out why it wouldn't work but oh well. What are the benefits/downfalls of using LancosResize?
wing1
17th October 2002, 03:45
try using MpegSource("<drive>:\path\file.m2v") alone without the option. The options -x, "raw" always caused either blank/green screen or exception errors for me.
DVDragon
17th October 2002, 04:40
when i tried it without the -2 it would show up as no frame or time length in CCE. It's no biggie i've been using MPEG2DEC.dll with no problems.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.