VideoTransformationInterface
interface VideoTransformationInterface implements CommonTransformationInterface
Interface VideoTransformationInterface
Methods
trim(Timeline $range)
Shortens a video to the specified range.
roundCorners(int|string $radius)
Rounds the corners of a video.
overlay(BaseSource|string $videoLayer, BasePosition|null $position = null, Timeline|null $timeline = null)
Adds another video, text or image as an overlay over the container video.
cutter(VideoSource|string $videoLayer, BasePosition|null $position = null, Timeline|null $timeline = null)
Applies the video as a cutter for the main video.
addSubtitles(string $subtitlesId)
Adds subtitles to the video.
transcode(AudioCodec|VideoCodec|AudioFrequency|ToAnimatedAction $transcode)
Transcodes the video (or audio) to another format.
Details
VideoTransformationInterface
trim(Timeline $range)
Shortens a video to the specified range.
VideoTransformationInterface
roundCorners(int|string $radius)
Rounds the corners of a video.
VideoTransformationInterface
overlay(BaseSource|string $videoLayer, BasePosition|null $position = null, Timeline|null $timeline = null)
Adds another video, text or image as an overlay over the container video.
VideoTransformationInterface
concatenate(Concatenate|VideoSource|string $videoLayer)
Concatenates another video or image.
VideoTransformationInterface
cutter(VideoSource|string $videoLayer, BasePosition|null $position = null, Timeline|null $timeline = null)
Applies the video as a cutter for the main video.
mixed
addSubtitles(string $subtitlesId)
Adds subtitles to the video.
VideoTransformationInterface
transcode(AudioCodec|VideoCodec|AudioFrequency|ToAnimatedAction $transcode)
Transcodes the video (or audio) to another format.