LEADTOOLS Filters Help > Filters, Codecs and Interfaces > Video Codecs > H264 > How to Enable Hardware Compression and High Profiles in the LEAD H.264 Encoder |
The LEAD H264 Encoder (4.0) is capable of using Intel Quick Sync Video hardware compression and of generating video with High profiles if you redistribute a 3rd party 'libmfx' dll. The exact name is libmfxsw32.dll for 32-bit encoders and libmfxsw64.dll for 64-bit encoders, but it will be referred to throughout this topic as 'libmfx' for simplicity.
Hardware compression is also available on computers using NVIDIA CUDA graphics cards. But that acceleration is used automatically, because the 3rd party DLLs required are installed by the graphics card driver.
High Profiles are available on computers with CUDA support even without installing libmfx. In other words, the High Profiles are available in the following situations:
The computer has one or more NVIDIA cards with CUDA support. In this case, you do not need to install libmfx.
The computer has the libmfx DLL installed properly.
To install the libmfx DLL, copy it to a folder in the system path. It is not enough for the DLL to be in the same folder as the H264 Encoder (unless, of course, the H264 encoder is in the system path).
If the libmfx DLL is installed properly, the High Profiles will be available in the property page. If the computer is also capable of performing hardware compression, hardware compression will also be used for all compressions except in situations when Super Compression is enabled. If Super Compression is enabled, the encoder will use software encoding even if the computer is capable of hardware compression.
If the libmfx DLL is not installed properly, the High Profiles will not be available and compression will be software-only even if the computer is capable of hardware compression.
Hardware compression is available on Intel processors with Quick Sync Video capabilities. You can check Intel's web site to see whether your processor supports Quick Sync Video hardware acceleration. In addition to the processor supporting Quick Sync Video, the computer must also have an Intel HD Graphics Adapter and the adapter must be in use (connected to a monitor). In general, these adapters are integrated with the chip so the motherboard display connector will need to be connected to a monitor for the hardware acceleration to work.
There are several ways to check whether your computer is capable of Quick Sync hardware acceleration:
Check whether the ILMH264Encoder::Capability property contains the H264CAPABILITY_QUICKSYNC flag.
Check whether the encoder property page indicates that Quick Sync hardware acceleration is available, as shown in the Capabilities section of the following figure:
Run the sys_analizer utility provided by the Intel Media SDK.