VideoCapture finds no DV video cameras on Mac OS (QtKit) (Patch #1971)


Added by Rob Reilink almost 13 years ago. Updated over 12 years ago.


Status:Done Start date:2012-05-22
Priority:Normal Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:highgui-camera
Target version:2.4.1
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

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.


dv_input_devices.patch - Patch that resolves the issue (676 Bytes) Rob Reilink, 2012-05-22 03:04 pm


Associated revisions

Revision 677680d8
Added by Vadim Pisarevsky almost 13 years ago

reverted the original VideoCapture::read() code; moved frame index check to where it should belong: ffmpeg wrapper; applied patch by Rob Reilink (ticket #1971)

Revision eeb16a5d
Added by Andrey Pavlenko about 11 years ago

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

Also available in: Atom PDF