← Back to team overview

desktop-packages team mailing list archive

[Bug 1299073] Re: [desktop] Video recording is not working

 

I have the same problem:

martin@pc:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.1 LTS
Release:	14.04
Codename:	trusty
martin@pc:~$ uname -a
Linux pc 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
martin@pc:~$ lsusb | grep Cam
Bus 003 Device 011: ID 045e:0779 Microsoft Corp. LifeCam HD-3000
martin@pc:~$ cheese 

** (cheese:4661): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-cLJXkkP1Fj: Spojení odmítnuto
libv4l2: error turning on stream: Nepřípustný argument

(cheese:4661): cheese-WARNING **: Interní chyba toku dat.: gstbasesrc.c(2865): gst_base_src_loop (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin17/GstV4l2Src:video_source:
streaming task paused, reason not-negotiated (-4)

martin@pc:~$ guvcview 
guvcview 1.7.1
file guvcview_video.mkv has extension type 1
file guvcview_image.jpg has extension type 0

** (guvcview:4675): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-cLJXkkP1Fj: Spojení odmítnuto
file guvcview_image.jpg has extension type 0
Video file suffix detected: 0
Image file suffix detected: 0
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
bt_audio_service_open: connect() failed: Spojení odmítnuto (111)
bt_audio_service_open: connect() failed: Spojení odmítnuto (111)
bt_audio_service_open: connect() failed: Spojení odmítnuto (111)
bt_audio_service_open: connect() failed: Spojení odmítnuto (111)
Cannot connect to server socket err = Adresář nebo soubor neexistuje
Cannot connect to server request channel
jack server is not running or cannot be started
video device: /dev/video0 
Init. Microsoft® LifeCam HD-3000 (location: usb-0000:00:14.0-11)
{ pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 720 }
	Time interval between frame: 1/10, 2/15, 
{ discrete: width = 960, height = 544 }
	Time interval between frame: 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 448 }
	Time interval between frame: 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 640, height = 360 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 424, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 600 }
	Time interval between frame: 1/15, 1/10, 2/15, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 800 }
	Time interval between frame: 1/10, 
{ pixelformat = 'MJPG', description = 'MJPEG' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 720 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 960, height = 544 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 448 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 640, height = 360 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 600 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 416, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ pixelformat = 'RGB3', description = 'RGB3' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 720 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 960, height = 544 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 448 }
	Time interval between frame: 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 640, height = 360 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 424, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 600 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 800 }
	Time interval between frame: 1/10, 
{ discrete: width = 416, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ pixelformat = 'BGR3', description = 'BGR3' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 720 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 960, height = 544 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 448 }
	Time interval between frame: 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 640, height = 360 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 424, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 600 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 800 }
	Time interval between frame: 1/10, 
{ discrete: width = 416, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ pixelformat = 'YU12', description = 'YU12' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 720 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 960, height = 544 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 448 }
	Time interval between frame: 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 640, height = 360 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 424, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 600 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 800 }
	Time interval between frame: 1/10, 
{ discrete: width = 416, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ pixelformat = 'YV12', description = 'YV12' }
{ discrete: width = 640, height = 480 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 720 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 960, height = 544 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 448 }
	Time interval between frame: 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 640, height = 360 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 424, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 352, height = 288 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 320, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 800, height = 600 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 176, height = 144 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 160, height = 120 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
{ discrete: width = 1280, height = 800 }
	Time interval between frame: 1/10, 
{ discrete: width = 416, height = 240 }
	Time interval between frame: 1/30, 1/20, 1/15, 1/10, 2/15, 
vid:045e 
pid:0779 
driver:uvcvideo
checking format: 1196444237
VIDIOC_G_COMP:: Pro toto zařízení nevhodné ioctl
fps is set to 1/30
drawing controls

libv4l2: error turning on stream: Nepřípustný argument
VIDIOC_STREAMON - Unable to start capture: Nepřípustný argument
fps is set to 1/30
Checking video mode 1280x720@32bpp : OK 
libv4l2: error turning on stream: Nepřípustný argument
VIDIOC_STREAMON - Unable to start capture: Nepřípustný argument
libv4l2: error turning on stream: Nepřípustný argument
VIDIOC_STREAMON - Unable to start capture: Nepřípustný argument
write /home/martin/.config/guvcview/video0 OK
free controls
cleaned allocations - 100%
Closing portaudio ...OK
Closing GTK... OK
martin@pc:~$

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cheese in Ubuntu.
https://bugs.launchpad.net/bugs/1299073

Title:
  [desktop] Video recording is not working

Status in Camera App:
  In Progress
Status in camera-app package in Ubuntu:
  In Progress
Status in cheese package in Ubuntu:
  Confirmed
Status in guvcview package in Ubuntu:
  Confirmed
Status in qtmultimedia-opensource-src package in Ubuntu:
  Confirmed

Bug description:
  Video recording used to work fine on my trusty desktop, but now it
  freezes the application and video does not record.

  Steps to reproduce:

  1) Start camera-app in desktop mode ($ DESKTOP_MODE=1 camera-app)
  2) Switch to video
  3) Press the red button

  Expected behaviour:

  The app records  video correctly

  Actual behaviour:

  The videocamera freezes (still image) and video is not recorded
  The following error shows in the terminal:

  libv4l2: error setting pixformat: Device or resource busy
  CameraBin error: "Device '/dev/video0' is busy" 
  CameraBin error: "Could not negotiate format" 

  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: camera-app 2.9.1+14.04.20140307-0ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-18.38-generic 3.13.6
  Uname: Linux 3.13.0-18-generic x86_64
  ApportVersion: 2.13.3-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri Mar 28 16:32:32 2014
  InstallationDate: Installed on 2013-06-17 (283 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  SourcePackage: camera-app
  UpgradeStatus: Upgraded to trusty on 2014-01-20 (66 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1299073/+subscriptions