trim

fun trim(trimStartMs: Long, trimEndMs: Long): Mp4Composer

Trim the video to the provided times. By default the video will not be trimmed.

Return

The composer instance.

Parameters

trimStartMs

The start time of the trim in milliseconds.

trimEndMs

The end time of the trim in milliseconds, -1 for no end.