mirror of
https://github.com/iluvcapra/pycmx.git
synced 2025-12-31 08:50:54 +00:00
1.7 KiB
1.7 KiB
pycmx
Python CMX3600 Edit Decision List Parser
The pycmx package provides a basic interface for parsing a CMX3600 EDL.
Features:
- The major variations of the CMX3600, the standard, "File32" and "File128" formats are automatically detected and properly read.
- Remark or comment fields with common recognized forms are read and available to the client, including clip name and source file data.
Usage
import pycmx
pycmx.parse_cmx3600("INS4_R1_010417.edl")
print(events[5:8])
>>> [CmxEvent(title='INS4_R1_010417', number='000006', clip_name='V1A-6A', source_name='A192C008_160909_R1BY', channels=CmxChannelMap(v=True,a1=False,a2=False,a3=False,a4=False), source_start='19:26:38:13', source_finish='19:27:12:03', record_start='01:00:57:15', record_finish='01:01:31:05', fcm_drop=False), CmxEvent(title='INS4_R1_010417', number='000007', clip_name='1-4A', source_name='A188C004_160908_R1BY', channels=CmxChannelMap(v=True,a1=False,a2=False,a3=False,a4=False), source_start='19:29:48:01', source_finish='19:30:01:00', record_start='01:01:31:05', record_finish='01:01:44:04', fcm_drop=False), CmxEvent(title='INS4_R1_010417', number='000008', clip_name='2G-3', source_name='A056C007_160819_R1BY', channels=CmxChannelMap(v=True,a1=False,a2=False,a3=False,a4=False), source_start='19:56:27:14', source_finish='19:56:41:00', record_start='01:01:44:04', record_finish='01:01:57:14', fcm_drop=False)]
Should I Use This?
At this time, this is (at best) alpha software and the interface will be changing often. It may be fun to experiment with but it is not suitable at this time for production code.
Contributions are welcome and will make this module production-ready all the faster! Please reach out or file a ticket!