c# - Webcam capture with directshow.net - performance -
i have performance issues capturing in directshow.net. using resolutions above 920x720 resulting in stutters on i5 dual core. logitech software record smooth on higher resolutions.
i use directshow.net capturing webcam , muxing in avi muxer audio input. file writer writes capture disk.
[webcam (logitech 920c)-> m-jpeg compressor] + microphone -> -> avi-muxer -> file writer
webcam (logitech 920c)-> mjpegcompressor
the logitech software record smooth on higher resolutions.
logitech software supposedly capturing mjpeg right camera, without software compression. not stock windows m-jpeg compression being of substandard quality, problem usb 2.0 throughput: high resolution @ high rates can captured hardware compressed.
you need either of 2 or both:
- capture compressed video, m-jpeg or h.264, not raw
- look @ logitech software filter graph find out topology using
see also:
Comments
Post a Comment