Advertisement
zebadeee

Timecode

Apr 7th, 2020
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. h=0;m=0;s=0;f=7;
  2. f+=timeToFrames();
  3. s+=Math.floor(f*thisComp.frameDuration);
  4. m+=Math.floor(s/60);
  5. h+=Math.floor(m/60);
  6. f=f%(1/thisComp.frameDuration);
  7. s=s%60;
  8. m=m%60;
  9. if(f<10) {f="0"+f}
  10. if(s<10) {s="0"+s}
  11. if(m<10) {m="0"+m}
  12. if(h<10) {h="0"+h}
  13. "CAM03 FRONT TC:"+h+":"+m+":"+s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement