Log in or register to post comments

Webcam Output does not appear on screen Unity

November 21, 2019 - 2:45am #1

I connected a webcam via USB cable to the computer. Unity notices the presence of the USB camera because it signals it to me with a generic "USB 28289 Device" in the Inspector of AR Camera. Initially it gave me an error of "webcam profile not found". So I modified the webprofiles.xml file adding the following code:

<webcam deviceName = "USB 28189 Device">

        <Windows>

            <! - size of the web cam texture requested from Unity ->

            <RequestedTextureWidth> 320 </ requestedTextureWidth>

            <RequestedTextureHeight> 240 </ requestedTextureHeight>

            <! - size of the texture Unity's web cam texture will be rescaled to ->

            <ResampledTextureWidth> 320 </ resampledTextureWidth>

        </ Windows>

        <Osx>

            <! - size of the web cam texture requested from Unity ->

            <RequestedTextureWidth> 320 </ requestedTextureWidth>

            <RequestedTextureHeight> 240 </ requestedTextureHeight>

            <! - size of the texture Unity's web cam texture will be rescaled to ->

            <ResampledTextureWidth> 320 </ resampledTextureWidth>

        </ Osx>

    </ Webcam>

In this way the "profile not found" error has disappeared. However when I run the application in Unity I get the following error:

- Composite

and in practice no video footage appears on the screen. How can I solve this problem? Where did I go wrong?

Thanks in advance for an answer.

Webcam Output does not appear on screen Unity

December 16, 2019 - 3:58am #3

I'm trying to connect the BNC output of an endoscope to the computer's USB input to process the endoscope's video stream. For this reason I am using this cable

https://www.amazon.it/eletryc-Supereyes-supporta-Windows-acquisizione/dp/B01GZKJEMI

Initially I had the "Composite" error and I didn't understand why. Now I think the problem was due to the endoscope's own BNC connector, maybe a little worn. Moving the cable a little, this error has disappeared. But now when I start the app on Unity I get the following two errors:

Could not start graph

Could not pause pControl

can you help me understand how can i fix this error?

Webcam Output does not appear on screen Unity

November 24, 2019 - 2:28pm #2

Please help me. What does this "Composite" error mean?

Log in or register to post comments