Tag: H.264

AMD’s three ways to spell “enhancement”

From AMD AMF SDK documentation, AMF_Video_Encode_API.pdf: The typos are not a big deal for development, even though the symbol with the typo is a shortcut to a string with the same typo: #define AMF_VIDEO_ENCODER_NUM_TEMPORAL_ENHANCMENT_LAYERS L”NumOfTemporalEnhancmentLayers” The SDK offers a good frontend to AMD VCE hardware encoders, however there are a few unfortunate problems: documentation is…

Read the full article

NVIDIA H.264 Encoder Media Foundation Transform’s REGDB_E_CLASSNOTREG

For already years Nvidia’s H.264 video encoder Media Foundation Transform has been broken giving REGDB_E_CLASSNOTREG “Class not registered” failure in certain circumstances, like main display is not the one connected to Nvidia video adapter. As simple as this: CoInitialize(NULL); MFStartup(MF_VERSION); class __declspec(uuid(“{60F44560-5A20-4857-BFEF-D29773CB8040}”)) CFoo; // NVIDIA H.264 Encoder MFT CComPtr<IMFTransform> pTransform; const HRESULT nCoCreateInstanceResult = pTransform.CoCreateInstance(__uuidof(CFoo));…

Read the full article

Bug in Media Foundation MPEG-4 File Source related to timestamping video frames of a fragmented MP4 file

Some recent update in Media Foundation platform introduced a new bug related to fragmented MP4 files and H.264 video. The bug shows up consistently with file versions: mfplat.dll – 10.0.14393.351 (rs1_release_inmarket.161014-1755)    15-Oct-16 05:48 mfmp4srcsnk.dll – 10.0.14393.351 (rs1_release_inmarket.161014-1755)    15-Oct-16 05:45 The nature of the problem is that MPEG-4 File Source is incorrectly time stamping the data:…

Read the full article

Applying Hardsubs to H.264 Video with GPU

Video adapters currently offer a range of services which enables transcoding of H.264 content with certain modifications (including but not limited to flexible overlays, scaling, mirroring, effects and filters) end-to end on GPU keeping data as DirectX Graphics Infrastructure resource at all processing stages. Such specialized processing capabilities are pretty powerful compared to traditional CPU…

Read the full article

Screen recording using Desktop Duplication API and hardware H.264 encoder

The application takes advantage of three powerful Windows APIs at a time: Desktop Duplication API Media Foundation Hardware H.264 Video Encoders MediaFoundationDesktopRecorder initializes a desktop duplication session and sends obtained desktop images to H.264 video encoder producing a standard MP4 recording. Optionally, it can add an audio track capturing data from one of the standard…

Read the full article