Quantcast
Channel: Media Foundation Development for Windows Desktop forum
Viewing all articles
Browse latest Browse all 1079

Configuring SinkWriter for h.264 with video and audio streams.

$
0
0
I'm trying to create a file using Media Foundation. I'm able to get what I need for video and configure it properly looking at MFCaptureToFile sample. I'm trying to do the same thing with audio from an audio source (mic or webcam). I set everything up properly and I do get samples, but I'm not clear on how to set up the output configuration for the audio stream. I do not have much experience with audio, so I'm not clear on which attributes I have to set, and which I can just copy from the input. 

Thanks.

Viewing all articles
Browse latest Browse all 1079

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>