[Mono-bugs] [Bug 630900] New: Unable to use CoreVideo - not yet wrapped?

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Aug 12 19:08:01 EDT 2010



           Summary: Unable to use CoreVideo - not yet wrapped?
    Classification: Mono
           Product: MonoTouch
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: gnorton at novell.com
        ReportedBy: tomw at vivitics.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-us)
AppleWebKit/533.17.8 (KHTML, like Gecko) Version/5.0.1 Safari/533.17.8

Unable to use CV functions critical to working with the new AVFoundation

My particular error came as I tried to create an image for a sample of video
data, via the new AVFoundation framework. My code works and leads me all the
way into the AVCaptureVideoDataOutputSampleBufferDelegate -- and specifically
the function DidOutputSampleBuffe().

Within DidOutputSampleBuffer(), according to apple technical resources, you can
access the sample and convert to an image. 100% of the code and references
online are in Obj-C from this point forward and all begin with pulling an image
from the sample using CVImageRef. This function appears inaccessible or
unavailable. After more digging, including talking with fak on the IRC chat, it
looks like it's because the entire CoreVideo library is yet to be wrapped.

Can you please confirm along with wrap times? I would also sincerely appreciate
some help manually wrapping the functions I need in the interem so I can
continue my work (I'm @ tomw at vivitics.com).

Thank you,


    public class BufferDelegate : AVCaptureVideoDataOutputSampleBufferDelegate

        UIImageView imgView;

        public BufferDelegate(UIImageView imageViewPreview): base()
            imgView = imageViewPreview;

        public override void DidOutputSampleBuffer (AVCaptureOutput
captureOutput, MonoTouch.CoreMedia.CMSampleBuffer sampleBuffer,
AVCaptureConnection connection)
            // TODO: Implement - see:


Reproducible: Always

Steps to Reproduce:
1. Use AVFoundation for Video
2. Get into the delegate DidOutputSampleBuffer() which is required to access
near real time video data
3. Essentially try to do anything with the CMSampleBuffer that involves

Note: realistically this is more about CoreVideo than these specific repro
Actual Results:  
Missing CoreVideo reference. Not yet wrapped?

Expected Results:  
Included CoreVideo reference, able to use CV* functions such as CVImageRef and


Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list