PDA

View Full Version : AutoFitCd Problem


kilg0r3
22nd March 2004, 10:24
hi there,

i apologize in advance if this is a stupid question but I am an absolute mpeg2 SVCD beginner. so bare with me.

I have a problem when trying to use AutoFitCd in DVD2SVCD latest build. I load a file (avi or ifo does not matter) selct the AutFit Script in the frameserver tab, then go to conversion and select preview, the first step of which works as expected. Yet when I press the AutoFit Button, I get an avisynth error message
'DirectShowsource could not open as video or audio.
DirectShowSource returned for Video and Audio: couldn't open file A Objekt or name wasn't found'

The FitCd-Script as present in DVD2SVCD

0=# -= AviSynth v2.5.2.0 script by FitCD v1.2.1 =-
1=DirectShowSource("") 2=ColorYUV(Levels="TV->PC")
3=BicubicResize(448,544,0,0.6,0,2,704,556) 4=AddBorders(16,16,16,16) 5=ConvertToYUY2() # For VirtualDub or CCE 6=AudioDub(BlankClip()) # a CCE 2.50 'crashfix' for Athlons

The AutoFitCd Script in DVD2SVCD

0=# -= AutoFitCD Script by RB. Must be used in Preview mode only. =-
1=DVD2SVCDIniPath=!DVD2SVCDIniPath
2=FitCDExePath=!FitCDExePath
3=BorderThreshold=25
4=LoadPlugin(!AutoFitCD.dll)
5=ConvertToYUY2()
6=AutoFitCD(DVD2SVCDIniPath, FitCDExePath, ^TargetWidth, ^TargetHeight, ^BorderTop, ^BorderBottom, leftAdd=^LeftAdd, topAdd=^TopAdd, rightAdd=^RightAdd, bottomAdd=^BottomAdd, threshold=BorderThreshold)
7=BicubicResize(^TargetWidth,^TargetHeight, 0.0, 0.6)
8=AddBorders(0,^BorderTop,0,^BorderBottom)
!DVD2SVCDIniPath=C:\Programme\Dvd2Svcd\avisynth.ini
!FitCDExePath=C:\Programme\Dvd2Svcd\FitCd\FitCD.exe
!AutoFitCD.dll=C:\Programme\Dvd2Svcd\AutoFitCD\AutoFitCD_25.dll
^LeftAdd=0
^TopAdd=0
^RightAdd=0
^BottomAdd=0

The Preview Script Before the Call of AuoFit

LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
AVISource("D:\RIP\y\zource.avi",False)
ConvertToYUY2()
# -= AutoFitCD Script by RB. Must be used in Preview mode only. =-
DVD2SVCDIniPath="C:\Programme\Dvd2Svcd\avisynth.ini"
FitCDExePath="C:\Programme\Dvd2Svcd\FitCd\FitCD.exe"
BorderThreshold=25
LoadPlugin("C:\Programme\Dvd2Svcd\AutoFitCD\AutoFitCD_25.dll")
ConvertToYUY2()
AutoFitCD(DVD2SVCDIniPath, FitCDExePath, 480, 576, 0, 0, leftAdd=0, topAdd=0, rightAdd=0, bottomAdd=0, threshold=BorderThreshold)
BicubicResize(480,576, 0.0, 0.6)
AddBorders(0,0,0,0)
Trim(68647,68647)
ConvertToRGB()

And After the Call of AutoFit

LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
AVISource("D:\RIP\y\zource.avi",False)
ConvertToYUY2()
# -= AutoFitCD Script by RB. Must be used in Preview mode only. =-
DVD2SVCDIniPath="C:\Programme\Dvd2Svcd\avisynth.ini"
FitCDExePath="C:\Programme\Dvd2Svcd\FitCd\FitCD.exe"
BorderThreshold=25
LoadPlugin("C:\Programme\Dvd2Svcd\AutoFitCD\AutoFitCD_25.dll")
ConvertToYUY2()
AutoFitCD(DVD2SVCDIniPath, FitCDExePath, 480, 576, 0, 0, leftAdd=0, topAdd=0, rightAdd=0, bottomAdd=0, threshold=BorderThreshold)
BicubicResize(480,576, 0.0, 0.6)
AddBorders(0,0,0,0)
Trim(68647,68647)
ConvertToRGB()

I hope somebody can make sense of this. Thank you very much in advance.

Manngo
22nd March 2004, 11:20
do you have audio in the avi file?

r6d2
22nd March 2004, 12:11
Seems you are using FitCD 1.2.1, which is not supported by AutoFitCD. AFAIK, RB is into another things and he may not be involved in an update, so going back to FitCD 1.1.2 is recommended for use within DVD2SVCD.

kilg0r3
22nd March 2004, 14:58
@ Manngo: Yep. :)

@ r6d2: Uh, mkay. 'Try that ...

Thank you very much!