Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera not working on Pinephone #42

Open
AndyM48 opened this issue Sep 18, 2021 · 2 comments
Open

Camera not working on Pinephone #42

AndyM48 opened this issue Sep 18, 2021 · 2 comments

Comments

@AndyM48
Copy link

AndyM48 commented Sep 18, 2021

I am running CoBang on a Pinephone with Arch Linux and Phosh.
Starting CoBang from the command line (SSH) shows:
$ cobang

(main.py:12121): GStreamer-CRITICAL **: 08:43:05.970: gst_element_message_full_with_details: assertion GST_IS_ELEMENT (element) failed

(main.py:12121): GStreamer-CRITICAL **: 08:43:05.971: gst_element_message_full_with_details: assertion GST_IS_ELEMENT (element) failed

There is no video and it seems that only one of the cameras has been identified

screenshot

According to the wiki

The PinePhone has two cameras, OmniVision OV5640 with 5MP (up to 2592 x 1944 pixels) as rear camera and GalaxyCore GC2145 with 2MP (up to 1600 x 1200 pixels) as front camera.

Both cameras work with Megapixel.

@hongquan
Copy link
Owner

hongquan commented Sep 18, 2021

Hi @FDServices

According to MegaPixel author https://git.sr.ht/~martijnbraam/megapixels, this camera is not supported by higher-level library (GStreamer), he has to do low-level stuff to access this camera video stream. Doing like this requires to have a real device. I don't have a real device so I cannot do it. Hopefully the camera is supported by some higher-level libraries someday.

@rafael2k
Copy link

rafael2k commented Jul 4, 2022

Libcamera does support the cameras and gstlibcamera gstreamer source does provide support for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants