MediaInfo

This is the UTF Wrapper for libmediainfo

Members

Functions

close
void close()

Close a file.

get
string get(MediaInfo_stream_t streamKind, size_t streamNumber, size_t parameter, MediaInfo_info_t infoKind)

Get a piece of information about a file (parameter is an integer).

get
string get(MediaInfo_stream_t streamKind, size_t streamNumber, string parameter, MediaInfo_info_t infoKind, MediaInfo_info_t searchKind)

Get a piece of information about a file (parameter is a string).

getCount
size_t getCount(MediaInfo_stream_t streamKind, size_t streamNumber)

Count of streams of a stream kind (StreamNumber not filled), or count of piece of information in this stream.

getState
size_t getState()

(NOT IMPLEMENTED YET) Get the state of the library

inform
string inform(size_t reserved)

String MediaInfoLib::MediaInfo::Inform ( size_t Reserved = 0 ) Get all details about a file.

open
void open(string fileName)

Open a file. Open a file and collect information about it (technical information and tags)

openBufferContinue
size_t openBufferContinue(ubyte* buffer, size_t size)

Open a stream (Continue).

openBufferContinueGoToGet
long openBufferContinueGoToGet()

Open a stream (Get the needed file Offset).

openBufferFinalize
size_t openBufferFinalize()

Open a stream (Finalize).

openBufferInit
size_t openBufferInit(long fileSize, long fileOffset)

Open a stream (Init).

option
string option(const(string) option, const(string) value)

Configure or get information about MediaInfoLib

outputBufferGet
size_t outputBufferGet(const(string) value)

Output the written size when "File_Duplicate" option is used.

outputBufferGet
size_t outputBufferGet(size_t pos)

Output the written size when "File_Duplicate" option is used.

Static functions

opCall
MediaInfo opCall()

Use call operator to initialize resource

Meta