There are 2 ways to redistribute our DLLs with your application: with and without the registration of DLLs.
Without DLLs registration
In this case, you just copy your application to the deployment machine and that's it. Easier to redistribute, but requires some special preparations for your project before redistribution.
When to use:
- If you are not sure what applications will be installed on a target machine except your own.
- If you want to make a portable application (for example stored on USB flash drive).
Please follow the instructions from this article to prepare your application for redistribution without registering the DLLs.
With DLLs registration
In this case, you copy your application to the deployment machine and register the DLLs. A bit harder to redistribute (as you have to perform the registration actions during deployment, application install), but no need to make special preparations for redistribution.
When to use:
- If you are sure that no third party Medialooks SDK based applications will be installed on a deployment machine.
- If you plan to debug your application on a deployment machine.
Here are the instructions for redistribution with DLLs registration:
- Copy your application and our .dll files that are used in your project (see below) to the target folder. Please note that it must be both original .dll files (for example MMixerPXT.dll) and interop assembly files.
- Register original .dll files (including MLProxy.dll) with one of the following methods:
- Call "regsvr32.exe YourDll.dll".
- SelfRegModules MSI Action.
- WiX tag .../>.
- Via the installer. The registration data can be retrieved from the .dll if you open it in, for example, Visual Studio and read the "REGISTRY" section.
Attention
- Do not rename the DLLs.
- Make sure that you include Microsoft Visual C++ 2017 Redistributable Package to your installer. You can download it here.
Files that are required for redistribution (by product)
Files that should be registered (in case of redistribution with DLLs registration) are marked with "need to register".
MPlatform SDK
- Medialooks.Runtime.[x86 or x64].dll - need to register
- glew32.dll
- ipp90legacy.dll
- D3DCompiler_43.dll
- d3dcompiler_47.dll
- Medialooks.Plugin.CC.[x86 or x64].dll (required for MCCDisplay plugin) - need to register
- Medialooks.Plugin.Colors.[x86 or x64].dll (required for MColors plugin) - need to register
- Medialooks.Plugin.DTMF.[x86 or x64].dll (required for MFSignalingDTMF plugin) - need to register
- Medialooks.Plugin.Delay.[x86 or x64].dll (required for MDelay feature) - need to register
- Medialooks.WebRTC.[x86 or x64].dll (required for WebRTC support) - need to register
- Medialooks.Device.HTML.[x86 or x64].dll (required for using WebCapture device) - need to register
- Medialooks.Device.SCR.[x86 or x64].dll (required for Screen Capture engine) - need to register
- Medialooks.Device.Windows.[x86 or x64].dll (required for Windows Graphics Capture engine) - need to register
- Medialooks.File.[x86 or x64].dll - need to register
- Medialooks.Plugin.CG.[x86 or x64].dll (required for Character Generator) - need to register
- Medialooks.Live.[x86 or x64].dll - need to register
- Medialooks.Mixer.[x86 or x64].dll - need to register
- Medialooks.Platform.[x86 or x64].dll - need to register
- Medialooks.Playlist.[x86 or x64].dll - need to register
- Medialooks.Preview.[x86 or x64].dll - need to register
- Medialooks.Renderer.[x86 or x64].dll - need to register
- Medialooks.Device.DS.[x86 or x64].dll - need to register
- Medialooks.Writer.[x86 or x64].dll - need to register
- MLProxy.dll - need to register
- MServer.exe
Decoder lib (in addition to MPlatform SDK)
- avcodec-58.dll
- avdevice-58.dll
- avfilter-7.dll
- avformat-58.dll
- avresample-4.dll
- avutil-56.dll
- D3DCompiler_43.dll
- d3dcompiler_47.dll
- glew32.dll
- ipp90legacy.dll
- libmfxsw32.dll
- Medialooks.FileFFM.[x86 or x64].dll - need to register
- Medialooks.CodecsCore.[x86 or x64].dll - need to register
- Medialooks.CodecsFFM.[x86 or x64].dll - need to register
- Medialooks.CodecsGPU.[x86 or x64].dll - need to register
- Medialooks.Codecs.SRT.[x86 or x64].dll - need to register
- Medialooks.FilterFFM.[x86 or x64].dll (required for video filters) - need to register
- swresample-3.dll
- swscale-5.dll
- MServer.exe
- youtube-dl.exe - for proper Youtube streams playback
Encoder lib (in addition to MPlatform SDK):
- avcodec-58.dll
- avdevice-58.dll
- avfilter-7.dll
- avformat-58.dll
- avresample-4.dll
- avutil-56.dll
- D3DCompiler_43.dll
- d3dcompiler_47.dll
- glew32.dll
- ipp90legacy.dll
- libmfxsw32.dll
- Medialooks.CodecsCore.[x86 or x64].dll - need to register
- Medialooks.CodecsFFM.[x86 or x64].dll - need to register
- Medialooks.CodecsGPU.[x86 or x64].dll - need to register
- Medialooks.Codecs.SRT.[x86 or x64].dll - need to register
- Medialooks.WriterFFM.[x86 or x64].dll - need to register
- swresample-3.dll
- swscale-5.dll
- formats_n_codecs.xml
- MServer.exe
MFormats SDK
- Medialooks.Runtime.[x86 or x64].dll - need to register
- D3DCompiler_43.dll
- d3dcompiler_47.dll
- avcodec-58.dll
- avdevice-58.dll
- avfilter-7.dll
- avformat-58.dll
- avresample-4.dll
- avutil-56.dll
- glew32.dll
- ipp90legacy.dll
- libmfxsw32.dll
- Medialooks.Plugin.CC.[x86 or x64].dll (required for MCCDisplay plugin) - need to register
- Medialooks.Plugin.Colors.[x86 or x64].dll (required for MColors plugin) - need to register
- Medialooks.Plugin.DTMF.[x86 or x64].dll (required for MFSignalingDTMF plugin) - need to register
- Medialooks.Plugin.Delay.[x86 or x64].dll (required for MDelay feature) - need to register
- Medialooks.Device.DS.[x86 or x64].dll - need to register
- Medialooks.WebRTC.[x86 or x64].dll (required for WebRTC support) - need to register
- Medialooks.Device.SCR.[x86 or x64].dll (required for Screen Capture engine) - need to register
- Medialooks.Device.Windows.[x86 or x64].dll (required for Windows Graphics Capture engine) - need to register
- Medialooks.MFormats.[x86 or x64].dll - need to register
- Medialooks.MFReader.[x86 or x64].dll - need to register
- Medialooks.MFWriter.[x86 or x64].dll - need to register
- Medialooks.Codecs.Core.[x86 or x64].dll - need to register
- Medialooks.Codecs.FFM.[x86 or x64].dll - need to register
- Medialooks.Codecs.GPU.[x86 or x64].dll - need to register
- Medialooks.Codecs.SRT.[x86 or x64].dll - need to register
- MLProxy.dll - need to register
- MServer.exe
- swresample-3.dll
- swscale-5.dll
- youtube-dl.exe - for proper Youtube streams playback
Character Generator Plugin
- Medialooks.Plugin.CG.[x86 or x64].dll - need to register
Chroma Key plugin
- Medialooks.Plugin.CK.[x86 or x64].dll - need to register
HTML 5 plugin
- Medialooks.Plugin.HTML.[x86 or x64]..dll - need to register
- d3dcompiler_47.dll
- cef_bootstrap.exe
- chrome_elf.dll
- libcef.dll
- libEGL.dll
- libGLESv2.dll
- MServer.exe
MComposer
- Medialooks.Composer.[x86 or x64].dll - need to register
CG Flash plugin
- Redistribute MPlatform SDK or MFormats SDK
- Adobe Flash Player for Internet Explorer (for x64 version you need x64 version of Adobe Flash Plugin)
Closed Captions lib
- Redistribute MPlatform SDK or MFormats SDK
AJA support
- Medialooks.Device.AJA.[x86 or x64].dll - need to register
- AJA drivers
Blackmagic support
- Medialooks.Device.BMD.[x86 or x64].dll - need to register
- Blackmagic drivers.
BlueFish444 support
- Medialooks.Device.BF.[x86 or x64].dll - need to register
- BlueFish444 drivers.
DekTec support
- Medialooks.Device.DT.[x86 or x64].dll - need to register
- DekTec drivers.
DELTACAST support
- Medialooks.Device.DC.[x86 or x64].dll - need to register
- The content of the "DELTACAST" folder in MPlatform SDK or MFormats SDK binary directory.
- DELTACAST drivers.
Magewell support
- Medialooks.Device.MW.[x86 or x64].dll - need to register
- The content of the "Magewell" folder in MPlatform SDK or MFormats SDK binary directory.
- Magewell drivers.
Newtek NDI support
- Medialooks.Device.NDI.[x86 or x64].dll - need to register
- The content of the "NDI" folder in the MPlatform SDK or MFormats SDK binary directory.
StreamLabs support
- Medialooks.Device.SL.[x86 or x64].dll - need to register
- The content of the "StreamLabs" folder in MPlatform SDK or MFormats SDK binary directory.
- StreamLabs drivers.
Yuan support
- Medialooks.Device.Yuan.[x86 or x64].dll - need to register
- The content of the "Yuan" folder in the MPlatform SDK or MFormats SDK binary directory.
- Yuan drivers and codecs.