Page 1 of 1

Performance problem with multiple instances.

Posted: 24 Feb 2010 22:01
by BugHunter
Connection is to multiple IP cameras using multicast RTSP.

When launching 30 VLC apps, the video stays smooth in al windows with no frame drops or hickups.

When 20 instances are started in an MFC/C++ app, each rendered in a seperate CStatic frame, the video stops and starts randomly in the frames. As if frames are being dropped. Both a threaded and non-threaded approach were tried, with the same result.

What am I missing here? How come the instances in my app are struggling while the VLC app is perfectly happy in the same setup?

Re: Performance problem with multiple instances.

Posted: 28 Feb 2010 20:28
by BugHunter
As a follow up, for if anyone runs into a similar problem.

I now start 50 individual programs from a master control app, with each individual app connecting to a camera. Although there is some frame loss, there are no more hickups and/or stops.
At this point I think it is more of a windows/rendering issue then a codec issue.