From: raveloja <rav...@sy...> - 2001-03-08 16:57:05
|
Hi Wolfgang, I made your said : Uncomment 'v4l_bufsize=1280' in the update script. And I changed in lilo.conf : append="mem=29M" Notice: my computer is a P166 with 32Mo RAM, Matrox MGA Millenium (4Mo) as graphic card. I had this message after starting my X server : [root@net237 xawtv-3.37]# xawtv this is xawtv-3.21, running on linux/i586 (2.2.18) visual : id=0x22 class=4 (TrueColor), depth=24 visual : id=0x23 class=5 (DirectColor), depth=24 X11 : 1024x768, 32 bit/pixel, 4096 byte/scanline, DGA waitpid : no process child waitpid : no process child v4l : 1024x768, 32 bit/pixel, 4096 byte/scanline wmhooks : gnome In the screen, it appears a succession of 4 images on the same line. These images are spread out horizontally, and are shifted compared to the framework of the window. Moreover, the image is in Black & White, bad quality (horizontal frame). My graphics card support which the resolution below 24 bit. Maybe that the 1024x768, 32 bit/pixel required by xawtv is the problem? What do you think about it? How can one modify that? Thanks. ---------------Ravelojaona-------------- Wolfgang Scherr wrote: > Hi, > > you need a bigger buffer than the default when trying this (a picture > has 320x240x3 byte at least!). 'steamer' reads uncompressed data from > the buz (as it is mainly considered for using with bt8x8 cards which > have no compression). > > Uncomment 'v4l_bufsize=1280' in the update script. > > You may also need the mem-option with 3MB less memory when loading the > kernel. If you have a 128MB system, use e.g. 'boot=125M' at the lilo > prompt when still getting errors after above change. (You can add it in > lilo conf as append option). > > Bye, > > Wolfgang > > raveloja wrote: > > > > Hello everybody, > > > > I have a problem with xawtv tool. > > I used zoran-0.7 with Miro DC10plus in kernel 2.2.18. A Digital Color > > Camera (composite/PAL) is connected to the input line of the DC10plus. I > > would like take 5 images (format JPEG) with this camera, for this, I > > type : > > > > [root:/usr/src/modules/xawtv]#streamer -s 320x240 -t 5 -o > > picture000.jpeg > > > > I received the following message: > > > > adv7176: illegal norm: 3 > > ioctl VIDIOCMCAPTURE (0,rgb24,320x240) : invalid parameter > > ioctl VIDIOCMCAPTURE (1,rgb24,320x240) : invalid parameter > > ioctl VIDIOCMCAPTURE (0,rgb24,320x240) : invalid parameter > > DC10plus [0] : v4l_sync : Attempt to sync on a buffer which > > was not queued ? > > ioctl VIDIOCSYNC : Error of protocol > > ioctl VIDIOCMCAPTURE (1,rgb24,320x240) : invalid parameter > > DC10plus [0] : v4l_sync : Attempt to sync on a buffer which > > was not queued ? > > ioctl VIDIOCSYNC : Error of protocol > > > > In /usr/src/modules/xawtv/ directory, 5 images (.jpeg) are created but > > there is nothing inside. > > > > However, I have made "./update dc10plus", and checked if the video card > > is detected : > > > > [root:/usr/src/modules/zoran-driver-0.7]#./update dc10plus > > Using /lib/modules/2.2.18/kernel......../videodev.o > > Using /lib/modules/2.2.18/kernel......../i2c.o > > [root:/usr/src/modules/zoran-driver-0.7]#lsmod > > Module Size Used by > > zoran 79488 0 (unused) > > adv7175 2432 1 > > saa7110 2624 1 > > i2c 3552 4 [zoran adv7175 saa7110] > > videodev 2688 1 [zoran] > > vfat 9680 0 (autoclean) > > fat 31424 0 (autoclean) [vfat] > > > > Here's the output of lspci -v on my machine: > > > > 00:0e.0 Multimedia video controller: Zoran Corporation ZR36057PQC Video > > cutting chipset (rev 02) > > Subsystem: Miro Computer Products AG DC10 Plus > > Flags: bus master, fast devsel, latency 32, IRQ 10 > > Memory at ffbea000 (32-bit, non-prefetchable) > > > > What can be the problem ? And, How to take an image (JPEG) with xawtv ? > > > > _______________________________________________ > > Mjpeg-users mailing list > > Mjp...@li... > > http://lists.sourceforge.net/lists/listinfo/mjpeg-users > > _______________________________________________ > Mjpeg-users mailing list > Mjp...@li... > http://lists.sourceforge.net/lists/listinfo/mjpeg-users |