VideoEdit
abstract class VideoEdit
Methods for editing a video.
Learn more: Video manipulation
Methods
trim(mixed $startOffset = null, mixed $endOffset = null, mixed $duration = null)
Trims a video (and discards the rest).
preview(int $duration = null)
Generates an excerpt of the video based on Cloudinary's AI-powered preview algorithm, which identifies the most interesting video chunks from a video and uses these to generate a video preview.
Details
static Timeline
trim(mixed $startOffset = null, mixed $endOffset = null, mixed $duration = null)
Trims a video (and discards the rest).
static Concatenate
concatenate(VideoSource|string $videoSource)
Concatenates another video or image.
static Preview
preview(int $duration = null)
Generates an excerpt of the video based on Cloudinary's AI-powered preview algorithm, which identifies the most interesting video chunks from a video and uses these to generate a video preview.
static EffectAction
volume(int|Volume $level)
Increases or decreases the volume by a percentage of the current volume.
Also see \Cloudinary\Transformation\Volume for different ways to change the volume.