Skip to main content

OpenTimelineIO CMX 3600 EDL Adapter

Project description

OpenTimelineIO CMX3600 EDL Adapter

The cmx_3600 adapter is part of OpenTimelineIO's core adapter plugins.
It provides reading and writing of CMX3600 formatted Edit Decision Lists (EDL). For more information on the CMX3600 format please check the links in the reference section

Adapter Feature Matrix

The following features of OTIO are supported by the cmx_3600 adapter:

Feature Support
Single Track of Clips
Multiple Video Tracks
Audio Tracks & Clips
Gap/Filler
Markers
Nesting
Transitions
Audio/Video Effects
Linear Speed Effects
Fancy Speed Effects
Color Decision List
Image Sequence Reference

Style Variations

The cmx_3600 adapter supports writing EDL's with slight variations required by certain applications. At the moment the supported styles are:

Main Functions

The two main functions below are usually called indirectly through otio.adapters.read_from_[file|string] and otio.adapters.write_to_[file|string]. However, since the cmx_3600 adapter provides some additional arguments we should mention them here.

read_from_string(input_str, rate=24, ignore_timecode_mismatch=False)

Reads a CMX Edit Decision List (EDL) from a string.
Since EDLs don't contain metadata specifying the rate they are meant for, you may need to specify the rate parameter (default is 24).
By default, read_from_string will throw an exception if it discovers invalid timecode in the EDL. For example, if a clip's record timecode overlaps with the previous cut.
Since this is a common mistake in many EDLs, you can specify ignore_timecode_mismatch=True, which will supress these errors and attempt to guess at the correct record timecode based on the source timecode and adjacent cuts.
For best results, you may wish to do something like this:

try:
    timeline = otio.adapters.read_from_string("mymovie.edl", rate=30)
except EDLParseError:
   print('Log a warning here')
   try:
       timeline = otio.adapters.read_from_string(
           "mymovie.edl",
           rate=30,
           ignore_timecode_mismatch=True)
   except EDLParseError:
       print('Log an error here')

write_to_string(input_otio, rate=None, style='avid', reelname_len=8)

Writes a CMX Edit Decision List (EDL) to a string.
This function introduces style and reelname_len parameters.
The style parameter let's you produce slight variations of EDL's (avid by default). Other supported styles are "nucoda" and "premiere".
The reelname_len parameter lets you determine how many characters are in the reel name of the EDL (default is 8). Setting it to None will not set a limit of characters.

EDL References

License

OpenTimelineIO and the "cmx_3600" adapter are open source software. Please see the LICENSE for details.

Nothing in the license file or this project grants any right to use Pixar or any other contributor’s trade names, trademarks, service marks, or product names.

Contributions

If you want to contribute to the project, please see: https://opentimelineio.readthedocs.io/en/latest/tutorials/contributing.html

Contact

For more information, please visit http://opentimeline.io/ or https://github.com/AcademySoftwareFoundation/OpenTimelineIO or join our discussion forum: https://lists.aswf.io/g/otio-discussion

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

otio_cmx3600_adapter-1.0.0.tar.gz (46.1 kB view details)

Uploaded Source

Built Distribution

otio_cmx3600_adapter-1.0.0-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file otio_cmx3600_adapter-1.0.0.tar.gz.

File metadata

  • Download URL: otio_cmx3600_adapter-1.0.0.tar.gz
  • Upload date:
  • Size: 46.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for otio_cmx3600_adapter-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a10cca794617795bbc147d784ec33e6381a57eb6157e87d2b74b65b02516b621
MD5 afbf2771ee91273729c9ab24a2e1ce81
BLAKE2b-256 205aa65b817af6d70a3e8696c81dc0e43242967b2b3ae6100bf0f35f6330e91a

See more details on using hashes here.

File details

Details for the file otio_cmx3600_adapter-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for otio_cmx3600_adapter-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 440ed9d862170d9d03d319a51bf77a19f917b162b73a578e3ebe9a79fa01625b
MD5 c30e3c990ccd99f30634a07c8d56e077
BLAKE2b-256 8fb8e48c78c703ad27d2c3748663717006a23509a15d62ba94689b88dd6bb336

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page