Update README.md

This commit is contained in:
Jamie Hardt
2018-12-24 14:30:35 -08:00
parent 16afb8fc64
commit 24272569e3

View File

@@ -8,9 +8,10 @@ The `pycmx` package provides a basic interface for parsing a CMX 3600 EDL and it
* The major variations of the CMX3600, the standard, "File32" and "File128" * The major variations of the CMX3600, the standard, "File32" and "File128"
formats are automatically detected and properly read. formats are automatically detected and properly read.
* Preserves relationship between events and individual edits/clips.
* Remark or comment fields with common recognized forms are read and * Remark or comment fields with common recognized forms are read and
available to the client, including clip name and source file data. available to the client, including clip name and source file data.
* Symbolically decodes transitions * Symbolically decodes transitions and audio channels.
* Does not parse or validate timecodes, does not enforce framerates, does not * Does not parse or validate timecodes, does not enforce framerates, does not
parameterize timecode or framerates in any way. This makes the parser more parameterize timecode or framerates in any way. This makes the parser more
tolerant of EDLs with mixed rates. tolerant of EDLs with mixed rates.
@@ -18,7 +19,21 @@ The `pycmx` package provides a basic interface for parsing a CMX 3600 EDL and it
## Usage ## Usage
``` ```
>>> import pycmx
>>> edl = pycmx.parse_cmx3600("tests/edls/TEST.edl")
>>> edl.title
'DC7 R1_v8.2'
>>> events = list( edl.events )
>>> len(events)
120
>>> events[43].number
'044'
>>> events[43].edits[0].source_in
'00:00:00:00'
>>> events[43].edits[0].transition.cut
True
>>> events[43].edits[0].record_out
'01:10:21:10'
``` ```
## Should I Use This? ## Should I Use This?