Re: DES - DV to Mpeg1 compression

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On 23 Nov 2006 13:40:23 -0800, Jean-Marc wrote:

Iain wrote:
Have you tried setting the SyncSource to NULL? this turns of the clock
which lets the graph run as fast as it can / needs. So if the CPU is too
low, the process will take > real time, but with no drop outs.

Hi lain,

Thank you for replying.

I did not try because I thought it would loose synchronization between
sound and video. Is it right?
There should be no loss of synchronisation. The graph remains internally
consistent, but ceases to care about the 'real' world.

By the time, I downloaded a toolkit that does convertion over DShow and
made some testing with it. I used GraphEdit for monitoring the graph
they build for conversion and I saw a filter chain like:

audio source ... -> synchronization -> compressor -> Gate -> Sample
Corrector -> Mux ...
video source ... -> synchronization -> compressor -> Gate -> Sample
Corrector -> Mux ...

The names are suggesting that Dataflow is controlled from within those
filters sharing/exchanging timing info. Could that be the way to do it
(with a null sync source) because at the time of writing this message,
it might as well be that a toolkit is about to be sold.
This should be unnecessary. It sounds that the graph you present is doing
much more than transcoding. If you have live sources, then you can get
sync problems over time due to drift between the camera clock and hte audio
clock. These problems are difficult to solve, but don't apply to
(correctly recorded!) stored data.

Iain
--
Iain Downs (DirectShow MVP)
Commercial Software Therapist
www.idcl.co.uk
.



Relevant Pages

  • Re: How do you plot multiple curves on the same graph when using a while loop?
    ... Thank you for contacting National Instruments. ... are using a graph instead of a chart. ... the MOSFET values in real time. ...
    (comp.lang.labview)
  • Re: Graph in Perl
    ... If you want dynamic updates to a graph as new data comes in then a lot ... you mean by "in real time" it may be fast enough. ... script on a web server that generates a PNG on the fly every time a ...
    (comp.lang.perl.misc)
  • how to display labview graph on vb6 form??
    ... now i want this graph to be displayed in vb6 form. ... i can call the labview code from vb6 and run it.. ... display the real time graph. ...
    (comp.lang.basic.visual.misc)
  • Re: WaveOut filter sources
    ... > two seconds asap and then receive the rest samples in a real time to ... How can I say to graph that I want first samples ... Initial sample delivery will take 0 time if your renderer does nothing ...
    (microsoft.public.win32.programmer.directx.audio)
  • Re: DES - DV to Mpeg1 compression
    ... which lets the graph run as fast as it can / needs. ... Corrector -> Mux ... ... filters sharing/exchanging timing info. Could that be the way to do it ...
    (microsoft.public.win32.programmer.directx.video)