Thomas Kaiser wrote:
> Thomas Kaiser wrote:
>> Hello Anders
>>
>> Good news, I could decode a frame which I extracted from the usbsnoobs I 
>> did :-). See attached picture frame3-03.jpg. It uses the quality 0.
>>
>> Your black frame you sent me gets now correctly decode, too (frameA-01.jpg)
>>
>> I found the Huffman table in the Windoz driver file (TP6810.sys) at 
>> offset 0x2a59c. The QTable which I found in a text file on my Windoz box 
>> can be found in this driver file, also.
>>
>> I attached some binary files which I used to build the 2 attached jpeg.
>>
>> For example use:
>> cat FFD8-Q0-320x240.bin huffman1.bin FFDA.bin frame3-3.bin >frame3-03.jpg
>> to make the picture frame3-03.jpg.
>>
>> This information should the cam get going in Linux ;-)
>>
>> Happy Hacking,
>>
>> Thomas
>>
>> PS: I sent this to the linux-media mail list, because somebody else is 
>> interested about this information, too.
>>
> 
> Just some comments about the observation you made on the frame header:
> 
> ff d8 ff fe 28 3c 01
> 
> - Byte 6: Yes, it is the current quality setting
> - Byte 4 & 5: I think it is related to resolution. My snoops were done with 
> 320x240 (0x141e) and Anders were made with 640x480 (0x283c), twice as big!
> - The rest is static

OK,

Things are looking brighter, I can capture single images with a slightly
modified uvccapture and streaming with mplayer (with bogus colors, but
identifiable image data)

ucview doesn't work though; complains on huffman, but I'll look into colors 
first...

Regards

/Anders


-- 
Anders Blomdell                  Email: anders.blomd...@control.lth.se
Department of Automatic Control
Lund University                  Phone:    +46 46 222 4625
P.O. Box 118                     Fax:      +46 46 138118
SE-221 00 Lund, Sweden
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to