Log in

View Full Version : Strange Avisynth error - help appreciated


Omron
16th February 2002, 10:25
Hello,

while trying to convert a still image (240x240 .BMP) as part of the
DVD2SVCD process using Avisynth, I always get an Avisynth access violation error. Instead of the still image (which shall be used as a title screen on the disc), the above error message is displayed. The rest of the encoded movie is just perfect.
I was able to track down the problem to a (bad!?) Avisynth script, which was automatically created by the DVD2SVCD package.
Here's the Avisynth script:
-----------------------------------------------
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~2.DLL")
Blackness(2)
AssumeFPS(25)
ConvertToYUY2
BicubicResize(480,576)
AvisynthBMP_Loader("H:\","TitlePicture.bmp")
BicubicResize(480,576)
AddBorders(80,0,80,0)
BicubicResize(480,576)
ResampleAudio(44100)
-----------------------------------------------
Running this script in CCE 2.5 results in the encoding of the above error message as the title screen.
Having removed lines from this script one by one (and executing the script of course), I think I was able to locate the error in line 6:

AvisynthBMP_Loader("H:\","TitlePicture.bmp")

Somehow loading the image (this way) causes Avisynth to produce the access violation.

At this point, I am running out of clues, so any help correcting the error is greatly appreciated.

Thanks in advance.

Regards.

Omron

gerti67
16th February 2002, 13:07
Hi Omron,

do you get an access violation with the default title bitmap of dvd2svcd? - If not then perhaps the color depth of yours is different and causes this error. So make sure to have a BMP with 24BPP color depth as the default pictures also have this color depth. - Just a guess.

Greetings,
gerti67

Omron
16th February 2002, 15:32
Hi Gerti67,

well, as a matter of fact I was using DVD2SVCD's default title picture. However the error occurs with ALL pictures that I use.

Any ideas ?

Regards.

Omron