VideoCapture finds no DV video cameras on Mac OS (QtKit) (Patch #1971)
Description
Using: OpenCV-2.4.0, Mac OS X 10.6
When using Quicktime (QtKit), available capture devices are found in CvCaptureCAM::startCaptureDevice using inputDevicesWithMediaType:QTMediaTypeVideo . However, DV video cameras have media type QTMediaTypeMuxed. This makes DV video cameras inaccessible.
Attached patch fixes the issue by appending input devices with media type QTMediaTypeMuxed.
Associated revisions
reverted the original VideoCapture::read() code; moved frame index check to where it should belong: ffmpeg wrapper; applied patch by Rob Reilink (ticket #1971)
Merge pull request #1971 from ilya-lavrenov:tapi_laplacian
History
Updated by Andrey Kamaev almost 13 years ago
- Tracker changed from Bug to Patch
- Assignee changed from Alexander Reshetnikov to Vadim Pisarevsky
Updated by Andrey Kamaev almost 13 years ago
- Target version set to 2.4.1
Updated by Vadim Pisarevsky almost 13 years ago
thanks! your patch was applied in OpenCV trunk, r8542
- Status changed from Open to Done
Updated by Andrey Kamaev over 12 years ago
- Category changed from highgui-images to highgui-camera