Realtime SMPTE Timecode overlay

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

Moderators: Víctor Paredes, Belgarath, slowtiger

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

Realtime SMPTE Timecode overlay

Post by SimplSam »

Image

Demonstrating a simple layer script that overlays the SMPTE Timecode in Moho (Anime Studio) screen and/or video output - for workflow synchronisation and Animatic Storyboard production.


Working Demo: https://www.youtube.com/watch?v=yeWSgxDqERk
Script Download: https://github.com/SimplSam/moho-smpte/ ... master.zip

Know issues: - Occasional 'random' text (like: 'CPU#', 'Process', 'Project', <Blank> or a <Filepath>) appearing as the Timecode text. This appears to be a Moho buglet within the export/render process, and can be minimised by using Moho Exporter. It can be seen in my demo video @ 00:00:12:05

To use:
(0) - Save ss_smpte.lua file to your computer file system
(1) - Add a NOTE Layer to your Moho project
(2) - Use the Layer properties to Select [General] > [Embedded script file] and choose the saved file: ss_smpte.lua
(3) - (Optional::Render) Set Layer properties to render. i.e. Uncheck - [General] > 'Don't render this layer' - If you want overlay on final video output file
(4) - (Optional::Colorize) Set Layer properties to [General] > [Colorize layer] and choose colour/transparency. This will tint the Note for better visibility
(5) - (Optional::Position) Move the Note Layer on the screen to a preferred position
(6) .... Enjoy!


My Want list:
- Direct script access to SMPTE counter
- Improved graphical Note/Text Box/Layer (Back/Foreground colour set-able, Honours layer scaling etc. etc.)


Tested in: AS10Pro & MH12Pro
Moho 14.1 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.1 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
User avatar
Víctor Paredes
Site Admin
Posts: 5646
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Re: Realtime SMPTE Timecode overlay

Post by Víctor Paredes »

That is very cool and useful.
I didn't know you could modify a note layer that way.
Thanks for sharing it!
Image Image Image Image
Moho Product Manager

www.mohoanimation.com
Rigged animation supervisor in My father's dragon - Lead Moho artist in Wolfwalkers - Cartoon Saloon - My personal Youtube Channel
User avatar
jahnocli
Posts: 3471
Joined: Fri Oct 29, 2004 2:13 pm
Location: UK

Re: Realtime SMPTE Timecode overlay

Post by jahnocli »

Just tried this out -- worked like a charm! Thanks!
You can't have everything. Where would you put it?
User avatar
SimplSam
Posts: 1031
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Re: Realtime SMPTE Timecode overlay

Post by SimplSam »

Now working on a new version that uses Vector layer Text.

This brings its own challenges, but has far greater visual versatility.

Moho 14.1 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.1 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
User avatar
hayasidist
Posts: 3486
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Realtime SMPTE Timecode overlay

Post by hayasidist »

Hi Sam -- did you finish the Text version -- I've just had need of this useful tool and have found several limitations / features in Moho on render / scale options for notes that were a pain to overcome.
User avatar
SimplSam
Posts: 1031
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Re: Realtime SMPTE Timecode overlay

Post by SimplSam »

Yes and no. I did a bunch of work on it and then got distracted.

I will tidy-up the code... and provide.
Moho 14.1 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.1 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
User avatar
hayasidist
Posts: 3486
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Realtime SMPTE Timecode overlay

Post by hayasidist »

thanks!!
User avatar
SimplSam
Posts: 1031
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Re: Realtime SMPTE Timecode overlay

Post by SimplSam »

Finally got around to completing the update, which has been posted here: viewtopic.php?f=12&t=32004

@hayasidist - Apologies for the loooong delay!
Moho 14.1 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.1 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
Post Reply