View Full Version : an option for ShowSMPTE??
medp7060
26th December 2006, 09:17
For the moment, ShowSMPTE displays SMPTE timecode as "hours:minutes:seconds:frame". Is it possible not to show the frame, only show "hours:minutes:seconds"
sh0dan
26th December 2006, 13:30
Yes - it's been discussed before here:
http://forum.doom9.org/showthread.php?t=114200&highlight=showtime
The last post also contains a script function, that will do the same, with built-in filters.
I'll add this to the 2.6 to-do list, as it is useful and pretty easy to do.
medp7060
27th December 2006, 07:53
Thank you for your reply, sh0dan. Glad it is on the to-do list. I just checked the script. It almost does the same except that no offset option for user to add an offset to the timecode.
sh0dan
27th December 2006, 12:00
ScriptClip("Subtitle(ShowTime(10.0 + current_frame / FrameRate()))")
Replace "10.0" with your delay in seconds.
sh0dan
28th December 2006, 15:16
I Implemented fallback to hh.mm.ss.ms. to 2.6 CVS. This will be in the upcoming beta.
To force this, use fps = 0 as argument. You will still be able to use frame offset, to offset your time.
IanB
29th December 2006, 00:12
Probably ShowSMTPE() should be exactly that, i.e. "show smtpe timecode".
This function might be better called ShowTime() or something equally descriptive.
medp7060
31st December 2006, 03:45
That's quick, sh0dan. Thanks. I am looking forward to testing it. I hope the "ms" is also optional in "hh.mm.ss.ms" because our eyes are too slow to catch it. Besides, ms changes so fast that it will distract us from the movie.
By the way, I tested this: ScriptClip("Subtitle(ShowTime(10.0 + current_frame / FrameRate()))")
If I replace the 10.0 with e.g. 73672, the ms is slightly different from that shown by VirtualDub.
Happy New Year!
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.