LEAD H264 Encoder (4.0)

The LEAD H264 Encoder is a DirectShow filter for compressing and decompressing video data using the H.264/AVC standard. The H.264 standard was developed jointly by ITU and MPEG. The H.264/AVC standard provides an efficient algorithm for compressing video. It typically outperforms other standards by a factor of three to four, especially in comparison to MPEG-2.

H264 is a high quality video compression algorithm suited for all types of applications with different ranges of bit rates. The compressed video data can be stored in AVI, OGG, and ISO Base containers with the option of saving the file with or without the audio data.

Intel Quick Sync

The encoder can use Intel Quick Sync Video hardware acceleration for compression.

NVIDIA CUDA

The encoder can use NVIDIA CUDA hardware acceleration on computers with NVIDIA graphics cards with CUDA capabilities. You do not need to install anything in addition to the video driver; hardware acceleration will be used automatically, if possible. For more information about the supported CUDA technology, refer to Using H264 and H265 Encoders on NVIDIA GPUs. For more information on which NVIDIA hardware supports H264, refer to CUDA Hardware Support.

H264 Video Size

The H264 standard has a maximum video size. H264 video should follow this formula:

((Width + 15) / 16) * ((Height + 15) / 16) <= 36864

Some maximum video sizes: 3840x2448, 2448x2840, 4096x2304, etc.

NOTE: If you are using the encoder with a third-party software package, refer to your software's documentation for information on how to access the encoder's property page(s). If you do not have an application for converting multimedia files, you can download M2Convert Pro from M2 Solutions, Inc.

Compression Options

The compression options for the encoder can be set manually through the encoder's property page or programmatically using the filter interface.

Filter Interface(s) ILMH264Encoder
Interface ID IID_ILMH264Encoder
Input Media Types Type:
MEDIATYPE_Video

Subtypes:
MEDIASUBTYPE_RGB32
MEDIASUBTYPE_RGB24
MEDIASUBTYPE_YUY2
MEDIASUBTYPE_UYVY
MEDIASUBTYPE_YV12
MEDIASUBTYPE_I420

Output Media Types Type:
MEDIATYPE_Video

Subtype:
MEDIASUBTYPE_L264
MEDIASUBTYPE_LX64
MEDIASUBTYPE_h264
MEDIASUBTYPE_H264
ISOMEDIATYPE_avc1
MEDIASUBTYPE_avc1
MEDIASUBTYPE_AVC1

Type:
MEDIATYPE_Stream

Subtype:
MEDIASUBTYPE_h264

Filter CLSID CLSID_LMH264Encoder
Property Page(s) CLSID CLSID_LMH264EncoderProperty
Filter category CLSID_VideoCompressorCategory
Executable LENCH2644.dll, DSKernel2.dll, libmfxsw32.dll (32-bit) or libmfxsw64.dll (64-bit)
Header ILEncH2644.h

Platforms

Win32, x64

Included With

This filter is included as a part of the following modules:

LEAD H.264 Video Encoder

See Also

LEAD H264 Encoder User Interface (4.0)

LEAD H264 Codecs Profile Support

Using the LEAD MMS Sink Filter

Using H264 and H265 Encoders on NVIDIA GPUs

CUDA Hardware Support

Help Version 22.0.2021.10.28
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Filters C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.