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

The cheese snap fails to connect to the webcam #4

Open
hellsworth opened this issue Jun 12, 2023 · 3 comments
Open

The cheese snap fails to connect to the webcam #4

hellsworth opened this issue Jun 12, 2023 · 3 comments

Comments

@hellsworth
Copy link

The cheese snap fails to connect to the webcam.

I have cheese from --candidate (Rev 22) installed on my lunar system with a webcam. When I run it, I see the light on my camera turn on but then off, with the following error message:

$ snap run cheese

(cheese:1724098): cheese-WARNING **: 11:39:44.702: Can't find vp8enc preset: "Profile Realtime", using alternate preset: "Cheese Realtime". If you see this, make a bug report!

(cheese:1724098): GStreamer-WARNING **: 11:39:44.702: gst_value_deserialize_g_value_array: unimplemented

(cheese:1724098): GStreamer-WARNING **: 11:39:44.702: gst_value_deserialize_g_value_array: unimplemented

(cheese:1724098): GStreamer-WARNING **: 11:39:44.702: gst_value_deserialize_g_value_array: unimplemented

(cheese:1724098): GStreamer-WARNING **: 11:39:44.713: gst_value_deserialize_g_value_array: unimplemented

(cheese:1724098): GStreamer-WARNING **: 11:39:44.713: gst_value_deserialize_g_value_array: unimplemented

(cheese:1724098): GStreamer-WARNING **: 11:39:44.713: gst_value_deserialize_g_value_array: unimplemented

(cheese:1724098): cheese-WARNING **: 11:39:46.651: Internal data stream error.: ../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin18/GstV4l2Src:v4l2src1:
streaming stopped, reason error (-5)
@jbicha
Copy link
Collaborator

jbicha commented Jun 13, 2023

I think the Cheese snap became much flakier after the switch to core22. When I tested before, it worked sometimes.

Ubuntu 22.04 LTS doesn't have the newest 1.20 series of the gstreamer packages, but I don't know if there are fixes in the new version.

@kenvandine
Copy link
Member

I think this is somewhat dependent on the host. It works fine for me, but it also worked fine for me when Heather reported the issue.

@sergio-costas
Copy link
Contributor

I did some tests. First, I had to add cmake and libgnome-desktop-3-dev to be able to create the 44.1 snap, and it worked fine but saw that vp8enc error, so I added libvpx7, and then it began to fail (and also the errors remained). Removing the library wasn't enough to fix it, I had to uninstall the snap and install it again. Then it worked fine.

Maybe compiling inside the last version of GST would fix all of this...

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

4 participants