Re: cpu usage: Graphedit vs Windows Media Encoder



On Aug 30, 7:52 pm, "Chris P." <m...@xxxxxxxxxxxx> wrote:
On Thu, 30 Aug 2007 14:44:42 -0000, shfnet wrote:
On Aug 27, 7:03 pm, "Chris P." <m...@xxxxxxxxxxxx> wrote:

It is possible that WMEncoder is asking for frames quicker than in the GraphEdit case as there is > no reference clock.

btw, calling IMediaFilter::GetSyncSource(&pReferenceClock) on the
filter graph, as loaded by WMEncoder, does return a non-null reference
to a clock. Does this mean that WMEncoder does add a clock to the
graph?
Perhaps there's a way to configure that clock somehow?

Yes, there is a clock but you cannot configure it.

Is your source live (stream) or is it file?


Live source. It's an object that generates RGB frames from an IP
camera. The filter takes the frames and makes a video stream from
them.

thanks
shfnet

.



Relevant Pages

  • Re: Which reference clock?
    ... > DirectX documentation says that the filter graph will choose a reference ... > clock based on certain criteria. ... > reference clock is being used - ie. audio renderer, ... (Otherwise, don't expect a followup) ...
    (microsoft.public.win32.programmer.directx.video)
  • Which reference clock?
    ... I have a filter graph that's capturing audio and video to a file. ... DirectX documentation says that the filter graph will choose a reference ... clock based on certain criteria. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: cpu usage: Graphedit vs Windows Media Encoder
    ... filter graph, as loaded by WMEncoder, does return a non-null reference ... Does this mean that WMEncoder does add a clock to the ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: cpu usage: Graphedit vs Windows Media Encoder
    ... filter graph, as loaded by WMEncoder, does return a non-null reference ... Does this mean that WMEncoder does add a clock to the ...
    (microsoft.public.win32.programmer.directx.video)

Loading