Hi,

Thanks
The video is a very good idea.
Unfortunately i obtain this error message :

--------------
controls

    VIDIOC_QUERYCTRL (9963776)
        break 
--------------

With gspca on 2.6.27 kernel
and without gspca on 2.6.24 kernel
(Ubuntu Hardy 32 bits)

An idea ? 

With vlc 9.0 my webcam works fine (with and without gspca), there is
v4l2control panel where i can set exposure, gain, red balance and blue
balance

Regards


Laurent



Le vendredi 10 octobre 2008 à 12:31 +0200, Lukáš Karas a écrit : 
> ______________________________________________________________
> > Od: [EMAIL PROTECTED]
> > Komu: Erik Andrén <[EMAIL PROTECTED]>
> > CC: m560x-driver-devel <[email protected]>
> > Datum: 10.10.2008 12:01
> > Předmět: Re: [M560x-driver-devel] hflip, vflip added to the po1030
> >
> >Hi,
> >
> >How to test it ?
> >Before, to modify exposure or gain i used livecam.
> >But it doesn't works anymore with gspca driver.
> >
> >I try to find some controls in application like skype, ekiga but
> >nothing.
> >
> >Thanks
> >
> >Laurent BARRAILLE
> >
> 
> Hi
> You can use mplayer with my edit of libv4l ;-)
> http://www.karry.wz.cz/download/libv4l-0.5.0_control.tar.gz
> (Fix for gscpa branche is included...)
> 
> This edit allow control video from second application, via shared memory.
> Sample control application:
> http://www.karry.wz.cz/download/v4lctrl-0.2.tar.gz
> 
> You can see how work this control on screencast:
> http://www.karry.wz.cz/download/libv4l_control_screencast.avi
> 
> And at end, commands for compile libv4l and play camera in mplayer:
> 
> make
> make install PREFIX=~/
> 
> export LD_PRELOAD=~/lib/libv4l/v4l1compat.so
> export LD_LIBRARY_PATH=~/lib/libv4l/:~/lib/:
> 
> mplayer tv:// -tv driver=v4l2:device=/dev/video0:brightness=50:gain=80 -fps 
> 30 
> 
> Regards, Lukas
> 
> >
> >Le jeudi 09 octobre 2008 à 19:51 +0200, Erik Andrén a écrit :
> >> Hi,
> >> 
> >> I've added hflip and vflip to the po1030 in the gspca.
> >> Please test and verify that it works properly.
> >> 
> >> Thanks,
> >> Erik
> >> 

try direct access to /dev/video0
device /dev/video0 open for read
### video4linux device info [/dev/video0] ###
general info
    VIDIOCGCAP
        name                    : "USB2.0 Camera"
        type                    : 0x1 [CAPTURE]
        channels                : 1
        audios                  : 0
        maxwidth                : 640
        maxheight               : 480
        minwidth                : 48
        minheight               : 32

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

tuner

audio

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

buffer

window
    VIDIOCGWIN
        x                       : 0
        y                       : 0
        width                   : 640
        height                  : 480
        chromakey               : 0
        flags                   : 0


### v4l2 device info [/dev/video0] ###
general info
    VIDIOC_QUERYCAP
        driver                  : "ALi m5602"
        card                    : "USB2.0 Camera"
        bus_info                : "0000:00:1d.7"
        version                 : 2.3.0
        capabilities            : 0x5000001 [VIDEO_CAPTURE,READWRITE,STREAMING]

standards

inputs
    VIDIOC_ENUMINPUT(0)
        index                   : 0
        name                    : "ALi m5602"
        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             : "BA81"
        pixelformat             : 0x31384142 [BA81]
    VIDIOC_G_FMT(VIDEO_CAPTURE)
        type                    : VIDEO_CAPTURE
        fmt.pix.width           : 640
        fmt.pix.height          : 480
        fmt.pix.pixelformat     : 0x31384142 [BA81]
        fmt.pix.field           : NONE
        fmt.pix.bytesperline    : 640
        fmt.pix.sizeimage       : 307200
        fmt.pix.colorspace      : SRGB
        fmt.pix.priv            : 1

controls

    VIDIOC_QUERYCTRL (9963776)
        break
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
M560x-driver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel

Reply via email to