MediaFile

A class that decodes media file.

Constructors

this
this(string path)

Destructor

~this
~this()

Members

Functions

decodeNextImage
BitmapRGBA decodeNextImage()

Decodes and returns next image as RGBA bitmap.

dispose
void dispose()

Releases all ffmpeg contexts.

Properties

hasVideoStream
hasVideoStream [@property getter]

Checks if the media file has video/image stream.

Variables

_file
FFReader* _file;
Undocumented in source.
_video
FFStream* _video;
Undocumented in source.

Meta