cheese won't record video

Bug #179308 reported by Trevor Schauls
28
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cheese (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: cheese

1.Install Cheese. 2.Try to record video.

Here is the output of cheese:
** Message: Probing the webcam, please ignore the following, not applicabable tries
** Message: Error running pipeline 'v4l2src ! fakesink': Error getting capabilities for device '/dev/video0': It isn't a v4l2 driver. Check if it is a v4l1 driver. [v4l2_calls.c(80): gst_v4l2_get_capabilities (): /pipeline0/v4l2src0:
system error: Invalid argument]
** Message: test pipeline for v4l2src failed:
[v4l2src ! fakesink]: Error getting capabilities for device '/dev/video0': It isn't a v4l2 driver. Check if it is a v4l1 driver.
using source: v4lsrc ! video/x-raw-rgb,width=640,height=480 ! ffmpegcolorspace
changing to video-mode

** (cheese:8926): WARNING **: Failed to link elements!
Video saved: /home/trevor/.gnome2/cheese/videos/Video01.ogg
creating thumbnail for /home/trevor/.gnome2/cheese/videos/Video01.ogg
** Message: Error: Could not determine type of stream.
gsttypefindelement.c(735): gst_type_find_element_activate (): /play/decodebin0/typefind

totem-video-thumbnailer couln't open file 'file:///home/trevor/.gnome2/cheese/videos/Video01.ogg'
Reason: Could not determine type of stream..

** (cheese:8926): WARNING **: could not load /home/trevor/.gnome2/cheese/videos/Video01.ogg

Changed in cheese:
status: New → Confirmed
Revision history for this message
Dev (scotty-amnet) wrote :

i have something very similar, except:

[v4l2src ! fakesink]: Error getting capabilities for device '/dev/video0': It isn't a v4l2 driver. Check if it is a v4l1 driver.
using source: v4lsrc ! video/x-raw-rgb,width=640,height=480 ! ffmpegcolorspace
changing to video-mode

** (cheese:8879): WARNING **: Failed to link elements!
Video saved: /home/simon/.gnome2/cheese/videos/Video02.ogg
creating thumbnail for /home/simon/.gnome2/cheese/videos/Video02.ogg
totem-video-thumbnailer couln't open file 'file:///home/simon/.gnome2/cheese/videos/Video02.ogg'
Reason: The file you tried to play is an empty file..

** (cheese:8879): WARNING **: could not load /home/simon/.gnome2/cheese/videos/Video02.ogg

(notice the "empty file" difference).

Revision history for this message
Simone Tolotti (simontol) wrote :

Same here on hardy (cheese 2.21.5)....
Webcam works well , except when trying to capture video. Clicking on Start recording turns the input image black and switches the webcam off.

Error message I get:

(cheese:24936): GStreamer-CRITICAL **: gst_implements_interface_cast: assertion `gst_element_implements_interface (GST_ELEMENT (from), iface_type)' failed

** (cheese:24936): CRITICAL **: gst_x_overlay_set_xwindow_id: assertion `overlay != NULL' failed
** Message: Error: Lo stream non contiene dati.
gsttypefindelement.c(742): gst_type_find_element_activate (): /play/decodebin0/typefind:
Can't typefind empty stream

** Message: Error: Impossibile determinare il tipo di stream.
gsttypefindelement.c(757): gst_type_find_element_activate (): /play/decodebin0/typefind

totem-video-thumbnailer couldn't open file 'file:///home/simone/.gnome2/cheese/media/0004.ogg'
Reason: Lo stream non contiene dati..

etc...

Revision history for this message
Trevor Schauls (trevorschauls) wrote :

 Works on 8.04 x64.

Revision history for this message
Yonas (yonas-y) wrote :

Similar problem on 8.04 Beta: picture capture works, but video capture is broken:

** Message: Error: Stream contains no data.
gsttypefindelement.c(742): gst_type_find_element_activate (): /play/decodebin0/typefind:
Can't typefind empty stream

** Message: Error: Could not determine type of stream.
gsttypefindelement.c(757): gst_type_find_element_activate (): /play/decodebin0/typefind

totem-video-thumbnailer couldn't open file 'file:///home/yonas/.gnome2/cheese/media/0001.ogg'
Reason: Stream contains no data..

** (cheese:17029): WARNING **: could not load /home/yonas/.gnome2/cheese/media/0001.ogg (application/ogg)

Revision history for this message
Mio (m10) wrote :

similar thing here (using hardy heron):
cheese
** Message: Error: Lo stream non contiene dati.
gsttypefindelement.c(742): gst_type_find_element_activate (): /play/decodebin0/typefind:
Can't typefind empty stream

** Message: Error: Impossibile determinare il tipo di stream.
gsttypefindelement.c(757): gst_type_find_element_activate (): /play/decodebin0/typefind

sorry for the italian..

Revision history for this message
Shawn vega (svega85-gmail) wrote :

it's not working on intrepid ibex either
** Message: Error: Stream contains no data.
gsttypefindelement.c(776): gst_type_find_element_activate (): /play/decodebin0/typefind:
Can't typefind empty stream

** (cheese:17543): WARNING **: could not load /home/shawn/.gnome2/cheese/media/0002.ogg (application/ogg)

Revision history for this message
J.R. Mauro (jrm8005) wrote :

I can confirm this in Ubuntu 8.04 64 bit. Almost identical behavior to what Simone reported above; photo taking works, video recording changes it to a black screen, disables camera, and prevents photo feature from working unless cheese is reloaded. It would be really nice to be able to take videos. Please fix.

