MLT 7.40.0
Multimedia Framework
Public Member Functions | Properties | Static Private Attributes
mlt.Transition Class Reference
Inheritance diagram for mlt.Transition:
Inheritance graph
[legend]
Collaboration diagram for mlt.Transition:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, *args)
 
 connect (self, *args)
 
 get_a_track (self)
 
 get_b_track (self)
 
 get_in (self)
 
 get_length (self)
 
 get_out (self)
 
 get_position (self, frame)
 
 get_progress (self, frame)
 
 get_progress_delta (self, frame)
 
 get_service (self)
 
 get_transition (self)
 
 set_in_and_out (self, _in, out)
 
 set_tracks (self, a_track, b_track)
 
- Public Member Functions inherited from mlt.Service
 attach (self, filter)
 
 connect_producer (self, producer, index=0)
 
 consumer (self)
 
 detach (self, filter)
 
 disconnect_all_producers (self)
 
 disconnect_producer (self, index=0)
 
 filter (self, index)
 
 filter_count (self)
 
 get_frame (self, index=0)
 
 get_profile (self)
 
 get_properties (self)
 
 insert_producer (self, producer, index=0)
 
 lock (self)
 
 move_filter (self, _from, to)
 
 producer (self)
 
 profile (self)
 
 set_consumer (self, service)
 
 set_profile (self, *args)
 
 type (self)
 
 unlock (self)
 
- Public Member Functions inherited from mlt.Properties
 anim_get (self, name, position, length=0)
 
 anim_get_color (self, name, position, length=0)
 
 anim_get_double (self, name, position, length=0)
 
 anim_get_int (self, name, position, length=0)
 
 anim_get_rect (self, name, position, length=0)
 
 anim_set (self, *args)
 
 block (self, object=None)
 
 clear (self, name)
 
 copy (self, that, prefix)
 
 count (self)
 
 debug (self, *args)
 
 dec_ref (self)
 
 dump (self, *args)
 
 fire_event (self, event)
 
 frames_to_time (self, arg2, arg3=mlt_time_smpte_df)
 
 get (self, *args)
 
 get_anim (self, name)
 
 get_animation (self, name)
 
 get_color (self, name)
 
 get_data (self, *args)
 
 get_double (self, name)
 
 get_int (self, name)
 
 get_int64 (self, name)
 
 get_lcnumeric (self)
 
 get_name (self, index)
 
 get_props (self, name)
 
 get_props_at (self, index)
 
 get_rect (self, name)
 
 get_time (self, name, arg3=mlt_time_smpte_df)
 
 inc_ref (self)
 
 inherit (self, that)
 
 is_anim (self, name)
 
 is_sequence (self)
 
 is_valid (self)
 
 listen (self, id, object, arg4)
 
 load (self, file)
 
 mirror (self, that)
 
 parse (self, namevalue)
 
 pass_list (self, that, list)
 
 pass_property (self, that, name)
 
 pass_values (self, that, prefix)
 
 preset (self, name)
 
 property_exists (self, name)
 
 ref_count (self)
 
 rename (self, source, dest)
 
 save (self, file)
 
 serialise_yaml (self)
 
 set (self, *args)
 
 set_lcnumeric (self, locale)
 
 set_string (self, name, value)
 
 setup_wait_for (self, id)
 
 time_to_frames (self, time)
 
 unblock (self, object=None)
 
 wait_for (self, *args)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from mlt.Service
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from mlt.Properties
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Static Private Attributes

 __repr__ = _swig_repr
 
 __swig_destroy__ = _mlt7.delete_Transition
 

Additional Inherited Members

- Static Public Member Functions inherited from mlt.Properties
 delete_event (arg1)
 
 parse_yaml (file)
 

Detailed Description

Proxy of C++ Mlt::Transition class.

Constructor & Destructor Documentation

◆ __init__()

mlt.Transition.__init__ (   self,
args 
)
    *Overload 1:*
    Construct and instantiate transition ``id`` from the repository.

    |

    *Overload 2:*
    Construct and instantiate transition ``id`` from the repository.

    |

    *Overload 3:*
    Wrap an existing ::mlt_transition handle.

Reimplemented from mlt.Service.

Member Function Documentation

◆ connect()

mlt.Transition.connect (   self,
args 
)

◆ get_a_track()

mlt.Transition.get_a_track (   self)
 Return the A-track index.

◆ get_b_track()

mlt.Transition.get_b_track (   self)
 Return the B-track index.

◆ get_in()

mlt.Transition.get_in (   self)
 Return the in-point frame number.

◆ get_length()

mlt.Transition.get_length (   self)
 Return the duration (out - in + 1).

◆ get_out()

mlt.Transition.get_out (   self)
 Return the out-point frame number.

◆ get_position()

mlt.Transition.get_position (   self,
  frame 
)
 Return the current position of ``frame`` relative to the transition's in-point.

◆ get_progress()

mlt.Transition.get_progress (   self,
  frame 
)
 Return the playback progress in the range [0.0, 1.0].

◆ get_progress_delta()

mlt.Transition.get_progress_delta (   self,
  frame 
)
 Return the per-frame progress delta.

◆ get_service()

mlt.Transition.get_service (   self)

Reimplemented from mlt.Service.

◆ get_transition()

mlt.Transition.get_transition (   self)

◆ set_in_and_out()

mlt.Transition.set_in_and_out (   self,
  _in,
  out 
)
 Restrict this transition to the frame range [``in``, ``out]``.

◆ set_tracks()

mlt.Transition.set_tracks (   self,
  a_track,
  b_track 
)
 Set which tracks this transition blends (A = lower, B = upper).

Field Documentation

◆ __repr__

mlt.Transition.__repr__ = _swig_repr
staticprivate

◆ __swig_destroy__

mlt.Transition.__swig_destroy__ = _mlt7.delete_Transition
staticprivate

Property Documentation

◆ thisown

mlt.Transition.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

The documentation for this class was generated from the following file: