File: ReadMe.txt

package info (click to toggle)
libmediainfo 18.12-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 15,704 kB
  • sloc: cpp: 188,861; ansic: 5,215; asm: 2,081; xml: 1,264; java: 1,032; cs: 944; sh: 939; python: 653; makefile: 382; pascal: 197
file content (58 lines) | stat: -rw-r--r-- 2,296 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
MediaInfo.lib : static library
MediaInfo.Dll : dynamic library
HowToUse.exe  : static-linked example
HowToUse_Dll  : dynamic-linked example

For DLL, there are two versions of functions :
- MediaInfoLib_XXX : Unicode version (international, UTF16, 2-byte characters), this is the main version, there is not only English language in the world ;-). So, now, Chinese / French / German languages can be showed at the same time.
- MediaInfoLibA_XXX : Deprecated, Ansi version (localized, UTF8, 1-byte characters), as the old DLL : you should link your old code to these functions.

MediaInfo library (static and/or shared) can be compiled within these different tools :
- Project/BCB        : Borland C++ Builder 6
- Project/CMake      : cmake, C++
- Project/CodeBlocks : C++
- Project/GNU        : g++, C++
- Project/MSVC2005   : Visual Studio 9  (aka 2005), C++
- Project/MSVC2008   : Visual Studio 10 (aka 2008), C++
- Project/MSVC2010   : Visual Studio 11 (aka 2010), C++
- Project/MSVC2012   : Visual Studio 12 (aka 2012), C++
- Project/Solaris    : g++, C++

Examples for using the MediaInfo library are given under those folders :
- Project/Delphi     : Borland Delphi 7
- Project/Java       : Java
- Project/MSCS2008   : Visual Studio 10 (aka 2008), C#
- Project/MSCS2010   : Visual Studio 11 (aka 2010), C#
- Project/MSJS       : Visual Studio 7.1 (aka 2003), J#
- Project/MSVB       : Visual Studio 7.1 (aka 2003), Basic (and no more VB6 code)
- Project/MSVB2010   : Visual Studio 11 (aka 2010), Basic
- Project/NetBeans   : Java binding
- Project/PureBasic  : Basic

MediaInfo library needs only 2 extra libraries to compile properly :
- zenlib.lib
- zlib.lib

You can enable or disable format support with Compilation macro defines :
MEDIAINFO_XXX_NO or MEDIAINFO_XXX_YES (if both are defined, NO is choosen)
XXX may be :
- VIDEO (all videos)
- AUDIO (all audios)
- RIFF : Microsoft Avi, Wav...
- OGG : Ogg, Ogm...
- MPEG : Mpg, Mpeg, Vob...
- MPEG4 : Mp4, M4a, M4v...
- MPEGA : mpa, mp2, mp3...
- MPEGV : mpv, m2v...
- WM : Wma, Wmv...
- QT : Qt, Mov...
- RM : Rm, Rmvb...
- DVDV : Ifo of DVD
- AAC : Aac
- DTS : Dts
- AC3 : Ac3
- MK : Matroska
- APE : Monkey Audio, Ape, Mac...
- FLAC : Flac
- SNDFILE : SndFile related
- etc...