Articles in this section

Transitions between playlist items

To set a transition for any playlist item you should complete the following steps:

Get the playlist item with PlaylistGetByIndex or PlaylistGetByOffset method.

Set the properties of transition with the PropsSet method.

To set a transition for the beginning of the item you should use "transition_in" group of properties. For the ending, it is "transition_out".

By default, audio and video transitions are simultaneous. If you want to make a delay or change a time for audio transitions you should set transition_in::audio_time (duration of audio transition) and transition_in::audio_delay (delay before audio transition relative to the video transitions, it is possible to set negative value) properties.

audio_time and audio_delay are required only if you need to shift the start of audio transition relative to video.

For example, if total transition time is 2.0 (transition_out::time=2.0) then by default audio and video do the transition simultaneously: audio with 'fade' and video with the transition you set. Transition starts at the same time for audio and video and continues for 2 seconds.

If you need to change the behavior then you should use audio_time and audio_delay parameters: