More information about the programming interface

Complete list of interfaces

There is a exhaustive list of interfaces here.

Capacities of the library

MediaInfo::Options("Info_Version")
MediaInfo::Options("Info_Parameters")
MediaInfo::Options("Info_Parameters_CSV")
MediaInfo::Options("Info_Capacities")
MediaInfo::Options("Info_Codecs")

Open files

MediaInfo::Open("**FILENAME**")
MediaInfoList::Open("**FILENAMES**")

Open buffers

MediaInfo::Open(**Begin**, **Begin_Size**, **End**, **End_Size**)
MediaInfoList::Open(
**Begin**, **Begin_Size**, **End**, **End_Size**)

Formated text

Get output

MediaInfo::Inform(Option)

Customization

MediaInfo::Option("Inform", "**YOUR_TEXT**")
MediaInfo::Option("Inform_Get")
MediaInfo::Options("Complete")
MediaInfo::Options("Complete_Get")

Get a specific item

MediaInfo::Get(**StreamKind**, **StreamNumber**, **Parameter**, **InfoKind**)
MediaInfo::Count_Get(**StreamKind**, **StreamNumber**)

Note : If **StreamNumber** is -1, return the count of stream of that kind (equivalent but quicker than MediaInfo::Get(**StreamKind**, 0, "StreamCount", Info_Text))

Note : Only for "C" (DLL) interface :
MediaInfo_GetI
is a replacement for MediaInfo_GetI for **Parameter** with Integer, because C doesn't support operator overloading

Set a specific item

Note : not yet implement, do not use it!

State of the library

Note : not yet implement, do not use it!

Close files

MediaInfo::Close()

Save files

Note : not yet implement, do not use it!

Language

MediaInfo::Options("Language")
MediaInfo::Options("Language_Get")
MediaInfo::Options("Language_Update")

Options

C++ specific : static options

Note for C++ developpers : file independant options can be set without have created an object, with :
MediaInfo::Options_Static(...)

Internet connection

MediaInfo::Options("Internet")

Internet update

Note : not yet implement, do not use it!