public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Andy Walls <awalls@md.metrocast.net>
To: Jean-Francois Moine <moinejf@free.fr>
Cc: Ondrej Zary <linux@rainbow-software.org>, linux-media@vger.kernel.org
Subject: Re: SPCA1527A/SPCA1528 (micro)SD camera in webcam mode
Date: Mon, 31 May 2010 08:43:51 -0400	[thread overview]
Message-ID: <1275309831.2227.26.camel@localhost> (raw)
In-Reply-To: <20100531091953.39055944@tele>

On Mon, 2010-05-31 at 09:19 +0200, Jean-Francois Moine wrote:
> On Mon, 31 May 2010 00:03:10 +0200
> Ondrej Zary <linux@rainbow-software.org> wrote:
> 
> > > I would try extracting a JPEG header from one of the files captured
> > > by the camera in stand alone mode (either a JPEG still or MJPEG
> > > file), and put that header together with the image data from the
> > > USB capture.  It may not look perfect, but hopefully you will get
> > > something you recognize.  
> > 
> > Just thought about the same thing so I uploaded a video file: 
> > http://www.rainbow-software.org/linux_files/spca1528/sunp0003.avi
> > 
> > > Attached was Theodore's first attempt of such a procedure with a
> > > header extracted from a standalone image file from my Jeilin based
> > > camera and USB snoop data from the same camera.  It wasn't perfect,
> > > but it was recognizable.  
> 
> I could not believe it! I already tried the image as JPEG, but I got
> just big colored pixels. I changed the 'samples Y' from 21 to 22 and
> I got something coherent! Here is the same image as yesterday with
> JPEG 411 header, compression quality 80% and insertion of 0x00 after
> 0xff.

Very nice work!

I think I understand the 'samples Y' change.  According to ITU T.81, you
changed the Vertical sampling factor in the Y component.  So, I guess
Luma is undersampled vertically for that mode of the camera (the camera
only really has a 240 line sensor)?

Regards,
Andy


  parent reply	other threads:[~2010-05-31 12:43 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
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 [this message]
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=1275309831.2227.26.camel@localhost \
    --to=awalls@md.metrocast.net \
    --cc=linux-media@vger.kernel.org \
    --cc=linux@rainbow-software.org \
    --cc=moinejf@free.fr \
    /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