Cheese shows very small video size

Bug #149996 reported by Alexander Hunziker
4
Affects Status Importance Assigned to Milestone
GStreamer
Fix Released
Medium
cheese (Ubuntu)
Invalid
Undecided
Unassigned
gstreamer0.10 (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

I have a Webcam that outputs good quality VGA resolution video. The driver it uses is uvcvideo. In feisty when using Cheese, I got a fairly large, high resolution and fluid preview. Now in gutsy beta, the preview image is very small (160x120 I think) and gets updated only about once every second.

Revision history for this message
Alexander Hunziker (alex-hunziker) wrote :

I have a feeling that gstreamer is to be blamed. The driver does seem to output the 640x480 resolution it should, I verified this using ffmpeg [1]. Also, the "Multimedia Systems Selector" application (normally hidden in ubuntu's menus, call using gstreamer-properties) shows only the 160x120 tiny video, though at least at a reasonable framerate.

[1] something like ffmpeg -f video4linux2 -s 640x480 -r 24 -b 750000 -vcodec wmv2 -i /dev/video0 -f audio_device -i /dev/audio1 -isync -acodec wmav2 -f avi out.wmv

Revision history for this message
Alexander Hunziker (alex-hunziker) wrote :

I have been playing around with gst-launch. GStreamer's v4l2src does indeed by default only provide a very small 160x120 pixel image, even though the native resolution of my camera is higher. It can be convinced to providing a higher resolution image though when providing caps.

gst-launch-0.10 v4l2src ! video/x-raw-yuv,width=640,height=480 ! ffmpegcolorspace ! theoraenc ! oggmux ! filesink location=/home/hunzikea/test.ogg

Revision history for this message
Alexander Hunziker (alex-hunziker) wrote :

It seems the newest Cheese (0.2.4) does it correctly by forcing v4l2src to output a higher resolution. Any chance of upgrading it before (or after) release?

Revision history for this message
teppot (teppot-deactivatedaccount) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

comment from upstream:

"I think this is fixed in current CVS. Please re-open if not"

Changed in gstreamer0.10:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Fix Committed
Changed in gstreamer:
status: Unknown → Fix Released
Changed in cheese:
status: New → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version is available in hardy

Changed in gstreamer0.10:
status: Fix Committed → Fix Released
Changed in gstreamer:
importance: Unknown → Medium
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.