pycmx Classes¶
-
class
pycmx.edit_list.
EditList
(statements)[source]¶ Represents an entire edit decision list as returned by parse_cmx3600().
-
channels
¶ Return the union of every channel channel.
-
events
¶ A generator for all the events in the edit list
-
format
¶ The detected format of the EDL. Possible values are: 3600,`File32`, File128, and unknown
-
sources
¶ A generator for all of the sources in the list
-
title
¶ The title of this edit list.
-
unrecognized_statements
¶ A generator for all the unrecognized statements in the list.
-
-
class
pycmx.event.
Event
(statements)[source]¶ Represents a collection of :class:`Edit`s, all with the same event number.
-
edits
¶ Returns the edits. Most events will have a single edit, a single event will have multiple edits when a dissolve, wipe or key transition needs to be performed.
-
number
¶ Return the event number.
-
unrecognized_statements
¶ A generator for all the unrecognized statements in the event.
-
-
class
pycmx.edit.
Edit
(edit_statement, audio_ext_statement, clip_name_statement, source_file_statement, trans_name_statement=None)[source]¶ An individual source-to-record operation, with a source roll, source and recorder timecode in and out, a transition and channels.
-
aux_source
¶ An auxiliary source is the source of this event.
-
black
¶ Black video or silence should be used as the source for this event.
-
channels
¶ Get the
ChannelMap
object associated with this Edit.
-
clip_name
¶ Get the clip name, as attested by a “* FROM CLIP NAME” or “* TO CLIP NAME” remark on the EDL. This will return None if the information is not present.
-
line_number
¶ Get the line number for the “standard form” statement associated with this edit. Line numbers a zero-indexed, such that the “TITLE:” record is line zero.
-
record_in
¶ Get the record in timecode.
-
record_out
¶ Get the record out timecode.
-
source
¶ Get the source column. This is the 8, 32 or 128-character string on the event record line, this usually references the tape name of the source.
-
source_file
¶ Get the source file, as attested by a “* SOURCE FILE” remark on the EDL. This will return None if the information is not present.
-
source_in
¶ Get the source in timecode.
-
source_out
¶ Get the source out timecode.
-
transition
¶ Get the
Transition
object associated with this edit.
-
-
class
pycmx.transition.
Transition
(transition, operand, name=None)[source]¶ A CMX transition: a wipe, dissolve or cut.
-
cut
¶ True if this transition is a cut.
-
dissolve
¶ True if this traansition is a dissolve.
-
effect_duration
¶ The duration of this transition, in frames of the record target.
In the event of a key event, this is the duration of the fade in.
-
key_background
¶ True if this edit is a key background.
-
key_foreground
¶ True if this edit is a key foreground.
-
key_out
¶ True if this edit is a key out. This material will removed from the key foreground and replaced with the key background.
-
kind
¶ Return the kind of transition: Cut, Wipe, etc
-
wipe
¶ True if this transition is a wipe.
-
wipe_number
¶ Wipes are identified by a particular number.
-
-
class
pycmx.channel_map.
ChannelMap
(v=False, audio_channels={})[source]¶ Represents a set of all the channels to which an event applies.
-
a1
¶ True if A1 is included
-
a2
¶ True if A2 is included
-
a3
¶ True if A3 is included
-
a4
¶ True if A4 is included
-
audio
¶ True if an audio channel is included
-
channels
¶ A generator for each audio channel
-
video
¶ True if video is included
-