TheImagingSource / Linux-tiscamera-Programming-Samples

Programming samples in Python and C++ for the tiscamera GStreamer modules.
71 stars 35 forks source link

DMM 36ax290-ML Python MIPI Examples Will not Open Device #28

Open palacidr opened 1 year ago

palacidr commented 1 year ago

I downloaded and installed tiscamera and tcampimipisrc. image

The camera works correctly when opened in Tcam-Capture. image

I try to run the python examples (00-list-devices.py & 03-live-stream.py) from the installed packages and get the following errors: image

image

Is there some parameter that I need to adjust here that I have not thought about? I see in some of the other examples (13-gstquery.py) the format has to be changed based on the camera but there is no output which makes me believe that I am not using gstreamer correctly. image

But, the two previous python examples (00-list-devices.py & 03-live-stream.py) should have run automatically with no adjustment to the python code?

TIS-Stefan commented 1 year ago

Hello

you are right, these samples should work on a PI4 without changes. They do not work on a PI3 or older models. Do you use a PI 4?

Stefan

palacidr commented 1 year ago

Yes. I'm using a RPi4.

On Thu, Mar 30, 2023, 3:40 AM TIS-Stefan @.***> wrote:

Hello

you are right, these samples should work on a PI4 without changes. They do not work on a PI3 or older models. Do you use a PI 4?

Stefan

— Reply to this email directly, view it on GitHub https://github.com/TheImagingSource/Linux-tiscamera-Programming-Samples/issues/28#issuecomment-1489839833, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6WFCEJ2TOLOPNOBYHFLSRTW6U2HHANCNFSM6AAAAAAWMNAZ3A . You are receiving this because you authored the thread.Message ID: <TheImagingSource/Linux-tiscamera-Programming-Samples/issues/28/1489839833 @github.com>

TIS-Stefan commented 1 year ago

Please do not "sudo" for the Python scripts and also make sure, you use Python 3.