Programmatically add AVI file header to video stream
问题 I have a capturing device (analogue to digital converter: AverMedia USB Capture Card). When I want to record video using DirectShowLib in C#, I only receive frames. I am able to record frames and play the file using RawVideo Player. How can I create a standard video file header like AVI? Second problem occurs when I want to compress the data. When I use compression, I can't read it at all. Here is my working GraphEdit schema: How can I create standard AVI or MPEG file with header and etc? 回答1