Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class SegmentSettings.
Segment settings for ts
, fmp4
and vtt
.
Generated from protobuf message google.cloud.video.transcoder.v1.SegmentSettings
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ segment_duration
Google\Protobuf\Duration
Duration of the segments in seconds. The default is 6.0s
. Note that segmentDuration
must be greater than or equal to gopDuration
, and segmentDuration
must be divisible by gopDuration
.
↳ individual_segments
bool
Required. Create an individual segment file. The default is false
.
getSegmentDuration
Duration of the segments in seconds. The default is 6.0s
. Note that segmentDuration
must be greater than or equal to gopDuration
, and segmentDuration
must be divisible by gopDuration
.
hasSegmentDuration
clearSegmentDuration
setSegmentDuration
Duration of the segments in seconds. The default is 6.0s
. Note that segmentDuration
must be greater than or equal to gopDuration
, and segmentDuration
must be divisible by gopDuration
.
$this
getIndividualSegments
Required. Create an individual segment file. The default is false
.
bool
setIndividualSegments
Required. Create an individual segment file. The default is false
.
var
bool
$this