Overview
Dissolve is an alias for CrossFade with identical behavior. It smoothly blends from one clip to another by fading out the first clip while simultaneously fading in the second clip. This applies to both video (opacity) and audio (volume).
Dissolve and CrossFade are the same transition effect. Use whichever name you prefer - both produce identical results.Requires overlapping clips: The clips must have overlapping time ranges with at least
duration seconds of overlap.Constructor
Parameters
Duration of the dissolve effect in seconds. The clips must overlap by at least this amount.
Methods
apply()
Apply the dissolve transition between two clips.Parameters
The outgoing clip that will fade out at the end. The fade-out occurs during the last
duration seconds of this clip.The incoming clip that will fade in at the beginning. The fade-in occurs during the first
duration seconds of this clip.Raises
- ValueError: If clips don’t have sufficient overlap for the transition duration
- ValueError: If clips are not in proper sequence (clip2 must start after clip1)
Usage Examples
Basic Dissolve
Dissolve vs CrossFade (Identical)
These two examples produce exactly the same result:Multiple Dissolves in Sequence
Dissolve with Image Clips
How It Works
The dissolve transition works identically to CrossFade:Video Dissolve
- Clip1 fade-out: During the last
durationseconds, opacity gradually decreases from 1.0 to 0.0 - Clip2 fade-in: During the first
durationseconds, opacity gradually increases from 0.0 to 1.0 - The overlapping region shows both clips blended together
Audio Dissolve
If both clips areVideoClip instances with audio:
- Clip1 audio fade-out: Volume decreases at the end
- Clip2 audio fade-in: Volume increases at the beginning
- Creates smooth audio transition without abrupt cuts
Common Errors
When to Use Dissolve vs CrossFade
Both names are valid and produce identical results:- Use
CrossFadeif you think of the effect as “cross-fading” between clips - Use
Dissolveif you prefer traditional video editing terminology - Use either - they are functionally identical
In traditional video editing, “dissolve” and “crossfade” are often used interchangeably. MovieLite provides both names for convenience.
Implementation Details
Dissolve is implemented as a direct subclass of CrossFade with no additional modifications:
/home/daytona/workspace/source/src/movielite/vtx/dissolve.py:4
See Also
- CrossFade - Identical transition with different name
- BlurDissolve - Dissolve with blur effect
- vtx Overview - All video transitions
- Fade effect - Simple fade in/out for single clips