public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* cannot get pac7311 data viewed by anything....
@ 2008-12-23  5:51 Kelvin Smith
  2008-12-23  8:08 ` Jean-Francois Moine
  0 siblings, 1 reply; 2+ messages in thread
From: Kelvin Smith @ 2008-12-23  5:51 UTC (permalink / raw)
  To: video4linux-list

Not sure where to post this, so if this is the wrong list, can someone
point me in the corect direction.

Have a Philips SPC610NC webcam.  I have installed the snapshots from the
linuxtv.org website, and plugging in my camera.  Below is the output
from v4l-info.  I used to be able to go xawtv -d /dev/video0 and see a
picture, now it is corrupt/missing.  I gather because the picture format
is in PJPG is the reason why I cannot see any picture (just black
screen, or black with random dots down 1/3 of the image).  

How do I get this to work with applications like XAWTV and zoneminder. 



### v4l2 device info [/dev/video0] ###
general info
    VIDIOC_QUERYCAP
        driver                  : "pac7311"
        card                    : "VGA Single Chip"
        bus_info                : "0000:00:02.0"
        version                 : 2.4.0
        capabilities            : 0x5000001
[VIDEO_CAPTURE,READWRITE,STREAMING]

standards

inputs
    VIDIOC_ENUMINPUT(0)
        index                   : 0
        name                    : "pac7311"
        type                    : CAMERA
        audioset                : 0
        tuner                   : 0
        std                     : 0x0 []
        status                  : 0x0 []

video capture
    VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
        index                   : 0
        type                    : VIDEO_CAPTURE
        flags                   : 0
        description             : "PJPG"
        pixelformat             : 0x47504a50 [PJPG]
    VIDIOC_G_FMT(VIDEO_CAPTURE)
        type                    : VIDEO_CAPTURE
        fmt.pix.width           : 320
        fmt.pix.height          : 240
        fmt.pix.pixelformat     : 0x47504a50 [PJPG]
        fmt.pix.field           : NONE
        fmt.pix.bytesperline    : 320
        fmt.pix.sizeimage       : 29390
        fmt.pix.colorspace      : JPEG
        fmt.pix.priv            : 1

controls
    VIDIOC_QUERYCTRL(BASE+1)
        id                      : 9963777
        type                    : INTEGER
        name                    : "Contrast"
        minimum                 : 0
        maximum                 : 255
        step                    : 1
        default_value           : 127
        flags                   : 0

### video4linux device info [/dev/video0] ###
general info
    VIDIOCGCAP
        name                    : "VGA Single Chip"
        type                    : 0x1 [CAPTURE]
        channels                : 1
        audios                  : 0
        maxwidth                : 640
        maxheight               : 480
        minwidth                : 48
        minheight               : 32

channels
    VIDIOCGCHAN(0)
        channel                 : 0
        name                    : "pac7311"
        tuners                  : 0
        flags                   : 0x0 []
        type                    : CAMERA
        norm                    : 0

tuner
ioctl VIDIOCGTUNER: Invalid argument

audio
    VIDIOCGAUDIO
        audio                   : 0
        volume                  : 0
        bass                    : 0
        treble                  : 0

picture
    VIDIOCGPICT
        brightness              : 0
        hue                     : 0
        colour                  : 0
        contrast                : 65535
        whiteness               : 0
        depth                   : 8
        palette                 : unknown

buffer
ioctl VIDIOCGFBUF: Invalid argument

window
    VIDIOCGWIN
        x                       : 0
        y                       : 0
        width                   : 320
        height                  : 240
        chromakey               : 0
        flags                   : 0


-- 
Kelvin Smith <kelvins@kelhome.dyndns.org>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cannot get pac7311 data viewed by anything....
  2008-12-23  5:51 cannot get pac7311 data viewed by anything Kelvin Smith
@ 2008-12-23  8:08 ` Jean-Francois Moine
  0 siblings, 0 replies; 2+ messages in thread
From: Jean-Francois Moine @ 2008-12-23  8:08 UTC (permalink / raw)
  To: Kelvin Smith; +Cc: video4linux-list

On Tue, 2008-12-23 at 18:51 +1300, Kelvin Smith wrote:
	[snip]
> Have a Philips SPC610NC webcam.  I have installed the snapshots from the
> linuxtv.org website, and plugging in my camera.  Below is the output
> from v4l-info.  I used to be able to go xawtv -d /dev/video0 and see a
> picture, now it is corrupt/missing.  I gather because the picture format
> is in PJPG is the reason why I cannot see any picture (just black
> screen, or black with random dots down 1/3 of the image).  
> 
> How do I get this to work with applications like XAWTV and zoneminder.
	[snip]

You must use the v4l library (look at my page).

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


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-23  8:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-23  5:51 cannot get pac7311 data viewed by anything Kelvin Smith
2008-12-23  8:08 ` Jean-Francois Moine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox