For examples on how to process audio/video or other types of media samples, please refer to other samples, for instance AudioPlayer, that are included with the Windows Media Format SDK. Note: This sample does not show how to process the media samples coming out of WMReader. IStream source has been implemented to use a file in Windows Media Format (WMA/WMV/ASF). This console application sample shows how to read data from IStream with WMReader. This is a C++ version of the Managed MetadataEdit application. This C# application can be used to view and edit metadata from Windows Media files. This managed assembly serves as a wrapper used by managed-code samples for accessing some metadata interfaces of this SDK. This sample demonstrates how to use the DirectShow WM ASF Reader Filter to play ASF content in a DirectShow filter graph, and also how to use the frame seeking support in the Windows Media Format SDK. See readme.txt in the sample's directory for more information. It uses DirectShow's WM ASF Reader filter to play Windows Media files (ASF, WMA, WMV) without DRM protection and files which use DRM at a level of 100 or below. This sample is an interactive audio/video media file player with DRM support. The input file may be any compressed or uncompressed format supported by DirectShow. Transcodes one or more files to an ASF file using the DirectShow WM ASF Writer filter. If the security level of the library you receive is not sufficient to play a protected file, this sample will display an error. When you acquire the WMStubDRM.lib from Microsoft, the library is assigned an application security level. Note: This sample is not supported on 圆4-based versions of Windows. This sample requires the DRM stub library WMStubDRM.lib to build. It does not demonstrate how to acquire a license for DRM-protected content. Note: This sample is not supported on 圆4-based versions of Windows.ĭRMShow is a console application that shows how to read DRM properties of a Windows Media file using the IWMDRMReader::GetDRMProperty method.This sample demonstrates the use of the IWMDRMReader::GetDRMProperty method and the properties that can be retrieved from the DRM reader. Note: The DRM portions of this sample are not supported on 圆4-based versions of Windows.ĭRMHeader is a console application that uses the metadata editor's IWMDRMEditor interface to read DRM attributes of files without linking to the DRM static library. It can play local files or files read from the Internet (including those output to the Internet by using the WMVNetWrite sample). It is controlled through a GUI, and commands include Play, Pause, Seek and Stop. Plays Windows Media files including DRM-protected files. Usage information for each sample is contained in a readme.txt file in each sample directory. These samples will not work unless the Windows Media Format SDK or the Windows Player SDK has been installed. Most of the samples are in C++, but ManagedWMFSDKWrapper and ManagedMetadataEdit require C#. The sample code supplied with this SDK is in the form of projects for Microsoft Visual Studio 2005.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |