Hi, takluabba I am trying to Capture File as MP4 format. I am thinking to use GDCL MP Mux. But I see the sample AMCap is using Demux instead of Mux. My prgram is working for capture file to AVi and WMA format from Webcam. But now I want to capture the video to MP4 format. I am confused by Mux and Demux. Any advise is appreciated. Thanks, Yiping
On Mon, 28 Jul 2008 12:17:22 -0700, Yiping Zou wrote: > I am trying to Capture File as MP4 format. I am thinking to use GDCL MP Mux. > But I see the sample AMCap is using Demux instead of Mux. My prgram is working > for capture file to AVi and WMA format from Webcam. But now I want to capture > the video to MP4 format. I am confused by Mux and Demux. Any advise is appreciated. I think you are confusing video compression format with file format. If you are recording to AVI files then you need an AVI Mux to handle the file writing for you. You can select your MPEG-4 Video Compressor to compress the video data to be stored in the AVI file by the AVI Mux. On playback it is the reverse, a Demux that supports the required format is required to read the AVI file and extract the data. The frames are passed to a decompressor (MPEG-4 in your case) to convert to uncompressed for display. The GDCL MP4 Mux/Demux is for writing/reading to the .mp4 file format which I don't think you actually want to do. -- http://www.chrisnet.net/code.htm [MS MVP for DirectShow / MediaFoundation]