mirror of
https://github.com/iluvcapra/pycmx.git
synced 2026-01-01 17:30:55 +00:00
updated code example
This commit is contained in:
44
README.md
44
README.md
@@ -12,27 +12,29 @@ The `pycmx` package provides a basic interface for parsing a CMX 3600 EDL and it
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```
|
```
|
||||||
import pycmx
|
|
||||||
pycmx.parse_cmx3600("INS4_R1_010417.edl")
|
>>> import pycmx
|
||||||
print(events[5:8])
|
>>> events = pycmx.parse_cmx3600("INS4_R1_010417.edl")
|
||||||
>>> [CmxEvent(title='INS4_R1_010417', number='000006',
|
>>> print(events[5:8])
|
||||||
clip_name='V1A-6A', source_name='A192C008_160909_R1BY',
|
[CmxEvent(title='INS4_R1_010417', number='000006',
|
||||||
channels=CmxChannelMap(v=True,a1=False,a2=False,a3=False,a4=False),
|
clip_name='V1A-6A', source_name='A192C008_160909_R1BY',
|
||||||
source_start='19:26:38:13', source_finish='19:27:12:03',
|
channels=CmxChannelMap(v=True, audio_channels=set()),
|
||||||
record_start='01:00:57:15', record_finish='01:01:31:05',
|
source_start='19:26:38:13', source_finish='19:27:12:03',
|
||||||
fcm_drop=False),
|
record_start='01:00:57:15', record_finish='01:01:31:05',
|
||||||
CmxEvent(title='INS4_R1_010417', number='000007',
|
fcm_drop=False),
|
||||||
clip_name='1-4A', source_name='A188C004_160908_R1BY',
|
CmxEvent(title='INS4_R1_010417', number='000007',
|
||||||
channels=CmxChannelMap(v=True,a1=False,a2=False,a3=False,a4=False),
|
clip_name='1-4A', source_name='A188C004_160908_R1BY',
|
||||||
source_start='19:29:48:01', source_finish='19:30:01:00',
|
channels=CmxChannelMap(v=True, audio_channels=set()),
|
||||||
record_start='01:01:31:05', record_finish='01:01:44:04',
|
source_start='19:29:48:01', source_finish='19:30:01:00',
|
||||||
fcm_drop=False),
|
record_start='01:01:31:05', record_finish='01:01:44:04',
|
||||||
CmxEvent(title='INS4_R1_010417', number='000008',
|
fcm_drop=False),
|
||||||
clip_name='2G-3', source_name='A056C007_160819_R1BY',
|
CmxEvent(title='INS4_R1_010417', number='000008',
|
||||||
channels=CmxChannelMap(v=True,a1=False,a2=False,a3=False,a4=False),
|
clip_name='2G-3', source_name='A056C007_160819_R1BY',
|
||||||
source_start='19:56:27:14', source_finish='19:56:41:00',
|
channels=CmxChannelMap(v=True, audio_channels=set()),
|
||||||
record_start='01:01:44:04', record_finish='01:01:57:14',
|
source_start='19:56:27:14', source_finish='19:56:41:00',
|
||||||
fcm_drop=False)]
|
record_start='01:01:44:04', record_finish='01:01:57:14',
|
||||||
|
fcm_drop=False)]
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Known Issues/Roadmap
|
## Known Issues/Roadmap
|
||||||
|
|||||||
Reference in New Issue
Block a user