Re: Topro 6800 driver [JPEG decoding solved]
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
Re: Topro 6800 driver [JPEG decoding solved]
Youhhhouuu ! You are the King of the snoop ! How did you find an huffman table in the middle of a file ? But, I don't have received any file with the mail ? Have you correctly attached the files in the mail ? Thank you again for this good news ! Thomas 2009/3/18 Thomas Kaiser : > 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 > > Thomas > > -- 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
Re: Topro 6800 driver [JPEG decoding solved]
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 Thomas -- 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
Re: Topro 6800 driver [JPEG decoding solved]
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. <><> FFD8-Q0-320x240.bin Description: Binary data FFD8-Q0-640x480.bin Description: Binary data FFD8-Q1-320x280.bin Description: Binary data FFD8-Q1-640x480.bin Description: Binary data FFDA.bin Description: Binary data huffman1.bin Description: Binary data frame3-3.bin Description: Binary data