PDA

View Full Version : CCE fail after editing resize in avisynch


ipf123
7th July 2002, 11:21
I have read Gerti67's instructions re editing avisynch script to obtain the correct aspect ratio when converting AVI to SVCD. My experience is that it does not always work ie CCE would fail sometimes. CCE would either fail to continue (stop after the input window is closed) or it would close immediately without doing any encoding.

For example, I got this Divx, 576 x 324 23.976 fps I was trying to convert to SVCD. So using Gerti67's formaula, the calculated height would be 368. I then used SimpleResize(480,360) and AddBorder(0,60,0,60) in the Avisynch script. CCE just didn't like it and stopped after the first file input window. I then tried without editing the avisynch script and CCE would start encoding but I ended up with a mpg file with wrong aspect ratio. I have come across similar problems in the past. Like I said before, CCE would sometimes work, but sometimes it would fail.

Am I missing something here?

UltimateDBZ
7th July 2002, 17:51
Could you post a log of such a conversion that would fail? Also, please post the unedited and edited contents of your avisynth file. Lastly, what version of avisynth are you using? If you are using anything before 1.07e, that could be your problem.

ipf123
8th July 2002, 14:20
Here it is: both un-edited and edited versions.

Un-edited avisyncg script:
LoadPlugin("D:\DVD2SVCD109\SimpleResize\SimpleResize.dll")
LoadPlugin("D:\DVD2SVCD109\MPEG2Dec\mpeg2dec.dll")
AVISource("E:\SVCD\jan dara.avi")
ConvertToYUY2()
SimpleResize(480,480)

Edited avisynch script:
LoadPlugin("D:\DVD2SVCD109\SimpleResize\SimpleResize.dll")
LoadPlugin("D:\DVD2SVCD109\MPEG2Dec\mpeg2dec.dll")
AVISource("E:\SVCD\jan dara.avi")
ConvertToYUY2()
SimpleResize(480,360)
AddBorder(0,60,0,60)

I am already using the latest avisynch version 1.0 beta 6

UltimateDBZ
8th July 2002, 15:13
Avisynth 1.0 beta 6 is not the latest version, 1.0 beta 7e is. I had trouble before I upped to the latest version, maybe it is your trouble as well. Also, you should try using MPEG2DEC2.dll instead of MPEG2DEC.dll (notice the second 2), set it in your frameserver tab. This new version fixes alot of bugs and doubles the buffers.

After upping to both of these, I haven't had an avisynth problem yet :)

Fizban99
13th July 2002, 09:39
do you have a link for the avisynth 1.0 beta 7e download? I can't find it anywhere for the life of me..search pretty well through the whole forum.

UltimateDBZ
13th July 2002, 15:24
It would appear that v2 has been released now as well, download it here: http://sourceforge.net/projects/avisynth2/

BTW - This link is in the Q&A of AviSynth forum, not DVD2SVCD forum ;)