Michael Veigel wrote:
Hi,
if u really want 25 fps - u have to use v4l2 - the normal kernel stuff ( v4l1
) only gives u 12 fps ( my expirience ;) ).
Uh? I have absolutely no problem grabbing 25fps using V4L-1 on a
Pinnacle PCTV (878-based). *PROVIDED* one uses the trick of interleaving
VIDIOCMCAPTURE and VIDIOCSYNC as desribed in the Programming-FAQ which
comes with xawtv.
I don't know the driver for this card ( i only used bt8xx cards till now ), u
have to check if it works with 25 fps ! A good base to start reading is
www.bytesex.org ( but i don't know, if u'r driver works with the v4l2 api ).
Btw. why do u want bmp images? Maybe it's better to store them as jpg,png/pnm
or tga - there are good libraries to do that :). If u want ascii - try xpm
;). This is alot of data, what uwant to store, so be prepared to have a good
disk/strong processor :).
Plus good test harnesses and a lot of ingenuity. One cant simply do
open/write/close and leave the buffers in the kernel cache; if you do
that, when the update daemon comes, it will push such a burst of data on
the PCI bus, you will usually miss at least one frame. The problem is
exacerbated when one uses low-compression formats such as xpm or bmp.
Michael
--
Michel Bardiaux
Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles
Tel : +32 2 790.29.41