I want to write an application that accepts MPEG-1 video buffers from a video card and displays them on the screen.
The video card is not a standard capture device. It supplies buffers that contain MPEG-1 data. The buffers boundaries do not comply to the MPEG-1 standard (MPEG packets are cut between buffers).
I use DirectShow to write the application.
I started to write a source filter (derived from CSource & uses CSourceStream) that accepts the buffers from the card and passes them on to the 'MPEG-1 Stream splitter'. I failed to connect my filter to the 'Stream Splitter' (probably some of my media type information was incorrect).
Is the 'MPEG-1 Stream splitter' provided with DirectShow capable of accepting real-time video stream?
Is my approach for displaying live video correct?
If so, can I get help as to how to write the filter?