Activity › Forums › Apple Final Cut Pro Legacy › QT calculation – Converting frames to milliseconds, coding question
-
QT calculation – Converting frames to milliseconds, coding question
Ariane Fisher replied 15 years, 1 month ago 11 Members · 45 Replies
-
Andreas Kiel
March 23, 2011 at 3:39 pmAriane,
Interesting results.
The thing I mentioned before is that you really have to know time scale and frame duration. Might be that there is some during copy, upload etc.
Sample 3 is the most funny one.
‘For your eyes only’ I made a little app which does a QT analyze of movies 🙂
You can get it here:
https://www.spherico.com/filmtools/someTimes/someTimes.zipIt might help you to figure out the numbers you need.
Just drop a movie file into the white table view or on the (bad) app’s icon.If you can upload some examples, I also can have a look at them. It may take some time as my internet connection speed is kinda ancient currently.
Andreas
Spherico
https://www.spherico.com/filmtools -
Ariane Fisher
March 23, 2011 at 8:45 pmAndreas, thank you so much. I downloaded the app but it’s crashing without opening. Here’s a screenshot of the problem report:

I must look like a real genius now. 🙂 If I upload a sample here, won’t it get transcoded? Can I be really 1990’s and email you a short clip? Oh wait, we didn’t even have that capability in the 90s.
-
Andreas Kiel
March 23, 2011 at 11:09 pmAriane, sorry my fault – I uploaded a 10.6x only version.
I did replace that .zip file by a 10.5x version.
So give it a try again.Andreas
Spherico
https://www.spherico.com/filmtools -
Matt Lyon
March 23, 2011 at 11:29 pmInteresting thread! Sorry to jump in late here…
Ariane, I’m not a developer, but I asked the programmer in our studio what he uses for our custom tools and it looks like the same formula you employ in your example.
We also bypass the whole quicktime/java thing, like Andreas mentioned. Our method is XML + python + FFMPEG.
What is the sync issue you alluded to in an earlier post? Is it anything like what I cover in my tutorial:
https://library.creativecow.net/lyon_matt/fixing-fcp-assets/1
Cheers,
Matt Lyon
Editor
Toronto -
Ariane Fisher
March 25, 2011 at 7:11 pm@Andreas, I found an interesting quirk in the calculations for one file – and managed to crash the script several times. I’m good at that. 🙂
One of the files is a NDF NTSC30 file from a 5D. It shows 00:00:14:08 duration in QT (on the desktop). When you move the slider to the end,the last frame is 00:00:14:07. The calculations in Sometimes used 14:07. Sometimes came up with the exact same answer as QT in the Mediainfo file. I understand mathematically how Sometimes came up with the answer it did. Is the discrepancy between 14:08 and 14:07 a result of the frame duration of the last frame? I can send you the file if you can tell me how to get it to you. I doubt uploading it to Cow would do any good as it will most likely get transcoded and we need to examine the 14 second, 252 MB file.
Part of me wonders if it matters, as long as QT knows what it’s referencing, and I understand the math, I should be able to reverse engineer it.
@Matt, is there some way I can connect with your offline to further discuss your workflow? I have a feeling that would be taking this thread in a completely new, interesting, and completely un-FCP like direction.
Reply to this Discussion! Login or Sign Up