clip

fun clip(start: Duration, end: Duration? = null): MediaItemBuilder

See MediaItem.clip. A null end runs to the end of the file.