views:

46

answers:

0

I need to create a video files (without audio) from in memory bitmap data. I tried to modify the GSSF example from directshow.net and combine it with DxPropPages example.
None of the many ways I tried to create a graph works. Without setting a compressor, everything is fine. With a compressor (I tested several different ones, ffdshow tryouts should be used in the end) the error codes returned are invalid parameter, unconnected pins, catastrophic error...
Adding the ImageFromPixels from GSSF to DxPropPages results in the same problem. My current guess is the there is something wrong with the pin types. (but I'm new to directshow) GSSF appears not to have a preview pin that is used in DxPropPages.
What is the correct way to build a working graph to use GSSF as a source and an avi file as a sink using a compressor?