processing-video icon indicating copy to clipboard operation
processing-video copied to clipboard

a specification of webcam is not detected with Caputure.list()

Open gell1029 opened this issue 8 years ago • 5 comments

I try to use a Intel RealSense SR300 which can capture 720p and 60fps with YUY2 format. Additionally, I confirm it work with the specification on OBS Studio which is an open broadcaster software. However, Caputure.list() of GettingStartedCapture sample couldn't find out the specification (please see the attachment), and I couldn't use it even if I specify the device name and the specification directly with the constructor of the Capture class. I really want to use this webcam with this specification. Please solve this problem. temp image

gell1029 avatar Aug 17 '17 04:08 gell1029

Hi! What's the output on the console when you run GettingStartedCapture?

hamoid avatar Aug 28 '17 17:08 hamoid

Hi! @hamoid ! Thank you for your reply!

What's the output on the console when you run GettingStartedCapture?

The picture of the first post is it. This is the WHOLE output of GettingStartedCapture. output of gettingstartedcapture

gell1029 avatar Aug 28 '17 21:08 gell1029

My bad, I did not understand what you meant with "specification".

So 1280x720 @ 60fps should be in that list, but it's missing, and it's available in other software on the same computer.

What OS are you using? Internally the Capture class uses different techniques in Linux, Mac OS and Windows to interface with the webcam.

hamoid avatar Aug 29 '17 10:08 hamoid

Hi, @hamoid,

Thank you for your reply! I apologize that I can't use English accurately. I called 1280x720@60fps "the specification".

So 1280x720 @ 60fps should be in that list, but it's missing, and it's available in other software on the same computer.

You are absolutely right.

What OS are you using?

I'm using windows 10 Pro.

gell1029 avatar Aug 29 '17 11:08 gell1029

Maybe this provides some more information: https://communities.intel.com/thread/116875

I wonder if vsync has any impact: https://stackoverflow.com/questions/20551224/how-to-enable-vsync-synchronization-in-processing-2-x#20552347

hamoid avatar Aug 29 '17 11:08 hamoid