hii thanks for sharing your works.
thanks for your kind reply..
actually i write (WMV)video files(no audio) by IWMWriter from the BYTE data in sample grabber.
i want to add audio (audio streams from seperate device) to this video stream. i tried by passing both streams to WMAsfWriter (100% working) , that is, it writes video file(wmv) with audio.
But i just rendered the video stream to live preview, by using this WMAsfWriter if i want to write videofiles periodacally means , i need to stop the mediacontrol and reconnect the WMAsfWriter and then run the mediacontrol. for this methos i loos my preview for a second to couple of second, because mediacontrol is stopped and then run.
i need to solve this problem, please help me.
Is any other writer to write bot streams, or any other means to use WMAsfWriter without stoping mediacontrol