如何从数据流中VC++的DirectShow

如何从数据流中VC++的DirectShow

问题描述:

海都写MPEG4视频文件...如何从数据流中VC++的DirectShow

Am writing simple application for capturing video from camera and save in .WMV files using vc++ Directshow.i done this task.bt i need to write file as MPEG4 file type. 

谁能帮助我。

CAMERA---->SAMPLEGRABBER---->getting streams from sample graaper.. 

我从相机这样得到流。

kndly帮我 感谢

,如果你的相机产生压缩的视频,你可以建立一个图形相机=> MUX =>文件作家。您可以从www.gdcl.co.uk/mpeg4下载MP4文件的多路复用器。但可能你需要找到一个mpeg-4或H264的编码器 - 看看ffmpeg。