Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

.SRT Importer / Subtitle Generator

Share your components here. First one to 100 wins!

.SRT Importer / Subtitle Generator

Postby L05 » Fri Mar 29, 2019 2:39 pm

Hey y'all, I created a simple SRT file importer and corresponding subtitle generator for a couple small projects and figured it useful to share in case anyone else might benefit.

Nothing fancy here, mostly operators and some light python, commented for clarity.
I've also separated some of the sub-components into their own TOX files in case someone is interested only in a specific part.

Everything is attached, and you can also find it here:
https://github.com/L05/TouchDesigner/tr ... _generator

subtitle_generator.png
Screenshot
subtitle_generator.png (222.83 KiB) Viewed 1441 times
Attachments
subtitle_generator.tox
Subtitle Generator
(4.62 KiB) Downloaded 60 times
srt_importer.tox
SRT importer
(1.94 KiB) Downloaded 54 times
subtitle_generator.zip
Everything, including the example project file.
(26.19 KiB) Downloaded 61 times
User avatar
L05
 
Posts: 214
Joined: Thu Jan 05, 2012 2:36 pm
Location: Los Angeles, CA

Re: .SRT Importer / Subtitle Generator

Postby jmt4zj » Tue Apr 02, 2019 12:21 am

Nice!
Jonathan Thompson
@pointshader
http://pointshader.com
User avatar
jmt4zj
 
Posts: 160
Joined: Mon Nov 01, 2010 3:15 am
Location: NYC

Re: .SRT Importer / Subtitle Generator

Postby kursor » Wed Apr 03, 2019 1:31 pm

Any difference between the 11 file and the other .toe?

p.s. this is a great learning tool as it is well laid out and clear.
kursor
 
Posts: 2
Joined: Mon Oct 16, 2017 10:23 am

Re: .SRT Importer / Subtitle Generator

Postby L05 » Wed Apr 03, 2019 1:56 pm

@kursor
There is no difference between those two files; I think it's more an artifact of the way TouchDesigner saves .toe files, with the unnumbered .toe being a copy of the latest saved version.

Thanks for that feedback! I've learned so much from well commented, thoughtfully laid out networks, and it really helps when collaborating. Shout out to Matthew Ragan for setting a great example.
User avatar
L05
 
Posts: 214
Joined: Thu Jan 05, 2012 2:36 pm
Location: Los Angeles, CA


Return to Shared .tox Components

Who is online

Users browsing this forum: No registered users and 1 guest