DirectShow makes Time slow in a .NET application

In our C # .NET application, we have two DirectShow filter graphs, each of which shows a video device and one audio device. Whenever filters are filtered, the system time slows down by about 4-6 seconds per minute ... Graphs do not encode anything, just displaying what comes from the sources.

This just happens in the application, not in GraphEdit.

What could lead to this behavior? and what can we do against it?

+3
source share
2 answers

I think that this should be an error in one of the drivers, as a result of which it holds interrupts long enough and often enough so that some timer interrupts are deleted. Nothing else in DirectShow can affect the system clock as follows.

WITH

+6
source

Are you running the application in a virtual machine? I once had a similar problem (not related to DirectShow), and after many searches we found out that the problem is related to virtual machines - this time can slow down under certain circumstances.

0
source

All Articles