How to render a video file and pass the stream to FillBuffer of Source Filter
- From: "iongion" <stoica.ionut@xxxxxxxxx>
- Date: 15 Mar 2007 05:42:27 -0700
Hi all,
Well, i really dont know how to put this question.
I want to render a video file to the output of a source filter.
The source filter is modified to look like a web camera.
So, i want to have the output of that video file directed to the
output of the video camera.
Lets say if someone wants to use the cam in netmeeting or yahoo, then
his friends would see the video file content that the source filter is
rendering on this guy's computer.
I would like to know what would be the steps to achieve this ?
I identified the following :
1) If i want to play as much video codecs as possible i should make
directshow build the graph for rendering automatically ( using
renderfile ), in this way it would automatically use the codecs
available on the machine.
2) The output that the users of the virtual camera sees is send in the
FillBuffer method of the sourcefilter.
Is there a way to connect the graph that is built by RenderFile to
FillBuffer of the source filter ?
Is there a way to take a video frame inside a byte array and send it
to fillbuffer ?
Isnt this process slow ?
Is there a quicker way to send the output buffer of the rendered file
to the output buffer of the source filter ?
I would be very grateful for any points/tips/answers.
Thank you!
.
- Follow-Ups:
- Prev by Date: Re: Updating VMR9 overlay while paused
- Next by Date: Re: How to render a video file and pass the stream to FillBuffer of Source Filter
- Previous by thread: Re: adding stream to ASF file
- Next by thread: Re: How to render a video file and pass the stream to FillBuffer of Source Filter
- Index(es):
Relevant Pages
|