c++ - Is it possible to for a directshow source filter to read data from application? -
i looking write directshow source filter reads data application rather reading same file/socket/device. first of is possible? if how can achieve it? have done same in gstreamer using appsrc plugin , since new directshow can please explain.
scenario: device -> application -> (directshow source filter) -> (directshow decoderfilter) -> (directshow sink)
thanks in advance.
it possible have implement communication between source filter , source of data (application). source filter , application can communicate on socket or pipe, or memory mapped files - interprocess communication trick (if application hosting source filter, within single process, establish direct communication). there no standard component or helper attach source filter, need deal raw apis.
Comments
Post a Comment