I can capture video and audio from my notebook's integrated Webcam with DirectShow (DShow, based on the DirectShow1 demo), but with Media Foundation (MediaFoundationSourceReader), I can capture video to an AVI file but can't for the life of me figure out how to also capture the audio along with it.
Anyone know how to do that or should I stick with DirectShow? I had assumed it might be better to go with MF since I thought it was newer, but perhaps that is not a good reason.
Thanks for the quick responses. It's strange that MF says both streams are video (only have the one camera). No worries, I'll go with DirectShow.
BTW, I've been using the FFmpeg library (via the free FFVCL version) to convert the huge AVI files into MP4 if anyone is looking for that kind of thing. It works quite well and I've integrated the options internally so it will be transparent to the user (i.e. not needing to use FFVCL's sample dialogs). Are you planning on providing AVI conversion features of your own? Perhaps you already have and I overlooked it?