Realtime video buffer access webcam, Windows Phone 8.1 C++ -


i need basic video processing webcam in windows phone 8.1.

i cannot find examples of how access webcam preview buffer. microsoft examples (very few) have video preview frame activate, can find none show how subscribe 'new frame ready' event, or buffer is.

the mediacapture, , capturedevice appear main ways of reaching camera in api.

can point specific example? instance, qr code reader, or maybe program adds video effects, greyscale, need attach event every frame.

thanks.

it sounds need access buffer preview stream of phone cameras. if absolutely need target 8 , 8.1, should getpreviewbufferargb(out int[] pixels). see here: https://msdn.microsoft.com/en-us/library/windows.phone.media.capture.cameracaptureframe.getpreviewbufferargb.aspx

but if can instead target windows 10, benefit of universal apis, , don't take dependency on deprecated (if not already) windows.phone.media.capture namespace. recommend doing instead, apis easier work with, , 8.1 device can upgrade 10 free.

here working windows 10 sample: http://aka.ms/2015buildgetpreviewframesample, shown off @ last build conference (video here: http://channel9.msdn.com/events/build/2015/2-730).


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -