class Concatenate extends VideoOverlay

Indicates that the video should be concatenated on to the container video and not added as an overlay.

Methods

__construct(BaseSource|string $source = null)

Concatenate constructor.

timeline(Timeline $timeline = null)

Sets the timeline position of the overlay.

cutter()

Indicates that the video should be used as a cutter for the main video.

source(BaseSource $source)

Sets the source.

position(Position $position = null)

Sets the layer position.

videoSource(mixed $source)

Concatenate video.

audioSource(mixed $source)

Concatenate audio.

imageSource(mixed $source)

Concatenate image.

prepend(bool $prepend = true)

Indicates whether to concatenate the video before the original video.

transition(BaseSource|mixed $source)

Specifies the video to use as a transition.

duration(mixed $duration)

Sets the duration of the source video to keep.

Details

__construct(BaseSource|string $source = null)

Concatenate constructor.

Parameters

Name Type Description
$source BaseSource|string

BasePositionalSourceContainer timeline(Timeline $timeline = null)

Sets the timeline position of the overlay.

Parameters

Name Type Description
$timeline Timeline The timeline position of the overlay.

Return Value

BasePositionalSourceContainer

$this cutter()

Indicates that the video should be used as a cutter for the main video.

Return Value

$this

VideoOverlay source(BaseSource $source)

Sets the source.

Parameters

Name Type Description
$source BaseSource The source.

Return Value

VideoOverlay

VideoOverlay position(Position $position = null)

Sets the layer position.

Parameters

Name Type Description
$position Position The Position of the layer.

Return Value

VideoOverlay

static VideoSource videoSource(mixed $source)

Concatenate video.

Parameters

Name Type Description
$source mixed The video source.

Return Value

VideoSource

static AudioSource audioSource(mixed $source)

Concatenate audio.

Parameters

Name Type Description
$source mixed The audio source.

Return Value

AudioSource

static ImageSource imageSource(mixed $source)

Concatenate image.

Parameters

Name Type Description
$source mixed The image source.

Return Value

ImageSource

$this prepend(bool $prepend = true)

Indicates whether to concatenate the video before the original video.

Parameters

Name Type Description
$prepend bool

Return Value

$this

$this transition(BaseSource|mixed $source)

Specifies the video to use as a transition.

Parameters

Name Type Description
$source BaseSource|mixed A luma matte transition video.

Return Value

$this

$this duration(mixed $duration)

Sets the duration of the source video to keep.

  • Always appears in the same component next to the l_{source}, and not next to the fl_layer_apply.

Parameters

Name Type Description
$duration mixed The length of the part of the video to keep. This can be specified as a float representing the time in seconds or a string representing the percentage of the video length (for example, "30%" or "30p").

Return Value

$this