Realtime SMPTE Timecode Overlay v2 (Graphical Text Overlay)

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Fahim, Distinct Sun, Víctor Paredes, erey, Belgarath, slowtiger

Post Reply
User avatar
SimplSam
Posts: 122
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Realtime SMPTE Timecode Overlay v2 (Graphical Text Overlay)

Post by SimplSam » Mon Apr 30, 2018 8:50 pm

Image

Introducing the easy-to-use SMPTE Timecode overlay for Moho (Anime Studio). Suitable for time-coding onscreen and rendered output of Animations, Animatics, Short Films & Storyboards in pre and post production workflows. This latest version (v2) uses the Text layer to display the overlay text, greatly increasing styling and presentation options.



Working Demo: https://youtu.be/J66F29Wj0q0
Instructions & Script Download: https://bit.ly/moho-smpte-2KrXq2a

To use:
  1. Save the 'ss_smpte.lua' file to your computer file system
  2. On a Vector Layer in Moho use Layer Settings and select [General] > [Embedded script file] and browse to the saved 'ss_smpte.lua' file, then click OK
  3. You will now be presented with a Style dialog for the look and feel of the SMPTE overlay text. Set your preferences and click OK
  4. On your timeline press 'Play' -- Sit back and Enjoy the magic!
Sizing/Orientation:
  • You can set the Size, Position, Orientation of the SMPTE overlay by Setting / Transforming the SMPTE Layer (Transform Layer tool) on Frame 0
  • To increase styling options - place the SMPTE Layer inside a Group layer and manipulate the Group Layer as usual, and/or add additional background layers etc.
  • To edit the current Style (Colour etc.) -- Create a Marker (empty/any text) on the SMPTE Layer at Frame 0. Or simply remove and then re-add the layer script (the current settings will be preserved)
Know issues: Jumpy Text (Moho buglet): Text will be slightly jittery/jumpy (even with a Fixed font) -- unless the SMPTE text is postfixed with a non-whitespace character. To work around jumpiness, try adding some spaces and a trailing dot ' .' postfix, and then position the SMPTE Layer such that the dot is offscreen, or enclose with preferred prefix '[' and postfix ']' (for example). Alternatively - you can use group/layer masking to hide the postfix character(s). Please also note that some fonts will be jumpy vertically - for which there is no current workaround other than choosing another (less nervous) font.

Tested in: AS10Pro, AS11Pro & MH12Pro
Sam @
Image
Post Reply