-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Converting milliseconds into frames #1
Comments
Happy to help. Do you have a sample file I could take a look at? Or a list of values you receive with the corresponding values you would expect from the formula? I could probably adapt these to work with your issue. |
Awesome ! Ok here you go. Thank you so much. Have a great one. Best |
Ok. Here you go. Sorry for the delay, but I was traveling. I will add all the values into the formula, to make it easier for you to include into your workflow, but here are some details: Since your frame rate is 23.98, you can divide all milliseconds by This formula will also round up to the nearest frame. I noticed in your sample file that sometimes you were rounding up and sometimes you weren't, even though the decimal part was under .5. I will provide two formulas, one that always rounds up and one that rounds to the nearest whole number. Assuming your
To round to the nearest whole number, use this version:
What this formula does:
Let me know if this works ok for you. |
Oh that is awesome. I will check it out and let you know. Thank you so much. Have a great day :-D |
Did the code work? |
Hey Carlos, thank you so much and sorry for the delay. I was pretty sick. But I am better now and the heat is killing us here in Germany ;-) Unfortunately the formula does not work in my excel at the moment. Then I realized maybe it has to do because my Excel is in German. So I started to look for the German command expressions. Also I realized that in German the ; semicolon is the separation character and not the comma. I will try to translate it and get back to you as soon as possible. however I may understand the formula and maybe I can get it work if all commands are translated in German. Thank you so much for your work. I keep you posted :-D All the best |
Hey, I hope you're feeling better. I'll take a look at the German Excel equivalents. Might just need to exchange commas for periods (or semicolons). Once we figure out the equivalent formats, it should work, as the logic works over here. |
Ok. So no translation needed. however I had to replace the comma character , with the semicolon and the period from 23.98 with a comma but it does not work . It gives me an error and says #NAME? |
Yeah your response was quicker than mine . LOL |
But I do understand the logic. So we are a step closer ;-) |
=LEFT(B2;8)&":"&TEXT(CEILING(VALUE(RIGHT(B2;3))/(1000/23,98);1);"00") |
Ok, so I installed the Function Translator (Add-Ins) and I get this when I translate the formula into German:
which seems to match with your last message. |
Ok. it seems my excel absolutely wanted everything in GERMAN. NOW IT WORKS. AWESOME, CARLOS. Great work . Thank you so much. |
Try to isolate the different parts of the formula, and try them on their own. This should tell us where the NAME? error is happening. |
That is awesome! Ignore my last test then ;-) Stay cool! |
You too. :-D |
Hello,
Just came across your profile.
I was wondering if you can help me to create an excel formula to convert milliseconds e.g. present in SRT files into frame timecode.
So this:
00:15:24:250
into this:
00:15:24:10
considering also the frame rate.
It does not have to be super precise. 😉
I get sometimes dubbing dialogue scripts not as proper timecode.
That way I have to do some workarounds to convert it into SMPTE TC. My DAW does accept only timecode in format: hh:mm:ss:ff.
I mentioned before it does not have to be super precise, because most of the time I have to adjust the take length manually anyway while previewing the different characters. But I already have them setup and I do not have to generate them manually. That would be a very time consuming task.
So maybe you could give me a hand with my issue?
Thank you and have a great one.
Richard
The text was updated successfully, but these errors were encountered: