PDA

View Full Version : CCE Crash after editing Avisynth


pepsimaxx
2nd March 2003, 16:38
I'm trying to convert an movie to a SVCD with permanent subtitles. The source file is in PAL with 25fps and a size of 640x360.

In the frameserver tab I've marked "Edit as part of video encoding" and the script looks like this:

LoadPlugin("D:\Software\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
LoadPlugin("D:\Software\PROGRA~1\DVD2SVCD\AVISYN~1.DLL")
AVISource("H:\CONSPI~1.AVI",False)
ConvertToYUY2()
AvisynthSubtitler("D:\Movies\","permsubs.txt")
ResampleAudio(44100)

If I add the following lines after "ConvertToYUY2()" CCE crashes immediately.

SimpleResize(480,444)
AddBorders(0,66,0,66)

If I only add the following line after "ConvertToYUY2()" CCE does not crash.

AddBorders(0,66,0,66)

However then the SVCD is not in the correct format and only the first line of the subtitles is show because they are placed to low on the screen.

What should I put in the Avisynth script (in respect to the resizing function) in order to aviod CCE to crash?

My system:
AMD 1.4Ghz/266Mhz FSB
Asus A7V8X
512MB DDR-Ram (2x256MB modules)
Windows XP Pro (DK Edition)
60GB Maxtor, 7200RPM
60GB IBM, 7200RPM

Thx.

markrb
2nd March 2003, 17:05
Why are you editing to add Simpleresize when all you have to do is select it on the frameserver tab dropdown?

With simpleresize you need to load a plug-in as well and I do believe you do it before the converttoyuy2.

Mark

pepsimaxx
2nd March 2003, 18:54
I didn't know that.....but even though I used the dropdown menu CCE crashes. My Avisynth looks like this now:

LoadPlugin("D:\Software\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
LoadPlugin("D:\Software\PROGRA~1\DVD2SVCD\AVISYN~1.DLL")
AVISource("H:\CONSPI~1.AVI",False)
ConvertToYUY2()
SimpleResize(480,576)
LoadPlugin("D:\Software\Programmer\DVD2SVCD\SimpleResize\SimpleResize.dll")
AvisynthSubtitler("D:\Movies\","permsubs.txt")
ResampleAudio(44100)

Should I move the LoadPlugin up so it comes before "AVISource"?. Could that be the problem?

markrb
2nd March 2003, 19:29
That plug-in line should come before the plug-in that is called.
It's like putting the cart before the horse.

It shouldn't be there. Did you happen to edit any of the ini files or the avs file? I have never seen that happen before.

Put the loadplugin line third.

Mark