trait VideoTransformationFlagTrait

Trait VideoTransformationFlagTrait

Methods

noStream()

Don't stream a video that is currently being generated on the fly. Wait until the video is fully generated.

streamingAttachment(string $filename = null)

Causes the video download to begin immediately, streaming it as a fragmented video file.

hlsv3()

Deliver an HLS adaptive bitrate streaming file as HLS v3 instead of the default version (HLS v4).

keepDar()

Keep the Display Aspect Ratio metadata of the uploaded video.

mono()

Convert the audio channel to mono.

truncateTS()

Truncate (trim) a video file based on the start time defined in the metadata.

waveform()

Create a waveform image (in the format specified by the file extension) from the audio or video file.

Details

VideoTransformationFlagTrait noStream()

Don't stream a video that is currently being generated on the fly. Wait until the video is fully generated.

VideoTransformationFlagTrait streamingAttachment(string $filename = null)

Causes the video download to begin immediately, streaming it as a fragmented video file.

Parameters

Name Type Description
$filename string The attachment's filename

Return Value

VideoTransformationFlagTrait

See also

Flag::streamingAttachment

VideoTransformationFlagTrait hlsv3()

Deliver an HLS adaptive bitrate streaming file as HLS v3 instead of the default version (HLS v4).

Return Value

VideoTransformationFlagTrait

See also

Flag::hlsv3

VideoTransformationFlagTrait keepDar()

Keep the Display Aspect Ratio metadata of the uploaded video.

VideoTransformationFlagTrait mono()

Convert the audio channel to mono.

VideoTransformationFlagTrait truncateTS()

Truncate (trim) a video file based on the start time defined in the metadata.

VideoTransformationFlagTrait waveform()

Create a waveform image (in the format specified by the file extension) from the audio or video file.