There was an error playing video from the webcam after taking photo.

Bug #1449829 reported by alexmex90
38
This bug affects 9 people
Affects Status Importance Assigned to Milestone
cheese (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Cheese fails to capture video from the webcam after taking a photo. Running Cheese from the terminal prompts the following error:

libv4l2: error setting pixformat: Device or resource busy

(cheese:5170): cheese-WARNING **: Device '/dev/video0' is busy: gstv4l2object.c(2838): gst_v4l2_object_set_format (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin18/GstV4l2Src:video_source:
Call to S_FMT failed for YU12 @ 640x480: Device or resource busy

My camera needs the r5u87x firmware from this PPA:
https://launchpad.net/~r5u87x-loader/+archive/ubuntu/ppa

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: cheese 3.14.1-2ubuntu4
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic i686
ApportVersion: 2.17.2-0ubuntu1
Architecture: i386
CurrentDesktop: Unity
Date: Tue Apr 28 20:20:38 2015
InstallationDate: Installed on 2015-04-28 (0 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release i386 (20150422)
SourcePackage: cheese
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
alexmex90 (alexmex90) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in cheese (Ubuntu):
status: New → Confirmed
Changed in cheese (Ubuntu):
importance: Undecided → Medium
Revision history for this message
heynnema (heynnema) wrote :

I have the same problem.

Revision history for this message
vitorafsr (vitorafsr) wrote :

Same problem in my Dell 7520: after taking a photo the message "There was an error playing video from the webcam" appear over a black background.

$ cheese
libv4l2: error setting pixformat: Device or resource busy

(cheese:12775): cheese-WARNING **: Device '/dev/video0' is busy: gstv4l2object.c(2838): gst_v4l2_object_set_format (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin18/GstV4l2Src:video_source:
Call to S_FMT failed for YU12 @ 1280x720: Device or resource busy

Revision history for this message
iceman75 (javier-orejarena) wrote :

Same problem here!

libv4l2: error setting pixformat: Dispositivo o recurso ocupado

(cheese:6091): cheese-WARNING **: El dispositivo «/dev/video0» está ocupado: gstv4l2object.c(2838): gst_v4l2_object_set_format (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin18/GstV4l2Src:video_source:
Call to S_FMT failed for YU12 @ 1280x720: Dispositivo o recurso ocupado

Revision history for this message
iceman75 (javier-orejarena) wrote :

Additional testing done. Installed "Kamerka" and works, can take picture without any failure messages.
Included messages for Kamerka:

Kamerka version 0.8.1
    Copyright (C) 2011 Sebastian Krzyszkowiak
    Kamerka comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `./kamerka --license' for details.
static bool QDeclarativeMetaType::isModule(const QByteArray&, int, int) Qt 4.7 import detected; please note that Qt 4.7 is directly reusable as QtQuick 1.x with no code changes. Continuing, but startup time will be slower.
kamerka(12445)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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