VideoRendition class

Video rendition

Implemented types

Constructors

VideoRendition({required String $id, required String $createdAt, required String $updatedAt, required String videoId, required String profileId, required String name, required String startedAt, required String endedAt, required int width, required int height, required int videoBitRate, required int audioBitRate, required double targetDuration, required VideoRenditionStatus status, required String error, required int progress, required VideoOutput output, required VideoCodecId codec, required int size})
VideoRendition.fromMap(Map<String, dynamic> map)
factory

Properties

$createdAt → String
Rendition creation time in ISO 8601 format.
final
$id → String
Rendition ID.
final
$updatedAt → String
Rendition update date in ISO 8601 format.
final
audioBitRate → int
Audio bitrate in bits per second.
final
codec → VideoCodecId
Video encode codec snapshotted from the profile at create time: one of h264, hevc, or vp9.
final
endedAt → String
Transcoding end time in ISO 8601 format.
final
error → String
Why the rendition failed or was aborted. Empty unless status is error or aborted.
final
hashCode → int
The hash code for this object.
no setterinherited
height → int
Rendition height in pixels.
final
name → String
Rendition name, derived from its dimensions and bitrate.
final
output → VideoOutput
Streaming output format: hls, dash, or cmaf.
final
profileId → String
Video profile ID this rendition was encoded against.
final
progress → int
Transcoding progress as a percentage, from 0 to 100.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int
Stored rendition size in bytes.
final
startedAt → String
Transcoding start time in ISO 8601 format.
final
status → VideoRenditionStatus
Transcoding status: one of pending, started, ended, ready, error or aborted.
final
targetDuration → double
Longest segment duration in seconds.
final
videoBitRate → int
Video bitrate in bits per second.
final
videoId → String
Video ID.
final
width → int
Rendition width in pixels.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited