Skip to main content
Hey Evgenii
Inspiring
May 7, 2025
Answered

Clips markers time to formatted timecode is one frame incorrect

  • May 7, 2025
  • 1 reply
  • 174 views

I am trying to get the formatted time of the markers on the video clip via:

timeOfMarker.getFormatted(settings.videoFrameRate, settings.audioDisplayFormat)

but sometimes it loses one frame, how to ensure that it is always proceduses correct timecode?

I am using tried both audioDisplayFormat and videoDisplayFormat, same results
Correct answer Bruce Bullis

You may be getting a value rounded to a frame boundary. 


Can you send us a (small) piece of media containing markers, and some ExtendScript that shows the discrepancy? 

[Email is fine for small stuff, let me know if you'd like some private upload space.]

1 reply

Bruce Bullis
Bruce BullisCorrect answer
Legend
May 7, 2025

You may be getting a value rounded to a frame boundary. 


Can you send us a (small) piece of media containing markers, and some ExtendScript that shows the discrepancy? 

[Email is fine for small stuff, let me know if you'd like some private upload space.]