libv4lconvert throws errors shorty after starting stream
Bug #347562 reported by
mungewell
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-v4l2capture |
New
|
Undecided
|
Unassigned |
Bug Description
It may be related to my crappy hardware (P800 which is USB1.1) but I'm getting errors from libconvert which look to be related to missing/truncated data.
So far I have seen:
libv4lconvert: Error decompressing JPEG: error: more then 63 AC components (65) in huffman unit
libv4lconvert: Error decompressing JPEG: unknown huffman code: 0000ffd9
libv4lconvert: Error decompressing JPEG: fill_nbits error: need 1 more bits
Test program attached.
Mungewell
To post a comment you must log in.
I've now also seen a critical error, which stopped the application. ubuntu: ~/python- v4l2-capture$ ./streamgtk.py -g -b -l -v -x 640 -y 480
--
ubuntu@
Capture size 640 480
starting capture
libv4l2: error converting / decoding frame data: v4l-convert: error parsing JPEG header: Bogus jpeg format
Exception in thread Thread-1: python2. 5/threading. py", line 486, in __bootstrap_inner and_queue( )
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "./streamgtk.py", line 89, in run
image_data = video.read_
IOError: [Errno 5] Input/output error
--