mirror of
https://github.com/iluvcapra/pycmx.git
synced 2025-12-31 17:00:53 +00:00
Update README.md
This commit is contained in:
19
README.md
19
README.md
@@ -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?
|
||||||
|
|||||||
Reference in New Issue
Block a user