PDA

View Full Version : Including date in subtitle


aramo
29th October 2003, 03:52
I've tried a few [well several tttt] variations of the Time() function in the hope I could get a permanent but brief subtitle over a clip. No luck so far.

I want something like
Subtitle("DivX encoded " + Time(%b %Y),16,16,0,10,"Verdana",12)

which would give
DivX encoded Oct 2003
on the first 10 frames of the clip

assorted uses of double quotes and even
ddd=Time(%x)
Subtitle("DivX encoded " + ddd,16,16,0,10,"Verdana",12)
give me nothing but errors or silent failures

aramo
29th October 2003, 04:40
Obviously embarrasment is the mother of invention

a couple of tries later and I got it working with the snippet below

topline="DivX(film) > SVCD(pal) transcoded " + Time("%b") + " " + Time("%Y")
toplinesize=12
Subtitle(topline,16,240,0,10,"Verdana",toplinesize)

which for the next few days will output
DivX(film) > SVCD(pal) transcoded Oct 2003