AVISYNTH: Access Violation

Hi there :)

I've converted many avi's now with no problem until my latest.
I'm using DVDSVCD (1.2.1 build 2) to encode 'seabiscuit'
23 frames 608x256 xvid.

When playing back the finished video file, it starts off ok then I get the message...
"AVISYNTH caught an access violation at 0x0bcc25e3, attempting to read
from 0x0d8be00"

The avi was originally two, joined together by Nandub and plays perfectly.

Could it be the codec I'm using? Not sure what to try next?

Thanxxx
Emma
 
What version of AVISynth are you running? Also what plugins do you have in the plugin directory?

Might also help if you posted the script.

You ask if it could be the codec, however you haven't specified what build of XviD you have installed.

Also if it was two parts then it probably uses AC3... Is this the case?
 
Version 2.52

AVISYNTH SCRIPT:
LoadPlugin("G:\PROGRA~1\DVD2SVCD\AVISYN~1\Mpeg2dec\MPEG2D~1.DLL")
AVISource("F:\SEABIS~1.AVI",False)
ConvertToYUY2()
BicubicResize(720,368,0.0,0.6)
AddBorders(0,56,0,56)
Import("F:\Seabiscuit_Encode\ResampleAudio.avs")
ResampleAudio(44100)


XVid Mpeg4

AC3 sound.

Not had problems with this setup before, just this particular film
 
Not sure if installing a dev4api build would help that much, seeing as how the encode would be devapi3 if you do want to go that route then I still wouldn't recommend the above build as there have been several changes/bugfixes since its release. If you are incapable or can't be bothered building a CVS checkout, then I could send you my own build.

The false in avisource disables the audio, so I guess it doesn't matter if it is AC3 or not.

Latest version of AVISynth is v2.4 alpha there is also a stable? 2.53 release. Also I would think moving the YUY2 conversion untill after the resize would speed up the encode.

Sorry, no idea about the DVD2SVCD error though.
 
Got there eventually.
Reverted back to Build 2 and updated Avisynth to 2.53.

Building my own CVS Checkout and moving my YUY2 (Huh ? ) is abit beyond me at the moment.....only if i had more time, busy mum and all that! Always willing to try new things tho'

Thanx for your help, much appreciated!

Love
Emma
XXX
 
If you want a newer devapi4 build try: http://celticdruid.no-ip.com/xvid.cvs.2003.12.19.rar

Server could be a little slow if I say have something going on bittorrent.

LoadPlugin("G:\PROGRA~1\DVD2SVCD\AVISYN~1\Mpeg2dec\MPEG2D~1.DLL")
AVISource("F:\SEABIS~1.AVI",False)
ConvertToYUY2()
BicubicResize(720,368,0.0,0.6)
AddBorders(0,56,0,56)
Import("F:\Seabiscuit_Encode\ResampleAudio.avs")
ResampleAudio(44100)

LoadPlugin("G:\PROGRA~1\DVD2SVCD\AVISYN~1\Mpeg2dec\MPEG2D~1.DLL")
AVISource("F:\SEABIS~1.AVI",False)
BicubicResize(720,368,0.0,0.6)
AddBorders(0,56,0,56)
ConvertToYUY2()
Import("F:\Seabiscuit_Encode\ResampleAudio.avs")
ResampleAudio(44100)

See? Moved until after the resize, this means that the resize is done in YV12 which should be faster.

Newer versions of CCE can actually handle YV12 sources, however I think they just do their own YUY2 conversion as it is still faster to let AVISynth convert.
 
Sorry for my late reply.

Thank you for the xvid link...this cured a prob I had with another AVI conversion.

Still not sure tho how to move the 'ConvertToYUY2()' till last ??

XXXXXXX Merry Christmas and a Happy New Year GuysXXXXXX

Love and Kisses
Emma
 
Top