OpenTimelineIO / otio-cmx3600-adapter

OpenTimelineIO CMX 3600 EDL adapter
Apache License 2.0
4 stars 3 forks source link

Reading EDLs with mixed framerate sources not supported #12

Open josh-mission opened 2 months ago

josh-mission commented 2 months ago

Hi there,

I am curious what the rationale is behind not supporting EDLs that have clips with different source framerates in them?

Currently, if I attempt to load an EDL with a base framerate of 24fps, but which includes a clip with a base timecode of 25fps, I get an error such as:

Source and record duration don't match: RationalTime(148, 24) != RationalTime(154, 24) for clip X

Tools such as Davinci Resolve and Avid allow for import and export of EDLs such as this.

Below is a minimal sample EDL that OTIO fails with, but Resolve can import:

TITLE:   24FPS_TIMELINE_MIXED_FPS_SOURCES
FCM: NON-DROP FRAME
000001  SHOT_1_25FPS            V     C        18:22:21:08 18:22:27:12 01:00:00:00 01:00:06:10
*FROM CLIP NAME:  SHOT_1_25FPS
000002  SHOT_2_24FPS                V     C        17:07:06:01 17:07:12:11 01:00:06:10 01:00:12:20
*FROM CLIP NAME:  SHOT_2_24FPS
TrevorAyl commented 1 month ago

Presumably NLEs that will import such EDLs are just ignoring the source out/duration? (as there's no indication of frame rate in the EDL line).