FfmpegStream class

A single video/audio stream pair within an FFMPEG filter graph.

A stream might include a video ID, or an audio ID, or both.

Every filter chain in an FFMPEG filter graph requires one or more input streams, and produces one or more output streams. From a CLI perspective, these streams are just string names within the filter graph configuration. However, these string names need to match, as outputs from one filter chain are used as inputs in another filter chain. To that end, these streams are represented by this class.

Constructors

FfmpegStream({String? videoId, String? audioId})
const

Properties

audioId String?
Handle to an audio stream, e.g., "0:a".
final
audioOnly FfmpegStream
Returns a copy of this stream with just the audio stream handle.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
videoId String?
Handle to a video stream, e.g., "0:v".
final
videoOnly FfmpegStream
Returns a copy of this stream with just the video stream handle.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCliList() List<String>
Returns the video and audio handles for this stream in a list, to pass into a filter graph as filter inputs or outputs, e.g., "0:v 0:a".
toString() String
A string representation of this object.
override

Operators

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