# Class SegmentSettings (1.21.0)

1.21.0 (latest) 1.20.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.2 1.14.0 1.13.1 1.12.5 1.11.0 1.10.1 1.9.1 1.8.2 1.7.0 1.6.1 1.5.0 1.4.3 1.3.2 1.2.1 1.1.0 1.0.1 0.5.1 0.4.1 0.3.1 0.2.1 0.1.0

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

Segment settings for `ts`, `fmp4` and `vtt`.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `segment_duration` | `google.protobuf.duration_pb2.Duration` Duration of the segments in seconds. The default is `6.0s`. Note that `segmentDuration` must be greater than or equal to gopDuration` <#videostream>__, and segmentDuration must be divisible by gopDuration\`` <#videostream>`__. |
| `individual_segments` | `bool` Required. Create an individual segment file. The default is `false`. |