FfmpegDecoder class

An AudioDecoder that runs the ffmpeg program. Use it with TrackAnalyzer(FfmpegDecoder()).

Implemented types

Constructors

FfmpegDecoder({String ffmpeg = 'ffmpeg'})
Creates a decoder. ffmpeg is the executable name or full path.
const

Properties

ffmpeg → String
The ffmpeg executable.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(String path) → Future<DecodedAudio?>
Decodes path, or returns null on failure.
override
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