DirectShow Samples

DirectShow在9.0c以后似乎是不提供示例代码了   需要自己去网上下载  不过不要紧

google了一下   link:   http://msdn.microsoft.com/en-us/library/windows/desktop/dd375468%28v=vs.85%29.aspx

DirectShow Samples

DirectShow Samples

The DirectShow samples are included with the Windows SDK. They are located under the path [SDK Root] \Samples\Multimedia\DirectShow.

The following table lists all of the DirectShow samples provided in the Windows SDK. For instructions on how to build the samples, refer to the documentation provided in the Windows SDK.

If there is additional documentation for a sample, the first column of this table links to it.

SampleAreaDescriptionAdditional Dependencies
DirectShow Base ClassesBase class libraryC++ classes and utility functions designed for implementing DirectShow filters.
AmCap SampleCaptureVideo capture application.     似乎是一个视频拍照方面的strmbase.lib
DVApp SampleCaptureDigital Video (DV) capture application.
PlayCap SampleCaptureSimple capture application.  似乎是一个视频拍照方面的
DMO Demo SampleDMOStreams audio data from a WAV file through an audio effect DMO.    DMO重点啊DirectX SDK
DVD SampleDVDDemonstrates basic DVD playback and navigation, plus advanced features such as parental level management, bookmarks, karaoke, and command synchronization.   DMO重点啊
InfTee Filter SampleFilters, miscellaneousSample implementation of the Infinite Pin Tee filter.strmbase.lib
Metronome Filter SampleFilters, miscellaneousShows how to implement a reference clock.strmbase.lib
PSI Parser Filter SampleFilters, miscellaneousReceives Program Specific Information (PSI) tables from an MPEG-2 transport stream and extracts program information.strmbase.lib
Dump Filter SampleFilters, rendererWrites media samples receives to a text file.strmbase.lib
SampVid FilterFilters, rendererVideo renderer filter.strmbase.lib
Scope Filter SampleFilters, rendererDisplays sound data as wave forms.strmbase.lib
Async Filter SampleFilters, sourceFile reader filter that supports progressive download.strmbase.lib
Ball Filter SampleFilters, sourceVideo source filter that produces an image of a bouncing ball.strmbase.lib
Push Source Filters SampleFilters, sourceSource filters that provide the following data as a video stream: A single bitmap, a set of bitmaps, a copy of the current desktop image.strmbase.lib
Synth Filter SampleFilters, sourceSource filter that generates audio waveforms. This sample demonstrates dynamic graph building.strmbase.lib
EZRGB24 Filter SampleFilters, transformImage processing filter.strmbase.lib
Gargle Filter SampleFilters, transformAudio effect filter.     过滤器strmbase.lib
WavDest Filter SampleFilters, transformWrites an audio stream to a WAV file.     过滤器strmbase.lib
DMOEnum SampleMiscellaneousShows how to enumerate DirectX Media Objects (DMOs).
Mapper SampleMiscellaneousShows how to use the Filter Mapper to find filters in the registry.
SysEnum SampleMiscellaneousDemonstrates using the System Device Enumerator to enumerate devices and filters.
CutScene SamplePlaybackPlays a video file in full-screen mode.       截屏
DDrawXCL SamplePlaybackPlays video in DirectDraw exclusive full-screen mode, using the IDDrawExclModeVideo interface on the Overlay Mixer filter.
DShowPlayer SamplePlaybackVideo playback application.             简单的DShow播放器
EVRPlayer SamplePlaybackDemonstrates how to use the DirectShow EVR filter.

Note  Requires Windows Vista or later.

This sample is available in the Windows SDK for Windows Server 2008 or later.

strmbase.lib
Texture3D9 SamplePlaybackDraws video on a Microsoft DirectX 9.0 texture surface.strmbase.lib, DirectX SDK
Ticker SampleVMR-9Uses the VMR-9 to blend video and text.
VMR9Allocator SampleVMR-9Implements a custom allocator-presenter for the VMR-9.strmbase.lib
VMR9Compositor SampleVMR-9Implements a custom mixer for the VMR-9.
VMRPlayer SampleVMR-9Uses the VMR-9 to blend one or two running videos and a static image.     VMR Player播放器
Watermark SampleVMR-9Blends a static bitmap onto a video during playback, using the VMR-9.
Windowless SampleVMR-9Demonstrates windowless mode in the VMR-9.

 

Additional Dependencies

Some of the samples link to the DirectShow base class library. To build these samples, you must first build the base class library. For more information, see DirectShow Base Classes. The base class library is required for all of the sample filters.

A few of the samples also require the DirectX SDK, in addition to the Windows SDK. To build these samples, you must install the DirectX SDK and set the %DXSDK_DIR% environment variable equal to your DirectX SDK installation path.

Many of the DirectShow samples use a set of common headers and source files located in the directrory [SDK Root]\Samples\Multimedia\DirectShow\Common. If you copy a sample folder to another directory, make sure to copy the Common folder as well.

Related topics

Setting Up the Build Environment

Some more resources

In case they're useful to anyone:

http://tmhare.mvps.org/downloads.htm (some more samples)
http://blog.monogram.sk/janos/2008/06/05/beginners-guide-how-to-make-a-directshow-filter-vc-project/
http://www.codeproject.com/KB/audio-video/DS_Player.aspx

转载于:https://www.cnblogs.com/msopengl/archive/2011/10/18/2216534.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值