Log in

View Full Version : Size Error ?


ArieBK
15th April 2002, 10:21
after i add this lines to my script

ConvertToRGB()
function VD_Subtitler(clip clip, string filename)
{
LoadVirtualdubPlugin("D:\-= DVD =-\VirtualDub-1_4\plugins\subtitler.vdf","_VD_Subtitler")
return clip._VD_Subtitler(1, filename)
}
BicubicResize(480,480,0.75,0.75)
VD_Subtitler(last ,"File.ssa")


and i try to load the avs to CCE i get a size error ...
like 884x80 is not valid .

if i remove this lines ... everything is fine ...
what can i do to solve this problem ?

dividee
15th April 2002, 12:04
I'm not 100% sure you can use 'last' with user-defined functions.
Try changing the last two lines to:
vid = BicubicResize(480,480,0.75,0.75)
VD_Subtitler(vid ,"File.ssa")

... and I find (0.75,0.75) a bit strange for BicubicResize. Are you sure you want to use that ?

dividee
15th April 2002, 12:26
... and by the way, for adding ssa subs you could use VobSub instead of vdub' subtitler; so you won't have to convert to RGB

ArieBK
15th April 2002, 12:39
@ dividee


HOW????
:)

Wilbert
15th April 2002, 15:50
Do a search on the forum:

http://forum.doom9.org/showthread.php?threadid=19929&highlight=vobsub

I hope this is clear enough. Or as Dividee says, try

ConvertToRGB()
function VD_Subtitler(clip clip, string filename)
{
LoadVirtualdubPlugin("D:\-= DVD =-\VirtualDub-1_4\plugins\subtitler.vdf","_VD_Subtitler")
return clip._VD_Subtitler(1, filename)
}
BicubicResize(480,480)
VD_Subtitler("File.ssa")

ArieBK
16th April 2002, 07:56
as Dividee say ...
no need to use this script @ all


it can be done with:

LoadPlugin("mpeg2dec.dll","I:\virtual dub\plugins\textsub.vdf")
mpeg2source("I:\clip\clip1.d2v")
TextSub("clip1.ssa")


without ConvetToRGB, and it give a lot better quality !

10x to all of you