![]() ![]() cap.set(CV_CAP_PROP_FOURCC,CV_FOURCC('M','J','P','G')) Įllipse( frame, Point( 100, 100 ),Size( 50,50),0, 0,360,Scalar( 0, 0, 255 ),20,8 ) Īlso had a look at how ofVideoGrabber works and the DirectShow grabber is actually using videoInput library ( ). using VLC/open capture > I get smooth/fluid video 1080p (might actually be close to 30fps, way better than what I get with opencv) but it’s a few frames behindįor reference here’s my OpenCV test: #includeĬap.set(CV_CAP_PROP_FOURCC,CV_FOURCC('H','2','6','4')).using OpenCV’s VideoCapture class in c++ (I think it uses ffmpeg behind the scenes) > I get about 12/15fps with 1080p even though I’ve tried setting H264 or MJPG codecs.I’ve also tried the cam on a mac like so: When I use GraphEdit (from the Windows 8 DirectShow SDK) the preview is very responsive, but I can’t change the capture pin to use MJPG 1080p I’m sttill missing a second Capture pin which is probably H264. Options: :dshow-vdev=Logitech HD Pro Webcam C920 :dshow-adev=none :dshow-size=1920x1080 :live-caching=10īut it’s super slow and does not display at 1080p ![]() I’ve been tinkering with VLC using DirectShow as source: Thanks done more snooping around and a few more tests. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |