Reference documentation and code samples for the Transcoder V1 API class Google::Cloud::Video::Transcoder::V1::SegmentSettings.
Segment settings for ts
, fmp4
and vtt
.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#individual_segments
def individual_segments() -> ::Boolean
Returns
-
(::Boolean) — Required. Create an individual segment file. The default is
false
.
#individual_segments=
def individual_segments=(value) -> ::Boolean
Parameter
-
value (::Boolean) — Required. Create an individual segment file. The default is
false
.
Returns
-
(::Boolean) — Required. Create an individual segment file. The default is
false
.
#segment_duration
def segment_duration() -> ::Google::Protobuf::Duration
Returns
-
(::Google::Protobuf::Duration) — Duration of the segments in seconds. The default is
6.0s
. Note thatsegmentDuration
must be greater than or equal togopDuration
, andsegmentDuration
must be divisible bygopDuration
.
#segment_duration=
def segment_duration=(value) -> ::Google::Protobuf::Duration
Parameter
-
value (::Google::Protobuf::Duration) — Duration of the segments in seconds. The default is
6.0s
. Note thatsegmentDuration
must be greater than or equal togopDuration
, andsegmentDuration
must be divisible bygopDuration
.
Returns
-
(::Google::Protobuf::Duration) — Duration of the segments in seconds. The default is
6.0s
. Note thatsegmentDuration
must be greater than or equal togopDuration
, andsegmentDuration
must be divisible bygopDuration
.