Skip to main content

Converts between common ASC Color Decision List (CDL) formats

Project description

PyPI VersionBuild StatusCoverage StatusCode Health

Converts between common ASC CDL formats. The American Society of Cinematographers Color Decision List (ASC CDL, or CDL for short) is a schema to simplify the process of interchanging color data between various programs and facilities.

The ASC has defined schemas for including the 10 basic numbers in 5 different formats:

  • Avid Log Exchange (ALE)

  • Film Log EDL Exchange (FLEx)

  • CMX EDL

  • XML Color Correction (cc)

  • XML Color Correction Collection (ccc)

Unofficial Formats:

  • OCIOCDLTransform, a Foundry Nuke node

  • Space separated CDL, a Rhythm & Hues internal cdl format

It is the purpose of CDL Convert to convert ASC CDL information between these basic formats to further facilitate the ease of exchange of color data within the Film and TV industries.

CDL Convert is not associated with the American Society of Cinematographers

Conversions

Currently we support converting from:

  • ALE

  • CC

  • FLEx

  • CDL

To:

  • CC

  • Space Separated CDL

With support for both from and to expanding in the future.

Installation

Installing is as simple as using pip:

$ pip install cdl_convert

If you don’t want to bother with a pip style install, you can alternatively grab cdl_convert/cdl_convert.py, As this file is the script and all the functions and classes needed.

Usage

If you just want to convert to a .cc XML file, the only required argument is an input file, like so:

$ cdl_convert ./di_v001.flex

You can override the default .cc output, or provide multiple outputs with the -o flag.

$ cdl_convert ./di_v001.flex -o cc,cdl

Full help is available with --help

Code

CDL Convert is written for Python 2.6 through 3.4. Code is written for strict PEP 8 compliance, with all code being checked on push through landscape.io. Docstrings follow Google code standards.

Development uses Git Flow model.

License

Basic MIT License. If you use or modify the project I would love to hear from you. For more information on the license, please see the LICENSE file that accompanies the project.

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

cdl_convert-0.5.post1.tar.gz (14.0 kB view hashes)

Uploaded Source

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