Could not play camera stream

Bug #2061165 reported by Joe Barnett
This bug report is a duplicate of:  Bug #2060390: Snapshot No Camera Found. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-snapshot (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Running snapshot, I get a UI error message "could not play camera stream", a black window, and the following log messages:

2024-04-12T16:32:17.738325Z INFO snapshot::application::imp: Snapshot (org.gnome.Snapshot)
2024-04-12T16:32:17.738340Z INFO snapshot::application::imp: Version: 46.0
2024-04-12T16:32:17.738346Z INFO snapshot::application::imp: Datadir: /usr/share/snapshot

(snapshot:923479): Adwaita-WARNING **: 09:32:17.773: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
2024-04-12T16:32:18.266073Z ERROR aperture::viewfinder: Could not start camerabin: Element failed to change its state
2024-04-12T16:32:18.270673Z ERROR aperture::viewfinder: Could not start camerabin: Element failed to change its state
2024-04-12T16:32:18.272590Z ERROR aperture::viewfinder: Bus Error from Some("/GstCameraBin:camerabin0/GstWrapperCameraBinSrc:camerasrc/GstAutoVideoSrc:camerasrc-real-src/GstPipeWireSrc:camerasrc-real-src-actual-src-pipewir")
stream error: error output enum formats: Invalid argument
Some("../src/gst/gstpipewiresrc.c(689): on_state_changed (): /GstCameraBin:camerabin0/GstWrapperCameraBinSrc:camerasrc/GstAutoVideoSrc:camerasrc-real-src/GstPipeWireSrc:camerasrc-real-src-actual-src-pipewir")
2024-04-12T16:32:18.272628Z ERROR aperture::viewfinder: Bus Error from Some("/GstCameraBin:camerabin0/GstWrapperCameraBinSrc:camerasrc/GstAutoVideoSrc:camerasrc-real-src/GstPipeWireSrc:camerasrc-real-src-actual-src-pipewir")
Internal data stream error.
Some("../libs/gst/base/gstbasesrc.c(3175): gst_base_src_loop (): /GstCameraBin:camerabin0/GstWrapperCameraBinSrc:camerasrc/GstAutoVideoSrc:camerasrc-real-src/GstPipeWireSrc:camerasrc-real-src-actual-src-pipewir:\nstreaming stopped, reason not-negotiated (-4)")

Running the flatpak org.gnome.Snapshot version of the app, everything works ok, fwiw

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-snapshot 46.0-1ubuntu2
ProcVersionSignature: Ubuntu 6.8.0-11.11-generic 6.8.0-rc4
Uname: Linux 6.8.0-11-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: GNOME
Date: Fri Apr 12 09:31:36 2024
InstallationDate: Installed on 2019-08-17 (1701 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190305.1)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: gnome-snapshot
UpgradeStatus: Upgraded to noble on 2024-03-23 (20 days ago)

Revision history for this message
Joe Barnett (thejoe) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-snapshot (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.