Using LEAD ISO Media Source

The LEAD ISO Media Source can be used in any media foundation topology by two different methods. The method used depends on whether the LEAD Media Foundation toolkit is being used.

1.  Call IltmfPlay::SetPreferredMediaSourceHandler or IltmfConvert::SetPreferredMediaSourceHandler to select the preferred media source handler. 

Specifically, to select the LEAD ISO Media source handler call these methods with the MediaSourceHandlerType parameter set to "ltmfPlay_PreferredMediaSourceHandler_ISO" or '"tmfConvert_PreferredMediaSourceHandler_ISO". The Val parameter should be set to "ltmfMediaSourceHandler_LEADDefault" or "ltmfMediaSourceHandler_LEAD_ISO".

1.  Open the Windows registry and look at the  "Software\\\\LEAD Technologies, Inc.\\\\Windows Media Foundation\\\\ByteStreamHandlers" registry location. The supported media type extensions should be found under the HKEY_LOCAL_MACHINE key. If the media extension is available, then the GUID of the LEAD ISO Media Source handler should be there. 
2.  Use that value to create an instance of the handler. 
3.  Open the media file by calling the [BeginCreateObject](http://msdn.microsoft.com/en-us/library/windows/desktop/ms696214(v%3dvs.85).aspx) method. 

See Also
 

LEAD ISO Media Source

IltmfPlay::SetPreferredMediaSourceHandler

IltmfConvert::SetPreferredMediaSourceHandler

IMFByteStreamHandler::BeginCreateObject method

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Transforms C API Help
Click or drag to resize