** (cheese:10237): CRITICAL **: gst_x_overlay_set_xwindow_id: assertion `overlay != NULL' failed

Revision history for this message
cyberfin (cyberfin) wrote :

I second this with Ubuntu 8.04.1 64 bit and Labtec Webcam Pro.

Revision history for this message
Andres Mujica (andres.mujica) wrote :

Hi can you add as separate attachment the ouput from

cheese --gst-debug=5

Revision history for this message
J.R. Mauro (jrm8005) wrote : Re: [Bug 179308] Re: cheese won't record video

On Mon, Dec 8, 2008 at 8:59 PM, Andres Mujica <email address hidden> wrote:
> Hi can you add as separate attachment the ouput from
>
> cheese --gst-debug=5

Sorry, I've moved to a different distro and can't test this anymore.

>
> --
> cheese won't record video
> https://bugs.launchpad.net/bugs/179308
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "cheese" source package in Ubuntu: Confirmed
>
> Bug description:
> Binary package hint: cheese
>
> 1.Install Cheese. 2.Try to record video.
>
> Here is the output of cheese:
> ** Message: Probing the webcam, please ignore the following, not applicabable tries
> ** Message: Error running pipeline 'v4l2src ! fakesink': Error getting capabilities for device '/dev/video0': It isn't a v4l2 driver. Check if it is a v4l1 driver. [v4l2_calls.c(80): gst_v4l2_get_capabilities (): /pipeline0/v4l2src0:
> system error: Invalid argument]
> ** Message: test pipeline for v4l2src failed:
> [v4l2src ! fakesink]: Error getting capabilities for device '/dev/video0': It isn't a v4l2 driver. Check if it is a v4l1 driver.
> using source: v4lsrc ! video/x-raw-rgb,width=640,height=480 ! ffmpegcolorspace
> changing to video-mode
>
> ** (cheese:8926): WARNING **: Failed to link elements!
> Video saved: /home/trevor/.gnome2/cheese/videos/Video01.ogg
> creating thumbnail for /home/trevor/.gnome2/cheese/videos/Video01.ogg
> ** Message: Error: Could not determine type of stream.
> gsttypefindelement.c(735): gst_type_find_element_activate (): /play/decodebin0/typefind
>
> totem-video-thumbnailer couln't open file 'file:///home/trevor/.gnome2/cheese/videos/Video01.ogg'
> Reason: Could not determine type of stream..
>
> ** (cheese:8926): WARNING **: could not load /home/trevor/.gnome2/cheese/videos/Video01.ogg
>

Changed in cheese:
status: Confirmed → Incomplete
Revision history for this message
Andres Mujica (andres.mujica) wrote :

Trevor, as the original reporter is possible for you to test this?

thanks

Revision history for this message
Trevor Schauls (trevorschauls) wrote :

I don't have this problem anymore.

Revision history for this message
Andres Mujica (andres.mujica) wrote :

as explained in last comment.

Thanks!

Changed in cheese:
status: Incomplete → Fix Released
Revision history for this message
Alex Midgley (alex-tapdancinggoats) wrote :

This is marked as fix released, but I'm still having the problem that Simone describes above. My cam works fine in the preview, but when I start recording the camera shuts off. I've attached the output of the debug command you requested.

This is with Intrepid Kubuntu, cheese 2.24.2, and a Ricoh R5U870 webcam.

Revision history for this message
Andres Mujica (andres.mujica) wrote :

OK, do you have intrepid fully updated?

can you test with proposed updates?

Are you getting this error:

gsttypefindelement.c(735): gst_type_find_element_activate (): /play/decodebin0/typefind

when started cheese from command line?

Changed in cheese:
status: Fix Released → Incomplete
Revision history for this message
Andres Mujica (andres.mujica) wrote :

Please add the output from:

LANG=C cheese -v

thanks

Revision history for this message
Alex Midgley (alex-tapdancinggoats) wrote :

Cheese seems to be working fine now. I can record video. I hadn't tried it since my last comment here, so I'm not sure what fixed it between then and now. The version of cheese is the same.

Changed in cheese:
status: Incomplete → Fix Released
Revision history for this message
dorpm (dorpmueller) wrote :

In Jaunty this problem still exists. Please find attached the output from "LANG=C cheese -v". Additionally on the screen I see:

** (cheese:9491): WARNING **: Couldn't load icon: Icon 'image-loading' not present in theme

** (cheese:9491): WARNING **: Couldn't load icon: Icon 'image-loading' not present in theme

** (cheese:9491): WARNING **: Couldn't load icon: Icon 'image-loading' not present in theme

** (cheese:9491): WARNING **: Couldn't load icon: Icon 'image-loading' not present in theme

** (cheese:9491): WARNING **: Couldn't load icon: Icon 'image-loading' not present in theme

** (cheese:9491): WARNING **: Throbber animation not found

** (cheese:9491): WARNING **: Throbber fallback animation not found either

** (cheese:9491): WARNING **: No GConf default audio src key and alsasrc doesn't work

** (cheese:9491): CRITICAL **: gst_x_overlay_set_xwindow_id: assertion `overlay != NULL' failed

With this I only can capture photos but no videos.

Florian

Revision history for this message
Kenneth Brown (pliny) wrote :

I had the same error as #18 - Some googling led me to to resolve it by installing the gstreamer0.10-alsa package.

Revision history for this message
ScottPurcell (scott-texastwister) wrote :

Same problem here, on a Dell Mini10 using their factory installed Ubuntu 8.04 NR. But I have the latest updates from the http://dell-mini.archive.canonical.com repositories -- including the gstreamer package referenced above.

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.