public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean-Francois Moine <moinejf@free.fr>
To: Ondrej Zary <linux@rainbow-software.org>
Cc: linux-media@vger.kernel.org
Subject: Re: SPCA1527A/SPCA1528 (micro)SD camera in webcam mode
Date: Sun, 30 May 2010 20:13:43 +0200	[thread overview]
Message-ID: <20100530201343.223a10bd@tele> (raw)
In-Reply-To: <201005301955.24442.linux@rainbow-software.org>

[-- Attachment #1: Type: text/plain, Size: 1216 bytes --]

On Sun, 30 May 2010 19:55:22 +0200
Ondrej Zary <linux@rainbow-software.org> wrote:

> That's bad...
> 
> The driver contains file sp5x_32.dll which is registered in
> system.ini file as [drivers32]
> VIDC.SP54=SP5X_32.DLL
> 
> Seems that the codec is called SP54 - hope that it's used to
> decompress the data.
> 
> > All I can do is to code the driver and let you or anyone find the
> > decompression function...
> 
> Maybe we can dump some data, create AVI file from that and try to
> decode the file using that codec.

It is easy to get images from the usbsnoop files. I join an image
extracted from your file usbsnoop-video-capture-640x480.log. If you
want more images, they are in IsoPackets. The first 2 bytes of each isoc
packet mean:
- '02 80' or '02 81': first of intermediate part of the image ('0' or
  '1' is the image sequence number)
- '02 82' or '02 83': last part of the image

Someone had an idea to try and guess the compression algorithm: do
usbsnoop's with full black and full white images. But this idea did not
work with the other webcam: the images were quite the same!

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

[-- Attachment #2: image640.dat --]
[-- Type: application/octet-stream, Size: 28893 bytes --]

  reply	other threads:[~2010-05-30 18:12 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-29 17:09 SPCA1527A/SPCA1528 (micro)SD camera in webcam mode Ondrej Zary
2010-05-29 18:24 ` Jean-Francois Moine
2010-05-29 19:32   ` Ondrej Zary
2010-05-30 11:34     ` Jean-Francois Moine
2010-05-30 17:55       ` Ondrej Zary
2010-05-30 18:13         ` Jean-Francois Moine [this message]
2010-05-31  2:36           ` Andy Walls
2010-05-31  3:15             ` Theodore Kilgore
2010-05-30 19:26         ` Andy Walls
2010-05-30 21:28           ` Ondrej Zary
2010-05-30 21:58             ` Andy Walls
2010-05-30 22:03               ` Ondrej Zary
2010-05-31  3:06                 ` Theodore Kilgore
2010-05-31  7:19                 ` Jean-Francois Moine
2010-05-31  7:56                   ` Ondrej Zary
2010-05-31 12:43                   ` Andy Walls
2010-05-30 18:30       ` Andy Walls

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100530201343.223a10bd@tele \
    --to=moinejf@free.fr \
    --cc=linux-media@vger.kernel.org \
    --cc=linux@rainbow-software.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox