Home Forums Software ELAN convert time to frames

convert time to frames

This topic contains 1 reply, has 2 voices, and was last updated by  Han 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
Author Posts
Author Posts
January 17, 2019 at 16:30 #12607


Dear ELAN-Team,

I annotated a video using ELAN. Additionally, I used other software to analyze the video. Now ELAN gives me the annotations in ms since the start of the video. However, the other software gives out results with frames as ‘time-axis’.

I guess ELAN extracted 15 frames/sec from the video properties. However, this is not an exact number and times between frames can slightly vary. Also, this number is rounded and will therefore lead to a mismatch between the real time and time shown in ELAN. Is there any way to extract the frames instead of milliseconds from ELAN?

Otherwise, if not, do I get clostest to the right result if I divide the video length in ELAN by the total frame number and take the result as the average time between two frames? Or is there a more exact option?

Kind regards and thank you!

January 18, 2019 at 17:09 #12611


ELAN offers a few frame-based time formats in some viewers and in some export functions: PAL, PAL-50 and NTSC. There is currently no generic, frame rate independent, frame based time format (I believe it is on the wishlist).
If ELAN supported such format, it would probably do something similar to what you suggest; try to get the most accurate frame rate value and use that for the calculation (should be similar to your total duration, total number of frames approach).

There might be formats where different approaches are required (e.g. drop frame), that wouldn’t be covered by a generic re-calculation.


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.