VideoInfo class

What a preview has to satisfy, read straight out of the container.

Constructors

VideoInfo({required int width, required int height, required Duration duration, required double frameRate, required String codec, required VideoContainer container, required int fileSize, required int audioChannels})
const

Properties

audioChannels → int
Channels in the first audio track, 0 when the file has none.
final
codec → String
The video track's sample-description format, as the four characters the file carries: avc1 for H.264, apch for ProRes 422 HQ, hvc1 for the HEVC Apple does not take.
final
container → VideoContainer
final
duration → Duration
Whole-movie duration, from mvhd.
final
fileSize → int
Length of the whole file in bytes, which is also a limit Apple enforces and one nothing else here would carry.
final
frameRate → double
Frames per second, derived from the video track's sample table.
final
hashCode → int
The hash code for this object.
no setterinherited
height → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → int
Display dimensions, after any rotation the track matrix asks for.
final

Methods

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

Operators

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