Bug 572588 - some cameras starting of with sending a bad jpeg frame.
Summary: some cameras starting of with sending a bad jpeg frame.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libv4l
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 572525 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-11 15:53 UTC by Daniel Walsh
Modified: 2010-04-09 04:22 UTC (History)
1 user (show)

Fixed In Version: libv4l-0.7.91-1.fc13
Clone Of:
Environment:
Last Closed: 2010-04-09 04:22:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daniel Walsh 2010-03-11 15:53:21 UTC
Description of problem:

<hansg> Ah, so this is one of those, lets start with sending a picture in the middle of the stream, so without a proper jpeg header cams. Giving you one such message on each start of an app (or resolution change)
 camorama is sporadic how ?
<dwalsh> Works 1 out of three times
<hansg> I guess I should add logic to libv4l to just silently ignore errors in the first frame of a jpeg stream
<dwalsh> When it fails it puts up "Unable to capture image."
<hansg> Ah yes, so that is the same issue, cheese tries to continue after an error, camorama quits on the first error.
 So we have 2 issues here: 1 the gstreamer segfault issue, 2 some cameras starting of with sending a bad jpeg frame. Can you file a bug for 2 against libv4l please, so that I don't forget (and can let you know when I have an update ready 2 test) ?
<dwalsh> cheese seems to slowly fade the image into view.
 ok
<hansg> That fade is likely the autoexposure algorithm of the camera adjusting itself to (the lack of) light in your environment

camorama 

(camorama:22713): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
libv4l2: error converting / decoding frame data: v4l-convert: error parsing JPEG header: Not a JPG file ?

Comment 1 Daniel Walsh 2010-03-11 15:53:32 UTC
-bash-4.1# lsusb 
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 004: ID 0a5c:2110 Broadcom Corp. Bluetooth Controller
Bus 003 Device 003: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 011: ID 05a9:2641 OmniVision Technologies, Inc. 
Bus 001 Device 010: ID 0424:2514 Standard Microsystems Corp. 
Bus 001 Device 009: ID 0424:2512 Standard Microsystems Corp. 
Bus 001 Device 008: ID 04b3:4485 IBM Corp. Serial Converter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Comment 2 Daniel Walsh 2010-03-11 15:53:55 UTC
# dmesg | grep uvcvideo
uvcvideo: Found UVC 1.00 device Monitor Integrated Webcam (05a9:2641)
uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
usbcore: registered new interface driver uvcvideo
uvcvideo: Found UVC 1.00 device Monitor Integrated Webcam (05a9:2641)
uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.

Comment 3 Fedora Update System 2010-03-12 11:24:13 UTC
libv4l-0.7.91-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/libv4l-0.7.91-1.fc13

Comment 4 Fedora Update System 2010-03-13 02:25:18 UTC
libv4l-0.7.91-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update libv4l'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/libv4l-0.7.91-1.fc13

Comment 5 Hans de Goede 2010-03-14 15:25:52 UTC
*** Bug 572525 has been marked as a duplicate of this bug. ***

Comment 6 Fedora Update System 2010-04-09 04:22:42 UTC
libv4l-0.7.91-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.