Ali Edwards
Registered User.
- Local time
- Today, 11:05
- Joined
- Apr 19, 2001
- Messages
- 68
Hi,
I've been trying to make what I thought would be a simple timecode calculator for calculating the duration of video/audio clips. Timecode format is HH:MM:SS:FF, where ff is 'frames'. I'm using 25 frames/second timecode, so 24 is the max value before 'FF' resets at 00 and 'SS' gains 1.
Assuming I can't use the normal date/time fields or functions (especially with my limited ability) I have created on a form 4 fields for timecode in, HH, MM, SS and FF and 4 for TC out.
Then I created 2 fields for the frame value of TC in and TC out:
TC in =(((([Tcin1]*60*60)+[Tcin2]*60)+[Tcin3])*25)+[Tcin4]
TC out =(((([Tcout1]*60*60)+[Tcout2]*60)+[Tcout3])*25)+[Tcout4]
and then another field to calculate the difference in frames, ie the total duration: TC out - TCin.
Now all I need to do is express the frame value in HH:MM:SS:FF but I can't fathom it!!
Help me please before my brain implodes!!
I've been trying to make what I thought would be a simple timecode calculator for calculating the duration of video/audio clips. Timecode format is HH:MM:SS:FF, where ff is 'frames'. I'm using 25 frames/second timecode, so 24 is the max value before 'FF' resets at 00 and 'SS' gains 1.
Assuming I can't use the normal date/time fields or functions (especially with my limited ability) I have created on a form 4 fields for timecode in, HH, MM, SS and FF and 4 for TC out.
Then I created 2 fields for the frame value of TC in and TC out:
TC in =(((([Tcin1]*60*60)+[Tcin2]*60)+[Tcin3])*25)+[Tcin4]
TC out =(((([Tcout1]*60*60)+[Tcout2]*60)+[Tcout3])*25)+[Tcout4]
and then another field to calculate the difference in frames, ie the total duration: TC out - TCin.
Now all I need to do is express the frame value in HH:MM:SS:FF but I can't fathom it!!
Help me please before my brain implodes!!
