public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: "B. Bogart" <ben@ekran.org>
To: Jean-Francois Moine <moinejf@free.fr>
Cc: video4linux-list@redhat.com, IOhannes m zmoelnig <zmoelnig@iem.at>
Subject: Re: V4l2 :: Debugging an issue with cx8800 card.
Date: Fri, 05 Sep 2008 08:29:45 -0700	[thread overview]
Message-ID: <48C15069.4030404@ekran.org> (raw)
In-Reply-To: <1220594487.1750.6.camel@localhost>

Hello Jean-Francois,

I don't believe this is a size issue with svv (but it does appear to be
one with Gem) but the image really looks like NTSC interpreted as PAL to
me, in particular the VBI noise at the bottom.

I ran your test to confirm and:

bbogart@insitu:~/tmp/svv$ ./svv -rg -f 320x240
raw pixfmt: UYVY 320x240
pixfmt: UYVY 320x240
mmap method
raw image dumped to 'image.dat'

bbogart@insitu:~/tmp/svv$ ls -l image.dat
-rw-r--r-- 1 bbogart bbogart 153600 2008-09-05 08:23 image.dat
bbogart@insitu:~/tmp/svv$ ./svv -rg -f 640x480
raw pixfmt: UYVY 640x480
pixfmt: UYVY 640x480
mmap method

raw image dumped to 'image.dat'
bbogart@insitu:~/tmp/svv$ ls -l image.dat
-rw-r--r-- 1 bbogart bbogart 614400 2008-09-05 08:24 image.dat

>From your message I assume a larger file means that indeed the image
format is 640x480. Also mplayer shows video from this device as 640x480.

Johannes,

I'd feel better about svv "working" once I get the normal thing going,
but what Gem files should I compare with svv for stuff like choosing the
pixel format and allocating the size? I took a crack yesterday but I
felt like I was following a string through a haystack through the
various levels of abstraction from pix_video to v4l... FYI the behaviour
is the same for Gem compiled with v4l2 and v4l.

Thanks all,
.b.

Jean-Francois Moine wrote:
> On Thu, 2008-09-04 at 16:16 -0700, B. Bogart wrote:
>> I've not yet tried running your program, but did have some luck with:
>> http://moinejf.free.fr/svv.c
> 
> Hello B.,
> 
> It seems the driver cannot switch to 640x480. You may know it grabbing
> images with svv. Try
> 	svv -rg -f 640x480
> then
> 	svv -rg -f 320x240
> and check each time the size of image.dat.
> 
> Best regards.
> 

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

  reply	other threads:[~2008-09-05 15:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-04 22:14 V4l2 :: Debugging an issue with cx8800 card B. Bogart
2008-09-04 22:51 ` Andy Walls
2008-09-04 23:16   ` B. Bogart
2008-09-05  6:01     ` Jean-Francois Moine
2008-09-05 15:29       ` B. Bogart [this message]
2008-09-12 19:19   ` B. Bogart
2008-09-12 19:22   ` B. Bogart
2008-09-12  0:44 ` Broken gem support for UYVY V4L capture? WAS " B. Bogart
2008-09-12  0:46 ` Sorry! B. Bogart

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=48C15069.4030404@ekran.org \
    --to=ben@ekran.org \
    --cc=moinejf@free.fr \
    --cc=video4linux-list@redhat.com \
    --cc=zmoelnig@iem.at \
    /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