Log in

View Full Version : DirectShow under heavy load


kapot
26th May 2006, 08:16
Hi,

Do you know any other video decoder library / sdk that works in Windows platform but not using DirectShow at all ?

Because I have tested DirectShow, it will not perform well under very high load system (CPU utilization topped 100%). Frames will dropped and sometimes crashed.

The way I tested it, I create an application to decode a standard AVI file. And then I run a lot of this application continuosly, like 20 instances.

It works fine for at max 5 instances.

I suspected the problem is the DirectShow, because if I use QuickTime, it is no problem. 100% CPU utilization, 20+ clients decoding .MOV file, works fine.

So, I just wondering, if there is other library or SDK that can be used to substitute this DirectShow.

It does not matter if it is commercial or open source.

Thanks for any help.

Regards,
kapot

unmei
29th May 2006, 22:22
if you meant a framework, not a specific decode, you named it: QuickTime. Or even VfW. Other than that, you would have to make your own or wait/help for GStreamer Windows port.

kapot
31st May 2006, 06:58
I see ... I just dont believe that DirectShow is sucks under heavy load.

Ebobtron
13th June 2006, 03:58
I see ... I just dont believe that DirectShow is sucks under heavy load.
If I understand your comment "you can not believe that DirectShow sucks under heavy load"?

Your first post suggests that QT with twenty instances works fine. Are you sure? Did you use twenty source files, or just twenty of the same one?

Also QT maybe a video technology but it is also the application which uses some of the direct x technology (DDraw I think)to do it's work. Which DirectShow application are you using?

Anyway back to your comment about DirectShow sucking, seems like it does (been needing to share that). ;)

http://members.aol.com/avsfilmcutter

mike_lee
16th June 2006, 06:31
The problem for me isn't so much DS but wmv files, they are just awful. I actually have to keep them separated from my other media files, because one wmv stuck in the mix and it's molasses city. Or more speciffically it's wmv9 - that format sucks. In M$ land everyone plays only one video file at a time, and that after a hard reboot.

I'm sure there is a way to reduce the strain of wmv 9 files but after 2 months of beating my head against the wall (after stupidly downloading mediaplayer 10) I can't find it. Perhaps after I finish my stay at MIT I'll be able to go back to watching as many videos as I have screen space.