# Class SegmentSettings (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.1 1.8.1 1.7.4 1.6.0 1.5.2 1.4.1 1.3.0 1.2.1 1.1.0 1.0.4 0.2.0 0.1.5

    SegmentSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Segment settings for `fmp4` and `ts`.

| ## Attribute ||
|---|---|
| **Name** | **Description** |
| `segment_duration` | `google.protobuf.duration_pb2.Duration` Duration of the segments in seconds. The default is `6s`. Note that `segmentDuration` must be greater than or equal to gop_duration, and `segmentDuration` must be divisible by gop_duration. Valid range is \[2s, 20s\]. All mux_streams in the same manifest must have the same segment duration. |