Re: Controlling DataFlow upstream of a Smart Tee.
- From: "Jean-Marc" <jmnaste@xxxxxxxxxxx>
- Date: 22 Dec 2005 12:50:57 -0800
> I need to build a capture graph with the source being a file (File
> Source Filter instead of Device Capture Filter). The graph I made works
> well but full blast (as fast as computer can render). The
> synchronization clock being on the AudioRenderer Filter which is
> downstream the Preview pin of Smart Tee, my understanding is that the
> timestamps never reach the audio renderer and thus there is no
> retention of frames.
YOu seem to be saying that a file rendered in a perfectlky normal way
is
ignoring all timing information.
This is NOT normal.
If you take the file and render it in GraphEdit, do you see the same
problem?
If you do, then the file is bad.
If you do not, your code is bad.
Hi lain,
It is not a normal rendering graph but rather a capture one with the
only difference that the source is not a device (with a buillted in
clock) but an async file reader. The source (file reader) doesnt
provide synchronization. The audio renderer does have such a clock but
it stands on the render branch (downstream of SmartTee's Preview pin)
where is stripped from media information. The graph runs as fast as
computer can. I tried to set a reference clock on filters upstream of
the SmartTee but this has no effect. The explanation given by zyy
corresponds to what I understand and my question was about how to set a
reference clock on filters upstream of the SmartTee.
I gave up on this solution which was just a quick and dirty way of
doing what Stream Buffer Engine does. I rather fixed my problems using
SBE and everything works except ... see my new post on the subject.
However, I still remain interested in learning how to create my own
instance of Direct Sound clock which can then be given to a graph for
synchonization.
.
- References:
- Controlling DataFlow upstream of a Smart Tee.
- From: Jean-Marc
- Re: Controlling DataFlow upstream of a Smart Tee.
- From: Iain
- Controlling DataFlow upstream of a Smart Tee.
- Prev by Date: Re: How PowerDVD works fine with Mpeg2 Video Duration ?
- Next by Date: Re: G.728
- Previous by thread: Re: Controlling DataFlow upstream of a Smart Tee.
- Next by thread: Re: MPEG2 source filter
- Index(es):
Relevant Pages
|