Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

MovieFileIn/Python Timecode readout

Send us your requests for enhancements (RFEs)

MovieFileIn/Python Timecode readout

Postby bLackburst » Thu May 10, 2018 8:08 am

Optimised readout of movieFileIn timecode and/or equivalent arbitrary frame<->timecode converter in python.
The time component has a .timecode member, but movieFileIn TOP doesn't. There was also Tscript for frametotimecode and timecodetoframe but I have no idea how to use them and I think we've moved on, considering they're not in the docs anymore.
I've built comps achieving this with datetime python module, sequences of CHOPs and DATs etc but there's downsides to all of them. Can I ask for a high-performance, built-in way of doing this please?
bLackburst
 
Posts: 308
Joined: Thu Sep 01, 2011 3:56 am
Location: Melbourne, Australia

Re: MovieFileIn/Python Timecode readout

Postby rob » Fri May 11, 2018 11:22 am

One quick workaround is to create a time component.
Set it's rate to the movie rate,
and send the current movie index into the 'clock' CHOP inside. (renamed to frame).
You can delete all the other operators inside the time COMP.

You can then access that components .timecode member.
User avatar
rob
Staff
 
Posts: 1524
Joined: Tue Nov 13, 2007 1:14 am

Re: MovieFileIn/Python Timecode readout

Postby bLackburst » Thu Oct 11, 2018 4:19 am

This timecode readout appears to be buggy at the start, need to put a math with ceiling integer, otherwise it goes from 1->0->1->2... leaving it a frame behind.
bLackburst
 
Posts: 308
Joined: Thu Sep 01, 2011 3:56 am
Location: Melbourne, Australia


Return to Wishlist and RFEs

Who is online

Users browsing this forum: No registered users and 3 guests