View Single Post
Old 23rd February 2014, 18:26   #12  |  Link
zero9999
Registered User
 
Join Date: Oct 2011
Posts: 52
Quote:
Originally Posted by raffriff42 View Post
First thing to do was format it with line breaks. It works for me (avisynth 2.6) but I don't think it should.
src_width=0.0, src_height=0.0 does not sound right. No mention of this argument in the wiki, so I don't know.
these parameters are for cropping (the wiki mentions them), but they are all 0 by default, so setting them all to 0.0 does exactly nothing.
As does most of the script.

It boils down to this:
Code:
timer=Crop(0, 470, 58, 0).AddBorders(0,0,50,0)
Spline64Resize(1280,720)
Overlay(timer.PointResize(timer.Width*2, timer.Height*2), y=Height-timer.Height*2)
or
Code:
timer=PointResize(116, 20, 0, 470, 58, 0).AddBorders(0,0,100,0)
Spline64Resize(1280,720)
Overlay(timer, y=Height-timer.Height)
or (probably faster):
Code:
ow = 1280
oh =720
ty = 470
tw = 58
timer=PointResize(tw*2, (Height-ty)*2, 0, ty, tw, 0).AddBorders(0,0,ow-tw*2,0)
StackVertical(Spline64Resize(ow,oh,0,0,0,ty),timer)
and it works

Last edited by zero9999; 23rd February 2014 at 19:52.
zero9999 is offline   Reply With Quote