By default, without any licenses, both SDKs work in trial mode. It means that all the features are available in trial mode, but you may have some restrictions if you activate only part of the licenses:
License | Restriction | Having a license allows you | |
---|---|---|---|
MPlatform SDK | medialooks logo |
|
|
Decoder lib | feature will not work |
decode files and streams |
|
Encoder lib | medialooks logo |
encode files and streams without a logo |
|
MFormats SDK | MFormats Pro | medialooks logo |
|
MFormats Expert | medialooks logo |
|
|
MFormats Ultimate | medialooks logo |
|
|
Streaming Pack | medialooks logo |
stream DVB and SRT |
|
Character Generator | medialooks logo |
|
|
Closed Captions lib | feature will not work | insert and read CC, subtitles, SCTE-35 and SCTE-104 | |
Chroma Key plugin | medialooks logo | work with green screen technology with advanced spill suppression algorithm | |
ASIO plugin | feature will not work | add ASIO to devices list | |
ST2110 Compatibility Pack | medialooks logo | work with ST2110 cards (BMD, AJA, Deltacast) | |
MFShader plugin | medialooks logo | transform video with custom HLSL shaders | |
HTML5 Plugin | medialooks logo | work with graphics layouts and animation via JavaScript and WebGL | |
Audio normalization | medialooks logo | included in the MPlatform SDK license or MFormats Ultimate |
Once purchased, you'll get an archive with 2 sets of licenses — development and deployment. Both types remove the overlay and limit an SDK to work according to the purchased edition or components. If you use some components without licenses, you'll have an error (for example, if you try to open an MXF file with MFormats Professional) or the logo overlay is back (in case you encode a file with MPlatform SDK without Encoder Lib license).
Development license
.development.lic files do not require activation from code. Just put the LIC files into the folders where the SDKs DLLs are located. For example:
Program Files (x86)\Medialooks\MPlatform SDK\Bin\x86" and "Program Files (x64)\Medialooks\MPlatform SDK\Bin\x64
Once implemented, the logo overlay is hidden.
Note please that it is not recommended to use LIC files for redistribution of your applications. Once the subscription is over the logo overlay on your video is back even if you use a proper release.
In addition, please be careful changing the system time - once you use development licenses with "expired" system time, they will always show the logo after that.
Deployment license
This type of license is recommended to redistribute your application. The files are provided together with code samples (for each development environment that we support). The provided code should be added to your application. These license files will work forever with any product version that is released while (or was released before) your subscription is valid.
How to use:
- Extract the archive and open the Deployment folder.
- There you will find a set of code files (.cs, .pas, .cls, .vb, .h).
- Choose the code file depending on the programming language that you are going to use in your project (.cs file for C#, .pas for Delphi, .cls for VB6, .vb for VB.Net and .h for C++) and follow the instructions provided in the file.
Typical scenario of license activation
- Make sure that MLProxy.dll is registered. The file is located in /bin/x86 and /bin/x64 folders of the SDK's directory.
- Add MLProxy.dll as a reference to your project in your IDE.
- Add a proper code file from the Deployment folder of your license archive to your project.
- Call the protection initialization method before you create any of the SDK's objects. Usually, it is recommended to do within your application constructor.
MPlatformSDKLic.IntializeProtection();
DecoderlibLic.IntializeProtection();
EncoderlibLic.IntializeProtection();
If you have several licenses, for example, MPlatform SDK and Decoder lib, or MFormats SDK and Character Generator, make sure that you add all the license code to your project. And that you call the protection initialization method for all the components you use.
Known issues
Visual Studio can return you an error the 1st time you use MLProxy.dll as a reference in your project. The error is caused by "Embed Interop Type" property of the reference. Go to the reference properties and set the "Embed Interop Type" property to "False".