From: Jean-Francois Moine <moinejf@free.fr>
To: Sudhindra Nayak <sudhindra.nayak@gmail.com>
Cc: linux-media@vger.kernel.org
Subject: Re: Not able to capture video frames
Date: Tue, 17 Aug 2010 20:01:23 +0200 [thread overview]
Message-ID: <20100817200123.656b1461@tele> (raw)
In-Reply-To: <AANLkTinEbSe=d7TESEzzd8MZ5tPExrN4U9LvHrgm7FYf@mail.gmail.com>
On Tue, 17 Aug 2010 17:50:58 +0530
Sudhindra Nayak <sudhindra.nayak@gmail.com> wrote:
> As you suggested I removed the 'cam->bulk....' part in the sd_config
> function. Also, can you please explain how you arrived at the
> sd_pkt_scan function? I'm not able to understand the bit
> manipulations that you have performed in the sd_pkt_scan function.
> Also, you did mention that the sd_pkt_scan function needs to be
> modified. Can you please elaborate on the changes that need to be
> done to the sd_pkt_scan function?
>
> As I'd mentioned earlier, I'm using the 'ov534.c' code with the ov538
> bridge processor. Will there be any change in the sd_pkt_scan
> function with respect to ov538?
[snip]
> functions and then enters the mainloop() function. In the mainloop()
> function, the select() function call times out after 2 seconds and
> I'm not able to capture any video frames.
>
> Any suggestions??
Hi Sudhindra,
The ov534 sends images in UVC format, i.e. each packet contains a
12 bytes header and a part of the image. In the header, the 1st byte
contains various indicators, of which the bit 1 (0x02) marks the end
of the image.
To code your sd_pkt_scan(), you have to search in the ms-windows traces
how the images are fragmented, how you may find the start and end of
image and whether some data have to be discarded in the packets.
The last problem to solve is to find how are encoded the images. You
may know it looking also in the ms-winsows traces or, when the driver
will work, in the received images. If you want, I may send you a small
program which displays raw images (done by 'svv -rg') forcing the
encoding.
Good luck!
--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
next prev parent reply other threads:[~2010-08-17 18:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AANLkTim5YmSsvhub3+t0_QX0k84xZgPy1FS5=9COfEzH@mail.gmail.com>
2010-08-05 11:19 ` Not able to capture video frames Jean-Francois Moine
[not found] ` <AANLkTinEbSe=d7TESEzzd8MZ5tPExrN4U9LvHrgm7FYf@mail.gmail.com>
2010-08-17 18:01 ` Jean-Francois Moine [this message]
2010-07-30 11:30 Sudhindra Nayak
2010-07-31 11:32 ` Jean-Francois Moine
2010-08-04 11:27 ` Sudhindra Nayak
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=20100817200123.656b1461@tele \
--to=moinejf@free.fr \
--cc=linux-media@vger.kernel.org \
--cc=sudhindra.nayak@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).