使用来自麦克风的DirectShow音频捕获到文件(任何替代'AudioRecorder WAV Dest')

时间:2009-06-25 07:05:55

标签: visual-c++ audio directshow

参考:http www codeproject com / KB / audio-video / cacsave.aspx?msg = 3094764#xx3094764xx

我找不到像'AudioRecorder WAV Dest'这样的东西。有没有替代方案,因为我的PC graphEdit显示这些:(第1部分相关的工作很好。)

WM Speech Encoder DMO,
WMAudio Encoder DMO,
IAC2,
IMA ADPCM,
PCM,
Microsoft ADPCM,
ACELP.net,
DSP Group TrueSpeech(TM),
Windows Media Audio V1,
Windows Media Audio V2,
GSM 6.10,
Microsoft G.723.1,
CCITT A-Law,
CCITT u-Law,
MPEG Layer-3,
Realtek HD Audio output,
Default DirectSound Device,
Default WaveOut Device,
DirectSound: Realtek HD Audio output,
WMAudio Decoder DMO,
WMSpeech Decoder DMO,
Mpeg4s Decoder DMO,
WMV Screen decoder DMO,
WMVideo Decoder DMO,
Mpeg43 Decoder DMO,
Mpeg4 Decoder DMO,
WMT MuxDeMux Filter,
Full Screen Renderer,
DV Muxer,
Color Space Converter,
WM ASF Reader,
AVI Splitter,
WMT AudioAnalyzer,
VGA 16 Color Ditherer,
Indeo® video 5.10 Compression Filter,
Windows Media Audio Decoder,
VideoSync Extended Filter for OpenCV,
AC3 Parser Filter,
WMT Format Conversion,
StreamBufferSink,
CalibFilter,
WMT Black Frame Generator,
MJPEG Decompressor,
Indeo® video 5.10 Decompression Filter,
WMT Screen Capture filter,
Microsoft Screen Video Decompressor,
MPEG-I Stream Splitter,
SAMI (CC) Parser,
MPEG Layer-3 Decoder,
MPEG-2 Splitter,
ACELP.net Sipro Lab Audio Decoder,
Internal Script Command Renderer,
MPEG Audio Decoder,
File Source (Netshow URL),
WMT Import Filter,
DV Splitter,
Bitmap Generate,
Windows Media Video Decoder,
Video Mixing Renderer 9,
Windows Media Video Decoder,
WMT VIH2 Fix,
Record Queue,
Windows Media Multiplexer,
ASX file Parser,
ASX v.2 file Parser,
NSC file Parser,
ACM Wrapper,
Windows Media source filter,
Video Renderer,
Frame Eater,
MPEG-2 Video Stream Analyzer,
Line 21 Decoder,
Video Port Manager,
WST Decoder,
Video Renderer,
WM ASF Writer,
WMT Sample Information Filter,
VBI Surface Allocator,
Microsoft MPEG-4 Video Decompressor,
File writer,
WMT Log Filter,
WMT Virtual Renderer,
DVD Navigator,
Overlay Mixer2,
AVI Draw,
.RAM file Parser,
WMT DirectX Transform Wrapper,
G.711 Codec,
MPEG-2 Demultiplexer,
DV Video Decoder,
Indeo® audio software,
Windows Media Update Filter,
ASF DIB Handler,
ASF ACM Handler,
ASF ICM Handler,
ASF URL Handler,
ASF JPEG Handler,
ASF DJPEG Handler,
ASF embedded stuff Handler,
9x8Resize,
WIA Stream Snapshot Filter,
ProxyTrans,
Allocator Fix,
SampleGrabber,
Null Renderer,
WMT Virtual Source,
WMT Interlacer,
StreamBufferSource,
Smart Tee,
Overlay Mixer,
AVI Decompressor,
Uncompressed Domain Shot Detection FilterAVI/WAV File Source,
QuickTime Movie Parser,
Wave Parser,
MIDI Parser,
Multi-file Parser,
File stream renderer,
XML Playlist,
AVI Mux,
Line 21 Decoder 2,
File Source (Async.),
File Source (URL),
WMT DV Extract,
WMT Switch Filter,
WMT Volume,
Stretch Video,
Infinite Pin Tee Filter,
QT Decompressor,
MPEG Video Decoder,
Indeo® video 4.4 Decompression Filter,
Indeo® video 4.4 Compression Filter,
Default MidiOut Device,
Microsoft GS Wavetable SW Synth,
MSScreen encoder DMO,
WMVideo9 Encoder DMO,
MSScreen 9 encoder DMO,
DV Video Encoder,
Indeo® video 5.10 Compression Filter,
MJPEG Compressor,
Cinepak Codec by Radius,
Intel 4:2:0 Video V2.50,
Intel Indeo(R) Video R3.2,
Intel Indeo® Video 4.5,
Indeo® video 5.10,
Intel IYUV codec,
Microsoft H.261 Video Codec,
Microsoft H.263 Video Codec,
Microsoft RLE,
Microsoft Video 1,

Realtek HD Digital input,
Realtek HD Audio Input.

哪一个是常见的名称存在于几乎所有的Windows PC中以保存波形文件。目前适用于WinXPSP2 +。

-Rahul

1 个答案:

答案 0 :(得分:2)

Wav dest是一个示例,您可以从SDK附带的DirectShow示例进行编译。你可以编译并注册它。

它确实受到2gig波形文件限制的限制(对于使用64声道音频,这是一个很大的问题)。我发现使用AVI Mux过滤器(CLSID_AviDest)是解决波形文件格式限制的好方法。