MediaInfo.get

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

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

  1. string get(MediaInfo_stream_t streamKind, size_t streamNumber, size_t parameter, MediaInfo_info_t infoKind)
    struct MediaInfo
    string
    get
    (
    MediaInfo_stream_t streamKind
    ,,
    size_t parameter
    ,
    MediaInfo_info_t infoKind = MediaInfo_info_t.MediaInfo_Info_Text
    )
  2. string get(MediaInfo_stream_t streamKind, size_t streamNumber, string parameter, MediaInfo_info_t infoKind, MediaInfo_info_t searchKind)

Parameters

streamKind MediaInfo_stream_t

Kind of stream (general, video, audio...)

streamNumber size_t

Stream number in Kind of stream (first, second...)

parameter size_t

Parameter you are looking for in the stream (Codec, width, bitrate...), in integer format (first parameter, second parameter...)

infoKind MediaInfo_info_t

Kind of information you want about the parameter (the text, the measure, the help...)

Return Value

Type: string

a string about information you search an empty string if there is a problem

Meta