Skip to content

Problems with external webcam #45

Description

@Jones-S

Hi
I have another problem:
I am on Mac OS X 13.3 and I use reacTIVision 1.5 (the last released version).

It works alright with the built in laptop webcam, but if I want to use an external logitech 1080p cam, I can't get a proper input image.

I tried to work with the camera.xml:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<portvideo>
    <camera id="0">
        <capture width="640" height="480" fps="max" compress="false" />
        <settings brightness="default" contrast="default" gain="default" shutter="default" exposure="default" sharpness="default" gamma="default" focus="default" />
        <frame width="max" height="max" xoff="0" yoff="0" />
    </camera>
</portvideo>

Results in this:
4* the camera input, squeezed in y-axis and leaving a lot of black space. (you can see my hand)
image

I tried the -l startup option to list all cameras:

./reacTIVision -l             
reacTIVision 1.5.1 (Oct 22 2016)

no DC1394 cameras found
no PS3Eye cameras found
3 AVFoundation cameras found:
	0: HD Pro Webcam C920
		format: YUYV (yuvs)
			160x90 30 fps
		format: YUV420 (420v)
			160x90 30 fps
		format: YUYV (yuvs)
			160x120 30 fps
		format: YUV420 (420v)
			160x120 30 fps
		format: YUYV (yuvs)
			176x144 30 fps
		format: YUV420 (420v)
			176x144 30 fps
		format: YUYV (yuvs)
			320x180 30 fps
		format: YUV420 (420v)
			320x180 30 fps
		format: YUYV (yuvs)
			320x240 30 fps
		format: YUV420 (420v)
			320x240 30 fps
		format: YUYV (yuvs)
			352x288 30 fps
		format: YUV420 (420v)
			352x288 30 fps
		format: YUYV (yuvs)
			432x240 30 fps
		format: YUV420 (420v)
			432x240 30 fps
			640x360 30 fps
		format: YUYV (yuvs)
			640x480 30 fps
		format: YUV420 (420v)
			640x480 30 fps
		format: YUYV (yuvs)
			800x448 30 fps
		format: YUV420 (420v)
			800x448 30 fps
			800x600 30 fps
		format: YUYV (yuvs)
			800x600 24 fps
		format: YUV420 (420v)
			864x480 30 fps
		format: YUYV (yuvs)
			864x480 24 fps
		format: YUV420 (420v)
			960x720 30 fps
		format: YUYV (yuvs)
			960x720 15 fps
		format: YUV420 (420v)
			1024x576 30 fps
		format: YUYV (yuvs)
			1024x576 15 fps
		format: YUV420 (420v)
			1280x720 30 fps
		format: YUYV (yuvs)
			1280x720 10 fps
		format: YUV420 (420v)
			1600x896 30 fps
		format: YUYV (yuvs)
			1600x896 7.5 fps
		format: YUV420 (420v)
			1920x1080 30 fps
		format: YUYV (yuvs)
			1920x1080 5 fps
	1: FaceTime HD Camera
		format: YUV420 (420v)
			1920x1080 30 fps
			1280x720 30 fps
			1080x1920 30 fps
			1760x1328 30 fps
			640x480 30 fps
			1328x1760 30 fps
			1552x1552 30 fps

But even if I adjust the settings to this:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<portvideo>
    <camera id="0">
        <capture width="1920" height="1080" fps="max" compress="false" />
        <settings brightness="default" contrast="default" gain="default" shutter="default" exposure="default" sharpness="default" gamma="default" focus="default" />
        <frame width="max" height="max" xoff="0" yoff="0" />
    </camera>
</portvideo>

I get an even weirder image:

image

When running hitting the o shortcut, which should bring up the camera options does not work either.

If there was anybody who has experience something similar or has another hint, I would be very glad to hear that.
Cheers

___ Edit: ____

Oh also I get this information when starting via Terminal:

$ cd reacTIVision.app/Contents/MacOS 
$ ./reacTIVision  

reacTIVision 1.5.1 (Oct 22 2016)

no DC1394 cameras found
no PS3Eye cameras found
3 AVFoundation cameras found
2023-11-20 15:41:06.590 reacTIVision[27942:8202306] CameraControl Error: IOCreatePlugInInterfaceForService returned 0xe00002be.
2023-11-20 15:41:06.591 reacTIVision[27942:8202306] 		ERR: couldn't create VVUVCController with locationID 288358400, 11300000
camera: HD Pro Webcam C920
format: 1920x1080, 5fps
render: opengl

But I don't understand this either...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions