i am trying to capyure image from web cam and for this i am trying to
set palette. my code is this.

struct video_picture pic;

pic.depth = 24; /* use 24 for color or 8 for b&w */ 

pic.palette = VIDEO_PALETTE_YUV420;

pic.brightness = pic.hue = pic.colour = pic.contrast = pic.whiteness =
32767;
ioctl(filediscriptor,VIDIOCSPICT,&pict);


it gives me error of

...invlid arguments
and

...format not supported

please help me in this regard.
thanks

Reply via email to