[Bug 287078] multimedia/cheese: fails to show images/video for a working webcam

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 26 May 2025 14:34:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287078

            Bug ID: 287078
           Summary: multimedia/cheese: fails to show images/video for a
                    working webcam
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: tom@eborcom.com
             Flags: maintainer-feedback?(gnome@FreeBSD.org)
          Assignee: gnome@FreeBSD.org

Whenever I run cheese, it fails to show any image or video.  The application
starts, and in the middle of a black box says "There was an error playing video
from the webcam".

When I run `cheese` from the command line I see the following output:

(cheese:2650): cheese-CRITICAL **: 15:26:05.932: GValue type gint x
GstValueList, cannot be handled for resolution

(cheese:2650): cheese-CRITICAL **: 15:26:05.932: GValue type gint x
GstValueList, cannot be handled for resolution

(cheese:2650): cheese-CRITICAL **: 15:26:05.932: GValue type gint x
GstValueList, cannot be handled for resolution

(cheese:2650): cheese-CRITICAL **: 15:26:05.932: GValue type gint x
GstValueList, cannot be handled for resolution

(cheese:2650): cheese-WARNING **: 15:26:06.196: Failed to allocate required
memory.: ../sys/v4l2/gstv4l2src.c(959): gst_v4l2src_decide_allocation ():
/GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin35/GstV4l2Src:v4l2src1:
Buffer pool activation failed


I have seen this problem on several desktop machines running FreeBSD with
various different webcams.  I do not use gnome, but run xfce4.  I wonder if the
port omits essential dependencies.

The webcams always work without a problem in other applications such as firefox
and webcamoid.

I have `webcamd_enable="YES"` set in /etc/rc.conf and `pgrep -fla webcam`
shows:
1119 /usr/local/sbin/webcamd -i 0 -d ugen0.4 -B -U webcamd -G webcamd

Please let me know if you need any further information or would like me to
experiement running additional packages or different configuration.

-- 
You are receiving this mail because:
You are the assignee for the bug.