Duration of the segments in seconds. The default is6.0s. Note thatsegmentDurationmust be greater than or equal togopDuration, andsegmentDurationmust be divisible bygopDuration.
↳ individual_segments
bool
Required. Create an individual segment file. The default isfalse.
getSegmentDuration
Duration of the segments in seconds. The default is6.0s. Note thatsegmentDurationmust be greater than or equal togopDuration, andsegmentDurationmust be divisible bygopDuration.
Duration of the segments in seconds. The default is6.0s. Note thatsegmentDurationmust be greater than or equal togopDuration, andsegmentDurationmust be divisible bygopDuration.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Video Transcoder V1 Client - Class SegmentSettings (1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/php/docs/reference/cloud-video-transcoder/latest/V1.SegmentSettings)\n- [1.0.3](/php/docs/reference/cloud-video-transcoder/1.0.3/V1.SegmentSettings)\n- [0.10.5](/php/docs/reference/cloud-video-transcoder/0.10.5/V1.SegmentSettings)\n- [0.9.1](/php/docs/reference/cloud-video-transcoder/0.9.1/V1.SegmentSettings)\n- [0.8.2](/php/docs/reference/cloud-video-transcoder/0.8.2/V1.SegmentSettings)\n- [0.7.1](/php/docs/reference/cloud-video-transcoder/0.7.1/V1.SegmentSettings)\n- [0.6.0](/php/docs/reference/cloud-video-transcoder/0.6.0/V1.SegmentSettings)\n- [0.5.3](/php/docs/reference/cloud-video-transcoder/0.5.3/V1.SegmentSettings) \nReference documentation and code samples for the Google Cloud Video Transcoder V1 Client class SegmentSettings.\n\nSegment settings for `ts`, `fmp4` and `vtt`.\n\nGenerated from protobuf message `google.cloud.video.transcoder.v1.SegmentSettings`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Video \\\\ Transcoder \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSegmentDuration\n\nDuration of the segments in seconds. The default is `6.0s`. Note that\n`segmentDuration` must be greater than or equal to\n[`gopDuration`](#videostream), and `segmentDuration` must be divisible by\n[`gopDuration`](#videostream).\n\n### hasSegmentDuration\n\n### clearSegmentDuration\n\n### setSegmentDuration\n\nDuration of the segments in seconds. The default is `6.0s`. Note that\n`segmentDuration` must be greater than or equal to\n[`gopDuration`](#videostream), and `segmentDuration` must be divisible by\n[`gopDuration`](#videostream).\n\n### getIndividualSegments\n\nRequired. Create an individual segment file. The default is `false`.\n\n### setIndividualSegments\n\nRequired. Create an individual segment file. The default is `false`."]]