![what does eyeframe converter do what does eyeframe converter do](https://www.conversion-uplift.co.uk/wp-content/uploads/2016/09/Image-of-webpage-made-up-using-frames-1024x523.jpg)
It should answer all questions.Īll timecodes must be calculated as an offset from zero time (the beginning), not as an addition to the previous point.
WHAT DOES EYEFRAME CONVERTER DO CODE
Here is the source code that does conversion from HH:MM:SS.ms to frames and back. And I do agree with you that using the frame counts to start the project for a good foundation of the “drift-free”. The rest of your points are well known to me. (this is not a true example, I made it up to show you my point) How this matters: because when I carefully mark a time 00:02:22.117, some cases it convert back to 8527 frames, some cases it convert to 8528 frames. (and I am too lazy to research the source code to find out why) Then after doing bunch of tests, I find Shotcut sometimes calculate eg 1 frame as 0.033333 second, sometimes as 0.033334,īut definately not 1/30, nor 0.03333333333333 nor 0.333. So, I tried to work out how the timeline was calculated in shotcut, so I can program my app accordingly. mlt reconized by shotcut, it can be 4.999 instead of 5.000.
![what does eyeframe converter do what does eyeframe converter do](http://bigdonsboys.com/handsomest/trevor_donovan/images/6_2_actor_model_trevor-donovan_016.jpg)
In theory, it shoud be 150fps + 0.032 seconds offset (the offset is recorded to push back the next subtitle line)Īnd the timestamp in.
![what does eyeframe converter do what does eyeframe converter do](https://www.pazera-software.com/img/programs/avi-to-mp4-converter/avi_to_mp4_main-1024x670.png)
a subtitle plays for 5.032 seconds, in a 30fps video: That’s one of the issue, that was haunting me.Įg. Determine the number of frames needed to get the virtual playhead (internally represented in frames) to the next start point, and convert that length to time using literal frame rate. But to generate a length, don’t calculate using time calculate using frames. For blanks, length is pure addition to the virtual playhead.