Hey there,
I have creted the following expression to return a framecount from a user entry of "hours:mins:secs:frames"
= (Val(Mid([timecode], 1, 2)) * 60 * 60 * 29.97) + (Val(Mid([timecode], 4, 2)) * 60 * 29.97) + (Val(Mid([timecode], 7, 2)) * 29.97) + Val(Mid([timecode], 10, 2))
"timecode" is the user entered value, in hh:mm:ss:ff.
Now I have been racking my brain trying to put this into a function, that will simply return the framecount... something like:
=Framecount ([user_entry])
If I can get this far, then I will be able to do really cool things like:
=Framecount ([segment_end]) - Framecount ([segment_start])
This will at least be 1/2 the battle. Converting back from a framecount to hh:mm:ss:ff will be the other 1/2. Call me a VB newbie. Can ya help here?
Thanks much,
Ken
I have creted the following expression to return a framecount from a user entry of "hours:mins:secs:frames"
= (Val(Mid([timecode], 1, 2)) * 60 * 60 * 29.97) + (Val(Mid([timecode], 4, 2)) * 60 * 29.97) + (Val(Mid([timecode], 7, 2)) * 29.97) + Val(Mid([timecode], 10, 2))
"timecode" is the user entered value, in hh:mm:ss:ff.
Now I have been racking my brain trying to put this into a function, that will simply return the framecount... something like:
=Framecount ([user_entry])
If I can get this far, then I will be able to do really cool things like:
=Framecount ([segment_end]) - Framecount ([segment_start])
This will at least be 1/2 the battle. Converting back from a framecount to hh:mm:ss:ff will be the other 1/2. Call me a VB newbie. Can ya help here?
Thanks much,
Ken