trait TranscodeTrait

Trait TranscodeTrait

Methods

videoCodec(VideoCodec|string $codec)

Controls the video codec.

toAnimated($animatedImageFormat = null)

Converts a video to animated image.

Details

static BitRate videoCodec(VideoCodec|string $codec)

Controls the video codec.

Parameters

Name Type Description
$codec VideoCodec|string The video codec.

Return Value

BitRate

See also

BitRate

static ToAnimatedAction toAnimated($animatedImageFormat = null)

Converts a video to animated image.

Parameters

Name Type Description
$animatedImageFormat

Return Value

ToAnimatedAction

See also

BitRate