|
|
Author
|
Topic: software to convert minutes to feet per frame
|
|
|
|
Randy Stankey
Film God
Posts: 6539
From: Erie, Pennsylvania
Registered: Jun 99
|
posted 10-06-2010 07:39 PM
Parse the first 8 characters of the time code and translate them into decimal hours, minutes and seconds. There should be a formula in Excel to do that. If not, write one. It shouldn't be hard.
Next, check to be sure you're not using drop-frame time code. Since there is no semicolon between the seconds and the frames, you can assume that it's NOT drop-frame. (A semicolon typically represents drop-frame.)
After that, parse out the last two digits of the time code and divide them by your frame rate. If your video is 30 fps, then you divide the last two digits by 30. Add that to your decimal hours, minutes and seconds. If your video is 25 fps then divide by 25
You should now have your time code translated to hours, minutes, seconds and decimal seconds. From there I assume you should know how to write a formula to translate that into whatever format you need. Decimal hours? Hours and decimal minutes? Etc... Whatever you need. (For simplicity, I'd probably use decimal minutes.)
Then, like Mitchell says, you need to know the film format you're talking about. USA/North America or European? North America is 24 frames per second. Europe is 25 frames per second. Film is always 16 frames per foot, regardless of the frame rate.
To get your film speed, it is X/16. For USA that is 24/16 or 1.5 feet per second. For Europe that is 25/16 or 1.5625 feet per second. Multiply by 60 if you want feet per minute. For USA that would be 90 feet per min. For Europe that would be 93.75 feet per minute.
Now, you have massaged your time code and your frame rate into like units. It's as simple as dividing the time code by the film speed. Feet=TRUNC(time code / film speed). Frames=MOD(time code / film speed).
That should do it.
I think I got that right? Did I? Somebody check my work to be sure I didn't screw that up.
No matter... That's the concept of what you are going to have to do, even if I didn't get the math right.
| IP: Logged
|
|
|
|
|
|
|
All times are Central (GMT -6:00)
|
|
Powered by Infopop Corporation
UBB.classicTM
6.3.1.2
The Film-Tech Forums are designed for various members related to the cinema industry to express their opinions, viewpoints and testimonials on various products, services and events based upon speculation, personal knowledge and factual information through use, therefore all views represented here allow no liability upon the publishers of this web site and the owners of said views assume no liability for any ill will resulting from these postings. The posts made here are for educational as well as entertainment purposes and as such anyone viewing this portion of the website must accept these views as statements of the author of that opinion
and agrees to release the authors from any and all liability.
|