More information about the programming interface

Capacities of the library

MediaInfo::Option("Info_Version")
MediaInfo::Option("Info_Parameters")
MediaInfo::Option("Info_Parameters_CSV")
MediaInfo::Option("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::Option("Complete")
MediaInfo::Option("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_Get 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::Option("Language")
MediaInfo::Option("Language_Get")
MediaInfo::Option("Language_Update")

Other

C++ specific : static options

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

Internet connection

MediaInfo::Option("Internet")

Internet update

Note : not yet implement, do not use it!